Switched kc_sdk to fetch
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Keycloak Admin REST API
|
||||
* This is a REST API reference for the Keycloak Admin
|
||||
*
|
||||
* The version of the OpenAPI document: 1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ClientInitialAccessPresentation
|
||||
*/
|
||||
export interface ClientInitialAccessPresentation {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ClientInitialAccessPresentation
|
||||
*/
|
||||
count?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ClientInitialAccessPresentation
|
||||
*/
|
||||
expiration?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ClientInitialAccessPresentation
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ClientInitialAccessPresentation
|
||||
*/
|
||||
remainingCount?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ClientInitialAccessPresentation
|
||||
*/
|
||||
timestamp?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ClientInitialAccessPresentation
|
||||
*/
|
||||
token?: string;
|
||||
}
|
||||
|
||||
export function ClientInitialAccessPresentationFromJSON(json: any): ClientInitialAccessPresentation {
|
||||
return ClientInitialAccessPresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ClientInitialAccessPresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientInitialAccessPresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'count': !exists(json, 'count') ? undefined : json['count'],
|
||||
'expiration': !exists(json, 'expiration') ? undefined : json['expiration'],
|
||||
'id': !exists(json, 'id') ? undefined : json['id'],
|
||||
'remainingCount': !exists(json, 'remainingCount') ? undefined : json['remainingCount'],
|
||||
'timestamp': !exists(json, 'timestamp') ? undefined : json['timestamp'],
|
||||
'token': !exists(json, 'token') ? undefined : json['token'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ClientInitialAccessPresentationToJSON(value?: ClientInitialAccessPresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'count': value.count,
|
||||
'expiration': value.expiration,
|
||||
'id': value.id,
|
||||
'remainingCount': value.remainingCount,
|
||||
'timestamp': value.timestamp,
|
||||
'token': value.token,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user