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
81 lines
4.3 KiB
JavaScript
81 lines
4.3 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.instanceOfSystemWriteSyncDestinationsGhNameRequest = instanceOfSystemWriteSyncDestinationsGhNameRequest;
|
|
exports.SystemWriteSyncDestinationsGhNameRequestFromJSON = SystemWriteSyncDestinationsGhNameRequestFromJSON;
|
|
exports.SystemWriteSyncDestinationsGhNameRequestFromJSONTyped = SystemWriteSyncDestinationsGhNameRequestFromJSONTyped;
|
|
exports.SystemWriteSyncDestinationsGhNameRequestToJSON = SystemWriteSyncDestinationsGhNameRequestToJSON;
|
|
exports.SystemWriteSyncDestinationsGhNameRequestToJSONTyped = SystemWriteSyncDestinationsGhNameRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the SystemWriteSyncDestinationsGhNameRequest interface.
|
|
*/
|
|
function instanceOfSystemWriteSyncDestinationsGhNameRequest(value) {
|
|
return true;
|
|
}
|
|
function SystemWriteSyncDestinationsGhNameRequestFromJSON(json) {
|
|
return SystemWriteSyncDestinationsGhNameRequestFromJSONTyped(json, false);
|
|
}
|
|
function SystemWriteSyncDestinationsGhNameRequestFromJSONTyped(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'],
|
|
appName: json['app_name'] == null ? undefined : json['app_name'],
|
|
disableStrictNetworking: json['disable_strict_networking'] == null ? undefined : json['disable_strict_networking'],
|
|
environmentName: json['environment_name'] == null ? undefined : json['environment_name'],
|
|
granularity: json['granularity'] == null ? undefined : json['granularity'],
|
|
installationId: json['installation_id'] == null ? undefined : json['installation_id'],
|
|
organizationName: json['organization_name'] == null ? undefined : json['organization_name'],
|
|
organizationVisibility: json['organization_visibility'] == null ? undefined : json['organization_visibility'],
|
|
purge: json['purge'] == null ? undefined : json['purge'],
|
|
repositoryName: json['repository_name'] == null ? undefined : json['repository_name'],
|
|
repositoryOwner: json['repository_owner'] == null ? undefined : json['repository_owner'],
|
|
secretNameTemplate: json['secret_name_template'] == null ? undefined : json['secret_name_template'],
|
|
secretsLocation: json['secrets_location'] == null ? undefined : json['secrets_location'],
|
|
selectedRepositoryNames: json['selected_repository_names'] == null ? undefined : json['selected_repository_names'],
|
|
};
|
|
}
|
|
function SystemWriteSyncDestinationsGhNameRequestToJSON(json) {
|
|
return SystemWriteSyncDestinationsGhNameRequestToJSONTyped(json, false);
|
|
}
|
|
function SystemWriteSyncDestinationsGhNameRequestToJSONTyped(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'],
|
|
app_name: value['appName'],
|
|
disable_strict_networking: value['disableStrictNetworking'],
|
|
environment_name: value['environmentName'],
|
|
granularity: value['granularity'],
|
|
installation_id: value['installationId'],
|
|
organization_name: value['organizationName'],
|
|
organization_visibility: value['organizationVisibility'],
|
|
purge: value['purge'],
|
|
repository_name: value['repositoryName'],
|
|
repository_owner: value['repositoryOwner'],
|
|
secret_name_template: value['secretNameTemplate'],
|
|
secrets_location: value['secretsLocation'],
|
|
selected_repository_names: value['selectedRepositoryNames'],
|
|
};
|
|
}
|