mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 14:47:01 +02:00
84 lines
5.1 KiB
JavaScript
84 lines
5.1 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.
|
|
*/
|
|
/**
|
|
* Check if a given object implements the PkiConfigureAutoTidyRequest interface.
|
|
*/
|
|
export function instanceOfPkiConfigureAutoTidyRequest(value) {
|
|
return true;
|
|
}
|
|
export function PkiConfigureAutoTidyRequestFromJSON(json) {
|
|
return PkiConfigureAutoTidyRequestFromJSONTyped(json, false);
|
|
}
|
|
export function PkiConfigureAutoTidyRequestFromJSONTyped(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'],
|
|
'tidyRevocationList': json['tidy_revocation_list'] == null ? undefined : json['tidy_revocation_list'],
|
|
'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'],
|
|
};
|
|
}
|
|
export function PkiConfigureAutoTidyRequestToJSON(json) {
|
|
return PkiConfigureAutoTidyRequestToJSONTyped(json, false);
|
|
}
|
|
export function PkiConfigureAutoTidyRequestToJSONTyped(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_list': value['tidyRevocationList'],
|
|
'tidy_revocation_queue': value['tidyRevocationQueue'],
|
|
'tidy_revoked_cert_issuer_associations': value['tidyRevokedCertIssuerAssociations'],
|
|
'tidy_revoked_certs': value['tidyRevokedCerts'],
|
|
};
|
|
}
|