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
65 lines
2.7 KiB
JavaScript
65 lines
2.7 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.instanceOfMountsEnableSecretsEngineRequest = instanceOfMountsEnableSecretsEngineRequest;
|
|
exports.MountsEnableSecretsEngineRequestFromJSON = MountsEnableSecretsEngineRequestFromJSON;
|
|
exports.MountsEnableSecretsEngineRequestFromJSONTyped = MountsEnableSecretsEngineRequestFromJSONTyped;
|
|
exports.MountsEnableSecretsEngineRequestToJSON = MountsEnableSecretsEngineRequestToJSON;
|
|
exports.MountsEnableSecretsEngineRequestToJSONTyped = MountsEnableSecretsEngineRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the MountsEnableSecretsEngineRequest interface.
|
|
*/
|
|
function instanceOfMountsEnableSecretsEngineRequest(value) {
|
|
return true;
|
|
}
|
|
function MountsEnableSecretsEngineRequestFromJSON(json) {
|
|
return MountsEnableSecretsEngineRequestFromJSONTyped(json, false);
|
|
}
|
|
function MountsEnableSecretsEngineRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
config: json['config'] == null ? undefined : json['config'],
|
|
description: json['description'] == null ? undefined : json['description'],
|
|
externalEntropyAccess: json['external_entropy_access'] == null ? undefined : json['external_entropy_access'],
|
|
local: json['local'] == null ? undefined : json['local'],
|
|
options: json['options'] == null ? undefined : json['options'],
|
|
pluginName: json['plugin_name'] == null ? undefined : json['plugin_name'],
|
|
pluginVersion: json['plugin_version'] == null ? undefined : json['plugin_version'],
|
|
sealWrap: json['seal_wrap'] == null ? undefined : json['seal_wrap'],
|
|
type: json['type'] == null ? undefined : json['type'],
|
|
};
|
|
}
|
|
function MountsEnableSecretsEngineRequestToJSON(json) {
|
|
return MountsEnableSecretsEngineRequestToJSONTyped(json, false);
|
|
}
|
|
function MountsEnableSecretsEngineRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
config: value['config'],
|
|
description: value['description'],
|
|
external_entropy_access: value['externalEntropyAccess'],
|
|
local: value['local'],
|
|
options: value['options'],
|
|
plugin_name: value['pluginName'],
|
|
plugin_version: value['pluginVersion'],
|
|
seal_wrap: value['sealWrap'],
|
|
type: value['type'],
|
|
};
|
|
}
|