"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.instanceOfGoogleCloudConfigureRequest = instanceOfGoogleCloudConfigureRequest; exports.GoogleCloudConfigureRequestFromJSON = GoogleCloudConfigureRequestFromJSON; exports.GoogleCloudConfigureRequestFromJSONTyped = GoogleCloudConfigureRequestFromJSONTyped; exports.GoogleCloudConfigureRequestToJSON = GoogleCloudConfigureRequestToJSON; exports.GoogleCloudConfigureRequestToJSONTyped = GoogleCloudConfigureRequestToJSONTyped; /** * Check if a given object implements the GoogleCloudConfigureRequest interface. */ function instanceOfGoogleCloudConfigureRequest(value) { return true; } function GoogleCloudConfigureRequestFromJSON(json) { return GoogleCloudConfigureRequestFromJSONTyped(json, false); } function GoogleCloudConfigureRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { credentials: json['credentials'] == null ? undefined : json['credentials'], disableAutomatedRotation: json['disable_automated_rotation'] == null ? undefined : json['disable_automated_rotation'], identityTokenAudience: json['identity_token_audience'] == null ? undefined : json['identity_token_audience'], identityTokenTtl: json['identity_token_ttl'] == null ? undefined : json['identity_token_ttl'], maxTtl: json['max_ttl'] == null ? undefined : json['max_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'], ttl: json['ttl'] == null ? undefined : json['ttl'], }; } function GoogleCloudConfigureRequestToJSON(json) { return GoogleCloudConfigureRequestToJSONTyped(json, false); } function GoogleCloudConfigureRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { credentials: value['credentials'], disable_automated_rotation: value['disableAutomatedRotation'], identity_token_audience: value['identityTokenAudience'], identity_token_ttl: value['identityTokenTtl'], max_ttl: value['maxTtl'], rotation_period: value['rotationPeriod'], rotation_schedule: value['rotationSchedule'], rotation_window: value['rotationWindow'], service_account_email: value['serviceAccountEmail'], ttl: value['ttl'], }; }