mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 22:57:02 +02:00
50 lines
1.8 KiB
JavaScript
50 lines
1.8 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 SubscriptionsWriteEventsSubscriptionsRequest interface.
|
|
*/
|
|
export function instanceOfSubscriptionsWriteEventsSubscriptionsRequest(value) {
|
|
return true;
|
|
}
|
|
export function SubscriptionsWriteEventsSubscriptionsRequestFromJSON(json) {
|
|
return SubscriptionsWriteEventsSubscriptionsRequestFromJSONTyped(json, false);
|
|
}
|
|
export function SubscriptionsWriteEventsSubscriptionsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'config': json['config'] == null ? undefined : json['config'],
|
|
'eventType': json['event_type'] == null ? undefined : json['event_type'],
|
|
'filter': json['filter'] == null ? undefined : json['filter'],
|
|
'list': json['list'] == null ? undefined : json['list'],
|
|
'plugin': json['plugin'] == null ? undefined : json['plugin'],
|
|
};
|
|
}
|
|
export function SubscriptionsWriteEventsSubscriptionsRequestToJSON(json) {
|
|
return SubscriptionsWriteEventsSubscriptionsRequestToJSONTyped(json, false);
|
|
}
|
|
export function SubscriptionsWriteEventsSubscriptionsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'config': value['config'],
|
|
'event_type': value['eventType'],
|
|
'filter': value['filter'],
|
|
'list': value['list'],
|
|
'plugin': value['plugin'],
|
|
};
|
|
}
|