vault/ui/api-client/dist/esm/models/KubernetesConfigureAuthRequest.js
Jordan Reimer 5905f43e1f
[UI] Check-in Built API Client (#29955)
* removes dist from api-client gitignore

* ignores api-client/dist directory for eslint and prettier

* builds api client
2025-03-19 11:50:15 -06:00

58 lines
2.4 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.20.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 KubernetesConfigureAuthRequest interface.
*/
export function instanceOfKubernetesConfigureAuthRequest(value) {
return true;
}
export function KubernetesConfigureAuthRequestFromJSON(json) {
return KubernetesConfigureAuthRequestFromJSONTyped(json, false);
}
export function KubernetesConfigureAuthRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
disableIssValidation: json['disable_iss_validation'] == null ? undefined : json['disable_iss_validation'],
disableLocalCaJwt: json['disable_local_ca_jwt'] == null ? undefined : json['disable_local_ca_jwt'],
issuer: json['issuer'] == null ? undefined : json['issuer'],
kubernetesCaCert: json['kubernetes_ca_cert'] == null ? undefined : json['kubernetes_ca_cert'],
kubernetesHost: json['kubernetes_host'] == null ? undefined : json['kubernetes_host'],
pemKeys: json['pem_keys'] == null ? undefined : json['pem_keys'],
tokenReviewerJwt: json['token_reviewer_jwt'] == null ? undefined : json['token_reviewer_jwt'],
useAnnotationsAsAliasMetadata: json['use_annotations_as_alias_metadata'] == null
? undefined
: json['use_annotations_as_alias_metadata'],
};
}
export function KubernetesConfigureAuthRequestToJSON(json) {
return KubernetesConfigureAuthRequestToJSONTyped(json, false);
}
export function KubernetesConfigureAuthRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
disable_iss_validation: value['disableIssValidation'],
disable_local_ca_jwt: value['disableLocalCaJwt'],
issuer: value['issuer'],
kubernetes_ca_cert: value['kubernetesCaCert'],
kubernetes_host: value['kubernetesHost'],
pem_keys: value['pemKeys'],
token_reviewer_jwt: value['tokenReviewerJwt'],
use_annotations_as_alias_metadata: value['useAnnotationsAsAliasMetadata'],
};
}