vault/ui/api-client/dist/esm/models/OidcConfigureRequest.js

42 lines
1.2 KiB
JavaScript

/* tslint:disable */
/* eslint-disable */
/**
* HashiCorp Vault API
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
*
* The version of the OpenAPI document: 1.21.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Check if a given object implements the OidcConfigureRequest interface.
*/
export function instanceOfOidcConfigureRequest(value) {
return true;
}
export function OidcConfigureRequestFromJSON(json) {
return OidcConfigureRequestFromJSONTyped(json, false);
}
export function OidcConfigureRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'issuer': json['issuer'] == null ? undefined : json['issuer'],
};
}
export function OidcConfigureRequestToJSON(json) {
return OidcConfigureRequestToJSONTyped(json, false);
}
export function OidcConfigureRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'issuer': value['issuer'],
};
}