mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 16:41:08 +02:00
* removes dist from api-client gitignore * ignores api-client/dist directory for eslint and prettier * builds api client
69 lines
3.6 KiB
JavaScript
69 lines
3.6 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.instanceOfSystemWriteSyncDestinationsVercelProjectNameRequest = instanceOfSystemWriteSyncDestinationsVercelProjectNameRequest;
|
|
exports.SystemWriteSyncDestinationsVercelProjectNameRequestFromJSON = SystemWriteSyncDestinationsVercelProjectNameRequestFromJSON;
|
|
exports.SystemWriteSyncDestinationsVercelProjectNameRequestFromJSONTyped = SystemWriteSyncDestinationsVercelProjectNameRequestFromJSONTyped;
|
|
exports.SystemWriteSyncDestinationsVercelProjectNameRequestToJSON = SystemWriteSyncDestinationsVercelProjectNameRequestToJSON;
|
|
exports.SystemWriteSyncDestinationsVercelProjectNameRequestToJSONTyped = SystemWriteSyncDestinationsVercelProjectNameRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the SystemWriteSyncDestinationsVercelProjectNameRequest interface.
|
|
*/
|
|
function instanceOfSystemWriteSyncDestinationsVercelProjectNameRequest(value) {
|
|
return true;
|
|
}
|
|
function SystemWriteSyncDestinationsVercelProjectNameRequestFromJSON(json) {
|
|
return SystemWriteSyncDestinationsVercelProjectNameRequestFromJSONTyped(json, false);
|
|
}
|
|
function SystemWriteSyncDestinationsVercelProjectNameRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
accessToken: json['access_token'] == null ? undefined : json['access_token'],
|
|
allowedIpv4Addresses: json['allowed_ipv4_addresses'] == null ? undefined : json['allowed_ipv4_addresses'],
|
|
allowedIpv6Addresses: json['allowed_ipv6_addresses'] == null ? undefined : json['allowed_ipv6_addresses'],
|
|
allowedPorts: json['allowed_ports'] == null ? undefined : json['allowed_ports'],
|
|
deploymentEnvironments: json['deployment_environments'] == null ? undefined : json['deployment_environments'],
|
|
disableStrictNetworking: json['disable_strict_networking'] == null ? undefined : json['disable_strict_networking'],
|
|
granularity: json['granularity'] == null ? undefined : json['granularity'],
|
|
projectId: json['project_id'] == null ? undefined : json['project_id'],
|
|
purge: json['purge'] == null ? undefined : json['purge'],
|
|
secretNameTemplate: json['secret_name_template'] == null ? undefined : json['secret_name_template'],
|
|
teamId: json['team_id'] == null ? undefined : json['team_id'],
|
|
};
|
|
}
|
|
function SystemWriteSyncDestinationsVercelProjectNameRequestToJSON(json) {
|
|
return SystemWriteSyncDestinationsVercelProjectNameRequestToJSONTyped(json, false);
|
|
}
|
|
function SystemWriteSyncDestinationsVercelProjectNameRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
access_token: value['accessToken'],
|
|
allowed_ipv4_addresses: value['allowedIpv4Addresses'],
|
|
allowed_ipv6_addresses: value['allowedIpv6Addresses'],
|
|
allowed_ports: value['allowedPorts'],
|
|
deployment_environments: value['deploymentEnvironments'],
|
|
disable_strict_networking: value['disableStrictNetworking'],
|
|
granularity: value['granularity'],
|
|
project_id: value['projectId'],
|
|
purge: value['purge'],
|
|
secret_name_template: value['secretNameTemplate'],
|
|
team_id: value['teamId'],
|
|
};
|
|
}
|