"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.instanceOfPkiWriteIssuerResponse = instanceOfPkiWriteIssuerResponse; exports.PkiWriteIssuerResponseFromJSON = PkiWriteIssuerResponseFromJSON; exports.PkiWriteIssuerResponseFromJSONTyped = PkiWriteIssuerResponseFromJSONTyped; exports.PkiWriteIssuerResponseToJSON = PkiWriteIssuerResponseToJSON; exports.PkiWriteIssuerResponseToJSONTyped = PkiWriteIssuerResponseToJSONTyped; /** * Check if a given object implements the PkiWriteIssuerResponse interface. */ function instanceOfPkiWriteIssuerResponse(value) { return true; } function PkiWriteIssuerResponseFromJSON(json) { return PkiWriteIssuerResponseFromJSONTyped(json, false); } function PkiWriteIssuerResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { caChain: json['ca_chain'] == null ? undefined : json['ca_chain'], certificate: json['certificate'] == null ? undefined : json['certificate'], crlDistributionPoints: json['crl_distribution_points'] == null ? undefined : json['crl_distribution_points'], disableCriticalExtensionChecks: json['disable_critical_extension_checks'] == null ? undefined : json['disable_critical_extension_checks'], disableNameChecks: json['disable_name_checks'] == null ? undefined : json['disable_name_checks'], disableNameConstraintChecks: json['disable_name_constraint_checks'] == null ? undefined : json['disable_name_constraint_checks'], disablePathLengthChecks: json['disable_path_length_checks'] == null ? undefined : json['disable_path_length_checks'], enableAiaUrlTemplating: json['enable_aia_url_templating'] == null ? undefined : json['enable_aia_url_templating'], issuerId: json['issuer_id'] == null ? undefined : json['issuer_id'], issuerName: json['issuer_name'] == null ? undefined : json['issuer_name'], issuingCertificates: json['issuing_certificates'] == null ? undefined : json['issuing_certificates'], keyId: json['key_id'] == null ? undefined : json['key_id'], leafNotAfterBehavior: json['leaf_not_after_behavior'] == null ? undefined : json['leaf_not_after_behavior'], manualChain: json['manual_chain'] == null ? undefined : json['manual_chain'], ocspServers: json['ocsp_servers'] == null ? undefined : json['ocsp_servers'], revocationSignatureAlgorithm: json['revocation_signature_algorithm'] == null ? undefined : json['revocation_signature_algorithm'], revocationTime: json['revocation_time'] == null ? undefined : json['revocation_time'], revocationTimeRfc3339: json['revocation_time_rfc3339'] == null ? undefined : json['revocation_time_rfc3339'], revoked: json['revoked'] == null ? undefined : json['revoked'], usage: json['usage'] == null ? undefined : json['usage'], }; } function PkiWriteIssuerResponseToJSON(json) { return PkiWriteIssuerResponseToJSONTyped(json, false); } function PkiWriteIssuerResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { ca_chain: value['caChain'], certificate: value['certificate'], crl_distribution_points: value['crlDistributionPoints'], disable_critical_extension_checks: value['disableCriticalExtensionChecks'], disable_name_checks: value['disableNameChecks'], disable_name_constraint_checks: value['disableNameConstraintChecks'], disable_path_length_checks: value['disablePathLengthChecks'], enable_aia_url_templating: value['enableAiaUrlTemplating'], issuer_id: value['issuerId'], issuer_name: value['issuerName'], issuing_certificates: value['issuingCertificates'], key_id: value['keyId'], leaf_not_after_behavior: value['leafNotAfterBehavior'], manual_chain: value['manualChain'], ocsp_servers: value['ocspServers'], revocation_signature_algorithm: value['revocationSignatureAlgorithm'], revocation_time: value['revocationTime'], revocation_time_rfc3339: value['revocationTimeRfc3339'], revoked: value['revoked'], usage: value['usage'], }; }