mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 06:37:02 +02:00
54 lines
2.0 KiB
JavaScript
54 lines
2.0 KiB
JavaScript
/* 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.21.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
/**
|
|
* Check if a given object implements the EntityAliasesCreateDuplicatesRequest interface.
|
|
*/
|
|
export function instanceOfEntityAliasesCreateDuplicatesRequest(value) {
|
|
return true;
|
|
}
|
|
export function EntityAliasesCreateDuplicatesRequestFromJSON(json) {
|
|
return EntityAliasesCreateDuplicatesRequestFromJSONTyped(json, false);
|
|
}
|
|
export function EntityAliasesCreateDuplicatesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'count': json['count'] == null ? undefined : json['count'],
|
|
'differentCase': json['different_case'] == null ? undefined : json['different_case'],
|
|
'local': json['local'] == null ? undefined : json['local'],
|
|
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
'mountAccessor': json['mount_accessor'] == null ? undefined : json['mount_accessor'],
|
|
'name': json['name'] == null ? undefined : json['name'],
|
|
'namespaceId': json['namespace_id'] == null ? undefined : json['namespace_id'],
|
|
};
|
|
}
|
|
export function EntityAliasesCreateDuplicatesRequestToJSON(json) {
|
|
return EntityAliasesCreateDuplicatesRequestToJSONTyped(json, false);
|
|
}
|
|
export function EntityAliasesCreateDuplicatesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'count': value['count'],
|
|
'different_case': value['differentCase'],
|
|
'local': value['local'],
|
|
'metadata': value['metadata'],
|
|
'mount_accessor': value['mountAccessor'],
|
|
'name': value['name'],
|
|
'namespace_id': value['namespaceId'],
|
|
};
|
|
}
|