mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 16:41:08 +02:00
53 lines
1.9 KiB
JavaScript
53 lines
1.9 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.instanceOfGroupUpdateAliasByIdRequest = instanceOfGroupUpdateAliasByIdRequest;
|
|
exports.GroupUpdateAliasByIdRequestFromJSON = GroupUpdateAliasByIdRequestFromJSON;
|
|
exports.GroupUpdateAliasByIdRequestFromJSONTyped = GroupUpdateAliasByIdRequestFromJSONTyped;
|
|
exports.GroupUpdateAliasByIdRequestToJSON = GroupUpdateAliasByIdRequestToJSON;
|
|
exports.GroupUpdateAliasByIdRequestToJSONTyped = GroupUpdateAliasByIdRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the GroupUpdateAliasByIdRequest interface.
|
|
*/
|
|
function instanceOfGroupUpdateAliasByIdRequest(value) {
|
|
return true;
|
|
}
|
|
function GroupUpdateAliasByIdRequestFromJSON(json) {
|
|
return GroupUpdateAliasByIdRequestFromJSONTyped(json, false);
|
|
}
|
|
function GroupUpdateAliasByIdRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'canonicalId': json['canonical_id'] == null ? undefined : json['canonical_id'],
|
|
'mountAccessor': json['mount_accessor'] == null ? undefined : json['mount_accessor'],
|
|
'name': json['name'] == null ? undefined : json['name'],
|
|
};
|
|
}
|
|
function GroupUpdateAliasByIdRequestToJSON(json) {
|
|
return GroupUpdateAliasByIdRequestToJSONTyped(json, false);
|
|
}
|
|
function GroupUpdateAliasByIdRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'canonical_id': value['canonicalId'],
|
|
'mount_accessor': value['mountAccessor'],
|
|
'name': value['name'],
|
|
};
|
|
}
|