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
95 lines
5.4 KiB
JavaScript
95 lines
5.4 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.instanceOfPkiConfigureAutoTidyResponse = instanceOfPkiConfigureAutoTidyResponse;
|
|
exports.PkiConfigureAutoTidyResponseFromJSON = PkiConfigureAutoTidyResponseFromJSON;
|
|
exports.PkiConfigureAutoTidyResponseFromJSONTyped = PkiConfigureAutoTidyResponseFromJSONTyped;
|
|
exports.PkiConfigureAutoTidyResponseToJSON = PkiConfigureAutoTidyResponseToJSON;
|
|
exports.PkiConfigureAutoTidyResponseToJSONTyped = PkiConfigureAutoTidyResponseToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the PkiConfigureAutoTidyResponse interface.
|
|
*/
|
|
function instanceOfPkiConfigureAutoTidyResponse(value) {
|
|
return true;
|
|
}
|
|
function PkiConfigureAutoTidyResponseFromJSON(json) {
|
|
return PkiConfigureAutoTidyResponseFromJSONTyped(json, false);
|
|
}
|
|
function PkiConfigureAutoTidyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
acmeAccountSafetyBuffer: json['acme_account_safety_buffer'] == null ? undefined : json['acme_account_safety_buffer'],
|
|
enabled: json['enabled'] == null ? undefined : json['enabled'],
|
|
intervalDuration: json['interval_duration'] == null ? undefined : json['interval_duration'],
|
|
issuerSafetyBuffer: json['issuer_safety_buffer'] == null ? undefined : json['issuer_safety_buffer'],
|
|
maintainStoredCertificateCounts: json['maintain_stored_certificate_counts'] == null
|
|
? undefined
|
|
: json['maintain_stored_certificate_counts'],
|
|
maxStartupBackoffDuration: json['max_startup_backoff_duration'] == null ? undefined : json['max_startup_backoff_duration'],
|
|
minStartupBackoffDuration: json['min_startup_backoff_duration'] == null ? undefined : json['min_startup_backoff_duration'],
|
|
pauseDuration: json['pause_duration'] == null ? undefined : json['pause_duration'],
|
|
publishStoredCertificateCountMetrics: json['publish_stored_certificate_count_metrics'] == null
|
|
? undefined
|
|
: json['publish_stored_certificate_count_metrics'],
|
|
revocationQueueSafetyBuffer: json['revocation_queue_safety_buffer'] == null ? undefined : json['revocation_queue_safety_buffer'],
|
|
safetyBuffer: json['safety_buffer'] == null ? undefined : json['safety_buffer'],
|
|
tidyAcme: json['tidy_acme'] == null ? undefined : json['tidy_acme'],
|
|
tidyCertMetadata: json['tidy_cert_metadata'] == null ? undefined : json['tidy_cert_metadata'],
|
|
tidyCertStore: json['tidy_cert_store'] == null ? undefined : json['tidy_cert_store'],
|
|
tidyCmpv2NonceStore: json['tidy_cmpv2_nonce_store'] == null ? undefined : json['tidy_cmpv2_nonce_store'],
|
|
tidyCrossClusterRevokedCerts: json['tidy_cross_cluster_revoked_certs'] == null ? undefined : json['tidy_cross_cluster_revoked_certs'],
|
|
tidyExpiredIssuers: json['tidy_expired_issuers'] == null ? undefined : json['tidy_expired_issuers'],
|
|
tidyMoveLegacyCaBundle: json['tidy_move_legacy_ca_bundle'] == null ? undefined : json['tidy_move_legacy_ca_bundle'],
|
|
tidyRevocationQueue: json['tidy_revocation_queue'] == null ? undefined : json['tidy_revocation_queue'],
|
|
tidyRevokedCertIssuerAssociations: json['tidy_revoked_cert_issuer_associations'] == null
|
|
? undefined
|
|
: json['tidy_revoked_cert_issuer_associations'],
|
|
tidyRevokedCerts: json['tidy_revoked_certs'] == null ? undefined : json['tidy_revoked_certs'],
|
|
};
|
|
}
|
|
function PkiConfigureAutoTidyResponseToJSON(json) {
|
|
return PkiConfigureAutoTidyResponseToJSONTyped(json, false);
|
|
}
|
|
function PkiConfigureAutoTidyResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
acme_account_safety_buffer: value['acmeAccountSafetyBuffer'],
|
|
enabled: value['enabled'],
|
|
interval_duration: value['intervalDuration'],
|
|
issuer_safety_buffer: value['issuerSafetyBuffer'],
|
|
maintain_stored_certificate_counts: value['maintainStoredCertificateCounts'],
|
|
max_startup_backoff_duration: value['maxStartupBackoffDuration'],
|
|
min_startup_backoff_duration: value['minStartupBackoffDuration'],
|
|
pause_duration: value['pauseDuration'],
|
|
publish_stored_certificate_count_metrics: value['publishStoredCertificateCountMetrics'],
|
|
revocation_queue_safety_buffer: value['revocationQueueSafetyBuffer'],
|
|
safety_buffer: value['safetyBuffer'],
|
|
tidy_acme: value['tidyAcme'],
|
|
tidy_cert_metadata: value['tidyCertMetadata'],
|
|
tidy_cert_store: value['tidyCertStore'],
|
|
tidy_cmpv2_nonce_store: value['tidyCmpv2NonceStore'],
|
|
tidy_cross_cluster_revoked_certs: value['tidyCrossClusterRevokedCerts'],
|
|
tidy_expired_issuers: value['tidyExpiredIssuers'],
|
|
tidy_move_legacy_ca_bundle: value['tidyMoveLegacyCaBundle'],
|
|
tidy_revocation_queue: value['tidyRevocationQueue'],
|
|
tidy_revoked_cert_issuer_associations: value['tidyRevokedCertIssuerAssociations'],
|
|
tidy_revoked_certs: value['tidyRevokedCerts'],
|
|
};
|
|
}
|