mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 22:57:02 +02:00
151 lines
7.9 KiB
JavaScript
151 lines
7.9 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.
|
|
*/
|
|
/**
|
|
* @export
|
|
* @enum {string}
|
|
*/
|
|
export var LdapConfigureRequestDereferenceAliasesEnum;
|
|
(function (LdapConfigureRequestDereferenceAliasesEnum) {
|
|
LdapConfigureRequestDereferenceAliasesEnum["NEVER"] = "never";
|
|
LdapConfigureRequestDereferenceAliasesEnum["FINDING"] = "finding";
|
|
LdapConfigureRequestDereferenceAliasesEnum["SEARCHING"] = "searching";
|
|
LdapConfigureRequestDereferenceAliasesEnum["ALWAYS"] = "always";
|
|
})(LdapConfigureRequestDereferenceAliasesEnum || (LdapConfigureRequestDereferenceAliasesEnum = {}));
|
|
/**
|
|
* @export
|
|
* @enum {string}
|
|
*/
|
|
export var LdapConfigureRequestTlsMaxVersionEnum;
|
|
(function (LdapConfigureRequestTlsMaxVersionEnum) {
|
|
LdapConfigureRequestTlsMaxVersionEnum["TLS10"] = "tls10";
|
|
LdapConfigureRequestTlsMaxVersionEnum["TLS11"] = "tls11";
|
|
LdapConfigureRequestTlsMaxVersionEnum["TLS12"] = "tls12";
|
|
LdapConfigureRequestTlsMaxVersionEnum["TLS13"] = "tls13";
|
|
})(LdapConfigureRequestTlsMaxVersionEnum || (LdapConfigureRequestTlsMaxVersionEnum = {}));
|
|
/**
|
|
* @export
|
|
* @enum {string}
|
|
*/
|
|
export var LdapConfigureRequestTlsMinVersionEnum;
|
|
(function (LdapConfigureRequestTlsMinVersionEnum) {
|
|
LdapConfigureRequestTlsMinVersionEnum["TLS10"] = "tls10";
|
|
LdapConfigureRequestTlsMinVersionEnum["TLS11"] = "tls11";
|
|
LdapConfigureRequestTlsMinVersionEnum["TLS12"] = "tls12";
|
|
LdapConfigureRequestTlsMinVersionEnum["TLS13"] = "tls13";
|
|
})(LdapConfigureRequestTlsMinVersionEnum || (LdapConfigureRequestTlsMinVersionEnum = {}));
|
|
/**
|
|
* Check if a given object implements the LdapConfigureRequest interface.
|
|
*/
|
|
export function instanceOfLdapConfigureRequest(value) {
|
|
return true;
|
|
}
|
|
export function LdapConfigureRequestFromJSON(json) {
|
|
return LdapConfigureRequestFromJSONTyped(json, false);
|
|
}
|
|
export function LdapConfigureRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'anonymousGroupSearch': json['anonymous_group_search'] == null ? undefined : json['anonymous_group_search'],
|
|
'binddn': json['binddn'] == null ? undefined : json['binddn'],
|
|
'bindpass': json['bindpass'] == null ? undefined : json['bindpass'],
|
|
'caseSensitiveNames': json['case_sensitive_names'] == null ? undefined : json['case_sensitive_names'],
|
|
'certificate': json['certificate'] == null ? undefined : json['certificate'],
|
|
'clientTlsCert': json['client_tls_cert'] == null ? undefined : json['client_tls_cert'],
|
|
'clientTlsKey': json['client_tls_key'] == null ? undefined : json['client_tls_key'],
|
|
'connectionTimeout': json['connection_timeout'] == null ? undefined : json['connection_timeout'],
|
|
'denyNullBind': json['deny_null_bind'] == null ? undefined : json['deny_null_bind'],
|
|
'dereferenceAliases': json['dereference_aliases'] == null ? undefined : json['dereference_aliases'],
|
|
'disableAutomatedRotation': json['disable_automated_rotation'] == null ? undefined : json['disable_automated_rotation'],
|
|
'discoverdn': json['discoverdn'] == null ? undefined : json['discoverdn'],
|
|
'enableSamaccountnameLogin': json['enable_samaccountname_login'] == null ? undefined : json['enable_samaccountname_login'],
|
|
'groupattr': json['groupattr'] == null ? undefined : json['groupattr'],
|
|
'groupdn': json['groupdn'] == null ? undefined : json['groupdn'],
|
|
'groupfilter': json['groupfilter'] == null ? undefined : json['groupfilter'],
|
|
'insecureTls': json['insecure_tls'] == null ? undefined : json['insecure_tls'],
|
|
'length': json['length'] == null ? undefined : json['length'],
|
|
'maxPageSize': json['max_page_size'] == null ? undefined : json['max_page_size'],
|
|
'maxTtl': json['max_ttl'] == null ? undefined : json['max_ttl'],
|
|
'passwordPolicy': json['password_policy'] == null ? undefined : json['password_policy'],
|
|
'requestTimeout': json['request_timeout'] == null ? undefined : json['request_timeout'],
|
|
'rotationPeriod': json['rotation_period'] == null ? undefined : json['rotation_period'],
|
|
'rotationSchedule': json['rotation_schedule'] == null ? undefined : json['rotation_schedule'],
|
|
'rotationWindow': json['rotation_window'] == null ? undefined : json['rotation_window'],
|
|
'schema': json['schema'] == null ? undefined : json['schema'],
|
|
'skipStaticRoleImportRotation': json['skip_static_role_import_rotation'] == null ? undefined : json['skip_static_role_import_rotation'],
|
|
'starttls': json['starttls'] == null ? undefined : json['starttls'],
|
|
'tlsMaxVersion': json['tls_max_version'] == null ? undefined : json['tls_max_version'],
|
|
'tlsMinVersion': json['tls_min_version'] == null ? undefined : json['tls_min_version'],
|
|
'ttl': json['ttl'] == null ? undefined : json['ttl'],
|
|
'upndomain': json['upndomain'] == null ? undefined : json['upndomain'],
|
|
'url': json['url'] == null ? undefined : json['url'],
|
|
'usePre111GroupCnBehavior': json['use_pre111_group_cn_behavior'] == null ? undefined : json['use_pre111_group_cn_behavior'],
|
|
'useTokenGroups': json['use_token_groups'] == null ? undefined : json['use_token_groups'],
|
|
'userattr': json['userattr'] == null ? undefined : json['userattr'],
|
|
'userdn': json['userdn'] == null ? undefined : json['userdn'],
|
|
'userfilter': json['userfilter'] == null ? undefined : json['userfilter'],
|
|
'usernameAsAlias': json['username_as_alias'] == null ? undefined : json['username_as_alias'],
|
|
};
|
|
}
|
|
export function LdapConfigureRequestToJSON(json) {
|
|
return LdapConfigureRequestToJSONTyped(json, false);
|
|
}
|
|
export function LdapConfigureRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'anonymous_group_search': value['anonymousGroupSearch'],
|
|
'binddn': value['binddn'],
|
|
'bindpass': value['bindpass'],
|
|
'case_sensitive_names': value['caseSensitiveNames'],
|
|
'certificate': value['certificate'],
|
|
'client_tls_cert': value['clientTlsCert'],
|
|
'client_tls_key': value['clientTlsKey'],
|
|
'connection_timeout': value['connectionTimeout'],
|
|
'deny_null_bind': value['denyNullBind'],
|
|
'dereference_aliases': value['dereferenceAliases'],
|
|
'disable_automated_rotation': value['disableAutomatedRotation'],
|
|
'discoverdn': value['discoverdn'],
|
|
'enable_samaccountname_login': value['enableSamaccountnameLogin'],
|
|
'groupattr': value['groupattr'],
|
|
'groupdn': value['groupdn'],
|
|
'groupfilter': value['groupfilter'],
|
|
'insecure_tls': value['insecureTls'],
|
|
'length': value['length'],
|
|
'max_page_size': value['maxPageSize'],
|
|
'max_ttl': value['maxTtl'],
|
|
'password_policy': value['passwordPolicy'],
|
|
'request_timeout': value['requestTimeout'],
|
|
'rotation_period': value['rotationPeriod'],
|
|
'rotation_schedule': value['rotationSchedule'],
|
|
'rotation_window': value['rotationWindow'],
|
|
'schema': value['schema'],
|
|
'skip_static_role_import_rotation': value['skipStaticRoleImportRotation'],
|
|
'starttls': value['starttls'],
|
|
'tls_max_version': value['tlsMaxVersion'],
|
|
'tls_min_version': value['tlsMinVersion'],
|
|
'ttl': value['ttl'],
|
|
'upndomain': value['upndomain'],
|
|
'url': value['url'],
|
|
'use_pre111_group_cn_behavior': value['usePre111GroupCnBehavior'],
|
|
'use_token_groups': value['useTokenGroups'],
|
|
'userattr': value['userattr'],
|
|
'userdn': value['userdn'],
|
|
'userfilter': value['userfilter'],
|
|
'username_as_alias': value['usernameAsAlias'],
|
|
};
|
|
}
|