mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 16:41:08 +02:00
65 lines
2.9 KiB
JavaScript
65 lines
2.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.instanceOfPluginsCatalogReadPluginConfigurationResponse = instanceOfPluginsCatalogReadPluginConfigurationResponse;
|
|
exports.PluginsCatalogReadPluginConfigurationResponseFromJSON = PluginsCatalogReadPluginConfigurationResponseFromJSON;
|
|
exports.PluginsCatalogReadPluginConfigurationResponseFromJSONTyped = PluginsCatalogReadPluginConfigurationResponseFromJSONTyped;
|
|
exports.PluginsCatalogReadPluginConfigurationResponseToJSON = PluginsCatalogReadPluginConfigurationResponseToJSON;
|
|
exports.PluginsCatalogReadPluginConfigurationResponseToJSONTyped = PluginsCatalogReadPluginConfigurationResponseToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the PluginsCatalogReadPluginConfigurationResponse interface.
|
|
*/
|
|
function instanceOfPluginsCatalogReadPluginConfigurationResponse(value) {
|
|
return true;
|
|
}
|
|
function PluginsCatalogReadPluginConfigurationResponseFromJSON(json) {
|
|
return PluginsCatalogReadPluginConfigurationResponseFromJSONTyped(json, false);
|
|
}
|
|
function PluginsCatalogReadPluginConfigurationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'args': json['args'] == null ? undefined : json['args'],
|
|
'builtin': json['builtin'] == null ? undefined : json['builtin'],
|
|
'command': json['command'] == null ? undefined : json['command'],
|
|
'deprecationStatus': json['deprecation_status'] == null ? undefined : json['deprecation_status'],
|
|
'name': json['name'] == null ? undefined : json['name'],
|
|
'ociImage': json['oci_image'] == null ? undefined : json['oci_image'],
|
|
'runtime': json['runtime'] == null ? undefined : json['runtime'],
|
|
'sha256': json['sha256'] == null ? undefined : json['sha256'],
|
|
'version': json['version'] == null ? undefined : json['version'],
|
|
};
|
|
}
|
|
function PluginsCatalogReadPluginConfigurationResponseToJSON(json) {
|
|
return PluginsCatalogReadPluginConfigurationResponseToJSONTyped(json, false);
|
|
}
|
|
function PluginsCatalogReadPluginConfigurationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'args': value['args'],
|
|
'builtin': value['builtin'],
|
|
'command': value['command'],
|
|
'deprecation_status': value['deprecationStatus'],
|
|
'name': value['name'],
|
|
'oci_image': value['ociImage'],
|
|
'runtime': value['runtime'],
|
|
'sha256': value['sha256'],
|
|
'version': value['version'],
|
|
};
|
|
}
|