mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-26 00:51:08 +02:00
* removes dist from api-client gitignore * ignores api-client/dist directory for eslint and prettier * builds api client
89 lines
4.5 KiB
JavaScript
89 lines
4.5 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.instanceOfPkiReadIssuerResponse = instanceOfPkiReadIssuerResponse;
|
|
exports.PkiReadIssuerResponseFromJSON = PkiReadIssuerResponseFromJSON;
|
|
exports.PkiReadIssuerResponseFromJSONTyped = PkiReadIssuerResponseFromJSONTyped;
|
|
exports.PkiReadIssuerResponseToJSON = PkiReadIssuerResponseToJSON;
|
|
exports.PkiReadIssuerResponseToJSONTyped = PkiReadIssuerResponseToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the PkiReadIssuerResponse interface.
|
|
*/
|
|
function instanceOfPkiReadIssuerResponse(value) {
|
|
return true;
|
|
}
|
|
function PkiReadIssuerResponseFromJSON(json) {
|
|
return PkiReadIssuerResponseFromJSONTyped(json, false);
|
|
}
|
|
function PkiReadIssuerResponseFromJSONTyped(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 PkiReadIssuerResponseToJSON(json) {
|
|
return PkiReadIssuerResponseToJSONTyped(json, false);
|
|
}
|
|
function PkiReadIssuerResponseToJSONTyped(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'],
|
|
};
|
|
}
|