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
55 lines
2.0 KiB
JavaScript
55 lines
2.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.instanceOfEntityMergeRequest = instanceOfEntityMergeRequest;
|
|
exports.EntityMergeRequestFromJSON = EntityMergeRequestFromJSON;
|
|
exports.EntityMergeRequestFromJSONTyped = EntityMergeRequestFromJSONTyped;
|
|
exports.EntityMergeRequestToJSON = EntityMergeRequestToJSON;
|
|
exports.EntityMergeRequestToJSONTyped = EntityMergeRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the EntityMergeRequest interface.
|
|
*/
|
|
function instanceOfEntityMergeRequest(value) {
|
|
return true;
|
|
}
|
|
function EntityMergeRequestFromJSON(json) {
|
|
return EntityMergeRequestFromJSONTyped(json, false);
|
|
}
|
|
function EntityMergeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
conflictingAliasIdsToKeep: json['conflicting_alias_ids_to_keep'] == null ? undefined : json['conflicting_alias_ids_to_keep'],
|
|
force: json['force'] == null ? undefined : json['force'],
|
|
fromEntityIds: json['from_entity_ids'] == null ? undefined : json['from_entity_ids'],
|
|
toEntityId: json['to_entity_id'] == null ? undefined : json['to_entity_id'],
|
|
};
|
|
}
|
|
function EntityMergeRequestToJSON(json) {
|
|
return EntityMergeRequestToJSONTyped(json, false);
|
|
}
|
|
function EntityMergeRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
conflicting_alias_ids_to_keep: value['conflictingAliasIdsToKeep'],
|
|
force: value['force'],
|
|
from_entity_ids: value['fromEntityIds'],
|
|
to_entity_id: value['toEntityId'],
|
|
};
|
|
}
|