Switched kc_sdk to fetch
This commit is contained in:
97
backend/keycloak/kc-client/models/KeyStoreConfig.ts
Normal file
97
backend/keycloak/kc-client/models/KeyStoreConfig.ts
Normal file
@@ -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 KeyStoreConfig
|
||||
*/
|
||||
export interface KeyStoreConfig {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KeyStoreConfig
|
||||
*/
|
||||
format?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KeyStoreConfig
|
||||
*/
|
||||
keyAlias?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KeyStoreConfig
|
||||
*/
|
||||
keyPassword?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KeyStoreConfig
|
||||
*/
|
||||
realmAlias?: string;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof KeyStoreConfig
|
||||
*/
|
||||
realmCertificate?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KeyStoreConfig
|
||||
*/
|
||||
storePassword?: string;
|
||||
}
|
||||
|
||||
export function KeyStoreConfigFromJSON(json: any): KeyStoreConfig {
|
||||
return KeyStoreConfigFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function KeyStoreConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyStoreConfig {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'format': !exists(json, 'format') ? undefined : json['format'],
|
||||
'keyAlias': !exists(json, 'keyAlias') ? undefined : json['keyAlias'],
|
||||
'keyPassword': !exists(json, 'keyPassword') ? undefined : json['keyPassword'],
|
||||
'realmAlias': !exists(json, 'realmAlias') ? undefined : json['realmAlias'],
|
||||
'realmCertificate': !exists(json, 'realmCertificate') ? undefined : json['realmCertificate'],
|
||||
'storePassword': !exists(json, 'storePassword') ? undefined : json['storePassword'],
|
||||
};
|
||||
}
|
||||
|
||||
export function KeyStoreConfigToJSON(value?: KeyStoreConfig | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'format': value.format,
|
||||
'keyAlias': value.keyAlias,
|
||||
'keyPassword': value.keyPassword,
|
||||
'realmAlias': value.realmAlias,
|
||||
'realmCertificate': value.realmCertificate,
|
||||
'storePassword': value.storePassword,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user