mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-01 20:11:09 +02:00
* removes dist from api-client gitignore * ignores api-client/dist directory for eslint and prettier * builds api client
48 lines
1.5 KiB
JavaScript
48 lines
1.5 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.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.
|
|
*/
|
|
/**
|
|
* Check if a given object implements the WellKnownReadLabelResponse interface.
|
|
*/
|
|
export function instanceOfWellKnownReadLabelResponse(value) {
|
|
return true;
|
|
}
|
|
export function WellKnownReadLabelResponseFromJSON(json) {
|
|
return WellKnownReadLabelResponseFromJSONTyped(json, false);
|
|
}
|
|
export function WellKnownReadLabelResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
label: json['label'] == null ? undefined : json['label'],
|
|
mountPath: json['mount_path'] == null ? undefined : json['mount_path'],
|
|
mountUuid: json['mount_uuid'] == null ? undefined : json['mount_uuid'],
|
|
prefix: json['prefix'] == null ? undefined : json['prefix'],
|
|
};
|
|
}
|
|
export function WellKnownReadLabelResponseToJSON(json) {
|
|
return WellKnownReadLabelResponseToJSONTyped(json, false);
|
|
}
|
|
export function WellKnownReadLabelResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
label: value['label'],
|
|
mount_path: value['mountPath'],
|
|
mount_uuid: value['mountUuid'],
|
|
prefix: value['prefix'],
|
|
};
|
|
}
|