mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-25 08:31:09 +02:00
75 lines
3.7 KiB
JavaScript
75 lines
3.7 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.instanceOfGoogleCloudConfigureAuthRequest = instanceOfGoogleCloudConfigureAuthRequest;
|
|
exports.GoogleCloudConfigureAuthRequestFromJSON = GoogleCloudConfigureAuthRequestFromJSON;
|
|
exports.GoogleCloudConfigureAuthRequestFromJSONTyped = GoogleCloudConfigureAuthRequestFromJSONTyped;
|
|
exports.GoogleCloudConfigureAuthRequestToJSON = GoogleCloudConfigureAuthRequestToJSON;
|
|
exports.GoogleCloudConfigureAuthRequestToJSONTyped = GoogleCloudConfigureAuthRequestToJSONTyped;
|
|
/**
|
|
* Check if a given object implements the GoogleCloudConfigureAuthRequest interface.
|
|
*/
|
|
function instanceOfGoogleCloudConfigureAuthRequest(value) {
|
|
return true;
|
|
}
|
|
function GoogleCloudConfigureAuthRequestFromJSON(json) {
|
|
return GoogleCloudConfigureAuthRequestFromJSONTyped(json, false);
|
|
}
|
|
function GoogleCloudConfigureAuthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
'credentials': json['credentials'] == null ? undefined : json['credentials'],
|
|
'customEndpoint': json['custom_endpoint'] == null ? undefined : json['custom_endpoint'],
|
|
'disableAutomatedRotation': json['disable_automated_rotation'] == null ? undefined : json['disable_automated_rotation'],
|
|
'gceAlias': json['gce_alias'] == null ? undefined : json['gce_alias'],
|
|
'gceMetadata': json['gce_metadata'] == null ? undefined : json['gce_metadata'],
|
|
'googleCertsEndpoint': json['google_certs_endpoint'] == null ? undefined : json['google_certs_endpoint'],
|
|
'iamAlias': json['iam_alias'] == null ? undefined : json['iam_alias'],
|
|
'iamMetadata': json['iam_metadata'] == null ? undefined : json['iam_metadata'],
|
|
'identityTokenAudience': json['identity_token_audience'] == null ? undefined : json['identity_token_audience'],
|
|
'identityTokenTtl': json['identity_token_ttl'] == null ? undefined : json['identity_token_ttl'],
|
|
'rotationPeriod': json['rotation_period'] == null ? undefined : json['rotation_period'],
|
|
'rotationSchedule': json['rotation_schedule'] == null ? undefined : json['rotation_schedule'],
|
|
'rotationWindow': json['rotation_window'] == null ? undefined : json['rotation_window'],
|
|
'serviceAccountEmail': json['service_account_email'] == null ? undefined : json['service_account_email'],
|
|
};
|
|
}
|
|
function GoogleCloudConfigureAuthRequestToJSON(json) {
|
|
return GoogleCloudConfigureAuthRequestToJSONTyped(json, false);
|
|
}
|
|
function GoogleCloudConfigureAuthRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
'credentials': value['credentials'],
|
|
'custom_endpoint': value['customEndpoint'],
|
|
'disable_automated_rotation': value['disableAutomatedRotation'],
|
|
'gce_alias': value['gceAlias'],
|
|
'gce_metadata': value['gceMetadata'],
|
|
'google_certs_endpoint': value['googleCertsEndpoint'],
|
|
'iam_alias': value['iamAlias'],
|
|
'iam_metadata': value['iamMetadata'],
|
|
'identity_token_audience': value['identityTokenAudience'],
|
|
'identity_token_ttl': value['identityTokenTtl'],
|
|
'rotation_period': value['rotationPeriod'],
|
|
'rotation_schedule': value['rotationSchedule'],
|
|
'rotation_window': value['rotationWindow'],
|
|
'service_account_email': value['serviceAccountEmail'],
|
|
};
|
|
}
|