Switched kc_sdk to fetch
This commit is contained in:
112
backend/keycloak/kc-client/models/ComponentRepresentation.ts
Normal file
112
backend/keycloak/kc-client/models/ComponentRepresentation.ts
Normal file
@@ -0,0 +1,112 @@
|
||||
/* 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';
|
||||
import {
|
||||
MultivaluedHashMap,
|
||||
MultivaluedHashMapFromJSON,
|
||||
MultivaluedHashMapFromJSONTyped,
|
||||
MultivaluedHashMapToJSON,
|
||||
} from './';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface ComponentRepresentation
|
||||
*/
|
||||
export interface ComponentRepresentation {
|
||||
/**
|
||||
*
|
||||
* @type {MultivaluedHashMap}
|
||||
* @memberof ComponentRepresentation
|
||||
*/
|
||||
config?: MultivaluedHashMap;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ComponentRepresentation
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ComponentRepresentation
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ComponentRepresentation
|
||||
*/
|
||||
parentId?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ComponentRepresentation
|
||||
*/
|
||||
providerId?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ComponentRepresentation
|
||||
*/
|
||||
providerType?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ComponentRepresentation
|
||||
*/
|
||||
subType?: string;
|
||||
}
|
||||
|
||||
export function ComponentRepresentationFromJSON(json: any): ComponentRepresentation {
|
||||
return ComponentRepresentationFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ComponentRepresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentRepresentation {
|
||||
if ((json === undefined) || (json === null)) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'config': !exists(json, 'config') ? undefined : MultivaluedHashMapFromJSON(json['config']),
|
||||
'id': !exists(json, 'id') ? undefined : json['id'],
|
||||
'name': !exists(json, 'name') ? undefined : json['name'],
|
||||
'parentId': !exists(json, 'parentId') ? undefined : json['parentId'],
|
||||
'providerId': !exists(json, 'providerId') ? undefined : json['providerId'],
|
||||
'providerType': !exists(json, 'providerType') ? undefined : json['providerType'],
|
||||
'subType': !exists(json, 'subType') ? undefined : json['subType'],
|
||||
};
|
||||
}
|
||||
|
||||
export function ComponentRepresentationToJSON(value?: ComponentRepresentation | null): any {
|
||||
if (value === undefined) {
|
||||
return undefined;
|
||||
}
|
||||
if (value === null) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
|
||||
'config': MultivaluedHashMapToJSON(value.config),
|
||||
'id': value.id,
|
||||
'name': value.name,
|
||||
'parentId': value.parentId,
|
||||
'providerId': value.providerId,
|
||||
'providerType': value.providerType,
|
||||
'subType': value.subType,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user