vault/ui/api-client/dist/models/LdapLibraryForceCheckInRequest.js

49 lines
1.8 KiB
JavaScript

"use strict";
/* 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfLdapLibraryForceCheckInRequest = instanceOfLdapLibraryForceCheckInRequest;
exports.LdapLibraryForceCheckInRequestFromJSON = LdapLibraryForceCheckInRequestFromJSON;
exports.LdapLibraryForceCheckInRequestFromJSONTyped = LdapLibraryForceCheckInRequestFromJSONTyped;
exports.LdapLibraryForceCheckInRequestToJSON = LdapLibraryForceCheckInRequestToJSON;
exports.LdapLibraryForceCheckInRequestToJSONTyped = LdapLibraryForceCheckInRequestToJSONTyped;
/**
* Check if a given object implements the LdapLibraryForceCheckInRequest interface.
*/
function instanceOfLdapLibraryForceCheckInRequest(value) {
return true;
}
function LdapLibraryForceCheckInRequestFromJSON(json) {
return LdapLibraryForceCheckInRequestFromJSONTyped(json, false);
}
function LdapLibraryForceCheckInRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'serviceAccountNames': json['service_account_names'] == null ? undefined : json['service_account_names'],
};
}
function LdapLibraryForceCheckInRequestToJSON(json) {
return LdapLibraryForceCheckInRequestToJSONTyped(json, false);
}
function LdapLibraryForceCheckInRequestToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'service_account_names': value['serviceAccountNames'],
};
}