Switched kc_sdk to fetch
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
/* 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 ClientInitialAccessCreatePresentation
|
||||
*/
|
||||
export interface ClientInitialAccessCreatePresentation {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ClientInitialAccessCreatePresentation
|
||||
*/
|
||||
count?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ClientInitialAccessCreatePresentation
|
||||
*/
|
||||
expiration?: number;
|
||||
}
|
||||
|
||||
export function ClientInitialAccessCreatePresentationFromJSON(json: any): ClientInitialAccessCreatePresentation {
|
||||
return ClientInitialAccessCreatePresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ClientInitialAccessCreatePresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientInitialAccessCreatePresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'count': !exists(json, 'count') ? undefined : json['count'],
|
||||
'expiration': !exists(json, 'expiration') ? undefined : json['expiration'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ClientInitialAccessCreatePresentationToJSON(value?: ClientInitialAccessCreatePresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'count': value.count,
|
||||
'expiration': value.expiration,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user