mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 16:41:08 +02:00
* removes dist from api-client gitignore * ignores api-client/dist directory for eslint and prettier * builds api client
91 lines
5.2 KiB
JavaScript
91 lines
5.2 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.instanceOfMountsReadTuningInformationResponse = instanceOfMountsReadTuningInformationResponse;
|
|
exports.MountsReadTuningInformationResponseFromJSON = MountsReadTuningInformationResponseFromJSON;
|
|
exports.MountsReadTuningInformationResponseFromJSONTyped = MountsReadTuningInformationResponseFromJSONTyped;
|
|
exports.MountsReadTuningInformationResponseToJSON = MountsReadTuningInformationResponseToJSON;
|
|
exports.MountsReadTuningInformationResponseToJSONTyped = MountsReadTuningInformationResponseToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the MountsReadTuningInformationResponse interface.
|
|
*/
|
|
function instanceOfMountsReadTuningInformationResponse(value) {
|
|
return true;
|
|
}
|
|
function MountsReadTuningInformationResponseFromJSON(json) {
|
|
return MountsReadTuningInformationResponseFromJSONTyped(json, false);
|
|
}
|
|
function MountsReadTuningInformationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
allowedManagedKeys: json['allowed_managed_keys'] == null ? undefined : json['allowed_managed_keys'],
|
|
allowedResponseHeaders: json['allowed_response_headers'] == null ? undefined : json['allowed_response_headers'],
|
|
auditNonHmacRequestKeys: json['audit_non_hmac_request_keys'] == null ? undefined : json['audit_non_hmac_request_keys'],
|
|
auditNonHmacResponseKeys: json['audit_non_hmac_response_keys'] == null ? undefined : json['audit_non_hmac_response_keys'],
|
|
defaultLeaseTtl: json['default_lease_ttl'] == null ? undefined : json['default_lease_ttl'],
|
|
delegatedAuthAccessors: json['delegated_auth_accessors'] == null ? undefined : json['delegated_auth_accessors'],
|
|
description: json['description'] == null ? undefined : json['description'],
|
|
externalEntropyAccess: json['external_entropy_access'] == null ? undefined : json['external_entropy_access'],
|
|
forceNoCache: json['force_no_cache'] == null ? undefined : json['force_no_cache'],
|
|
identityTokenKey: json['identity_token_key'] == null ? undefined : json['identity_token_key'],
|
|
listingVisibility: json['listing_visibility'] == null ? undefined : json['listing_visibility'],
|
|
maxLeaseTtl: json['max_lease_ttl'] == null ? undefined : json['max_lease_ttl'],
|
|
options: json['options'] == null ? undefined : json['options'],
|
|
passthroughRequestHeaders: json['passthrough_request_headers'] == null ? undefined : json['passthrough_request_headers'],
|
|
pluginVersion: json['plugin_version'] == null ? undefined : json['plugin_version'],
|
|
tokenType: json['token_type'] == null ? undefined : json['token_type'],
|
|
trimRequestTrailingSlashes: json['trim_request_trailing_slashes'] == null ? undefined : json['trim_request_trailing_slashes'],
|
|
userLockoutCounterResetDuration: json['user_lockout_counter_reset_duration'] == null
|
|
? undefined
|
|
: json['user_lockout_counter_reset_duration'],
|
|
userLockoutDisable: json['user_lockout_disable'] == null ? undefined : json['user_lockout_disable'],
|
|
userLockoutDuration: json['user_lockout_duration'] == null ? undefined : json['user_lockout_duration'],
|
|
userLockoutThreshold: json['user_lockout_threshold'] == null ? undefined : json['user_lockout_threshold'],
|
|
};
|
|
}
|
|
function MountsReadTuningInformationResponseToJSON(json) {
|
|
return MountsReadTuningInformationResponseToJSONTyped(json, false);
|
|
}
|
|
function MountsReadTuningInformationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
allowed_managed_keys: value['allowedManagedKeys'],
|
|
allowed_response_headers: value['allowedResponseHeaders'],
|
|
audit_non_hmac_request_keys: value['auditNonHmacRequestKeys'],
|
|
audit_non_hmac_response_keys: value['auditNonHmacResponseKeys'],
|
|
default_lease_ttl: value['defaultLeaseTtl'],
|
|
delegated_auth_accessors: value['delegatedAuthAccessors'],
|
|
description: value['description'],
|
|
external_entropy_access: value['externalEntropyAccess'],
|
|
force_no_cache: value['forceNoCache'],
|
|
identity_token_key: value['identityTokenKey'],
|
|
listing_visibility: value['listingVisibility'],
|
|
max_lease_ttl: value['maxLeaseTtl'],
|
|
options: value['options'],
|
|
passthrough_request_headers: value['passthroughRequestHeaders'],
|
|
plugin_version: value['pluginVersion'],
|
|
token_type: value['tokenType'],
|
|
trim_request_trailing_slashes: value['trimRequestTrailingSlashes'],
|
|
user_lockout_counter_reset_duration: value['userLockoutCounterResetDuration'],
|
|
user_lockout_disable: value['userLockoutDisable'],
|
|
user_lockout_duration: value['userLockoutDuration'],
|
|
user_lockout_threshold: value['userLockoutThreshold'],
|
|
};
|
|
}
|