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
63 lines
2.8 KiB
JavaScript
63 lines
2.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.instanceOfPkiConfigureExternalPolicyRequest = instanceOfPkiConfigureExternalPolicyRequest;
|
|
exports.PkiConfigureExternalPolicyRequestFromJSON = PkiConfigureExternalPolicyRequestFromJSON;
|
|
exports.PkiConfigureExternalPolicyRequestFromJSONTyped = PkiConfigureExternalPolicyRequestFromJSONTyped;
|
|
exports.PkiConfigureExternalPolicyRequestToJSON = PkiConfigureExternalPolicyRequestToJSON;
|
|
exports.PkiConfigureExternalPolicyRequestToJSONTyped = PkiConfigureExternalPolicyRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the PkiConfigureExternalPolicyRequest interface.
|
|
*/
|
|
function instanceOfPkiConfigureExternalPolicyRequest(value) {
|
|
return true;
|
|
}
|
|
function PkiConfigureExternalPolicyRequestFromJSON(json) {
|
|
return PkiConfigureExternalPolicyRequestFromJSONTyped(json, false);
|
|
}
|
|
function PkiConfigureExternalPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
enabled: json['enabled'] == null ? undefined : json['enabled'],
|
|
entityJmespath: json['entity_jmespath'] == null ? undefined : json['entity_jmespath'],
|
|
externalServiceUrl: json['external_service_url'] == null ? undefined : json['external_service_url'],
|
|
groupJmespath: json['group_jmespath'] == null ? undefined : json['group_jmespath'],
|
|
timeout: json['timeout'] == null ? undefined : json['timeout'],
|
|
trustedCa: json['trusted_ca'] == null ? undefined : json['trusted_ca'],
|
|
trustedLeafCertificateBundle: json['trusted_leaf_certificate_bundle'] == null ? undefined : json['trusted_leaf_certificate_bundle'],
|
|
vaultClientCertBundle: json['vault_client_cert_bundle'] == null ? undefined : json['vault_client_cert_bundle'],
|
|
};
|
|
}
|
|
function PkiConfigureExternalPolicyRequestToJSON(json) {
|
|
return PkiConfigureExternalPolicyRequestToJSONTyped(json, false);
|
|
}
|
|
function PkiConfigureExternalPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
enabled: value['enabled'],
|
|
entity_jmespath: value['entityJmespath'],
|
|
external_service_url: value['externalServiceUrl'],
|
|
group_jmespath: value['groupJmespath'],
|
|
timeout: value['timeout'],
|
|
trusted_ca: value['trustedCa'],
|
|
trusted_leaf_certificate_bundle: value['trustedLeafCertificateBundle'],
|
|
vault_client_cert_bundle: value['vaultClientCertBundle'],
|
|
};
|
|
}
|