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
73 lines
3.0 KiB
JavaScript
73 lines
3.0 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.instanceOfRekeyAttemptUpdateResponse = instanceOfRekeyAttemptUpdateResponse;
|
|
exports.RekeyAttemptUpdateResponseFromJSON = RekeyAttemptUpdateResponseFromJSON;
|
|
exports.RekeyAttemptUpdateResponseFromJSONTyped = RekeyAttemptUpdateResponseFromJSONTyped;
|
|
exports.RekeyAttemptUpdateResponseToJSON = RekeyAttemptUpdateResponseToJSON;
|
|
exports.RekeyAttemptUpdateResponseToJSONTyped = RekeyAttemptUpdateResponseToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the RekeyAttemptUpdateResponse interface.
|
|
*/
|
|
function instanceOfRekeyAttemptUpdateResponse(value) {
|
|
return true;
|
|
}
|
|
function RekeyAttemptUpdateResponseFromJSON(json) {
|
|
return RekeyAttemptUpdateResponseFromJSONTyped(json, false);
|
|
}
|
|
function RekeyAttemptUpdateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
backup: json['backup'] == null ? undefined : json['backup'],
|
|
complete: json['complete'] == null ? undefined : json['complete'],
|
|
keys: json['keys'] == null ? undefined : json['keys'],
|
|
keysBase64: json['keys_base64'] == null ? undefined : json['keys_base64'],
|
|
n: json['n'] == null ? undefined : json['n'],
|
|
nonce: json['nonce'] == null ? undefined : json['nonce'],
|
|
pgpFingerprints: json['pgp_fingerprints'] == null ? undefined : json['pgp_fingerprints'],
|
|
progress: json['progress'] == null ? undefined : json['progress'],
|
|
required: json['required'] == null ? undefined : json['required'],
|
|
started: json['started'] == null ? undefined : json['started'],
|
|
t: json['t'] == null ? undefined : json['t'],
|
|
verificationNonce: json['verification_nonce'] == null ? undefined : json['verification_nonce'],
|
|
verificationRequired: json['verification_required'] == null ? undefined : json['verification_required'],
|
|
};
|
|
}
|
|
function RekeyAttemptUpdateResponseToJSON(json) {
|
|
return RekeyAttemptUpdateResponseToJSONTyped(json, false);
|
|
}
|
|
function RekeyAttemptUpdateResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
backup: value['backup'],
|
|
complete: value['complete'],
|
|
keys: value['keys'],
|
|
keys_base64: value['keysBase64'],
|
|
n: value['n'],
|
|
nonce: value['nonce'],
|
|
pgp_fingerprints: value['pgpFingerprints'],
|
|
progress: value['progress'],
|
|
required: value['required'],
|
|
started: value['started'],
|
|
t: value['t'],
|
|
verification_nonce: value['verificationNonce'],
|
|
verification_required: value['verificationRequired'],
|
|
};
|
|
}
|