"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.instanceOfAzureConfigureAuthRequest = instanceOfAzureConfigureAuthRequest; exports.AzureConfigureAuthRequestFromJSON = AzureConfigureAuthRequestFromJSON; exports.AzureConfigureAuthRequestFromJSONTyped = AzureConfigureAuthRequestFromJSONTyped; exports.AzureConfigureAuthRequestToJSON = AzureConfigureAuthRequestToJSON; exports.AzureConfigureAuthRequestToJSONTyped = AzureConfigureAuthRequestToJSONTyped; /** * Check if a given object implements the AzureConfigureAuthRequest interface. */ function instanceOfAzureConfigureAuthRequest(value) { return true; } function AzureConfigureAuthRequestFromJSON(json) { return AzureConfigureAuthRequestFromJSONTyped(json, false); } function AzureConfigureAuthRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { clientId: json['client_id'] == null ? undefined : json['client_id'], clientSecret: json['client_secret'] == null ? undefined : json['client_secret'], disableAutomatedRotation: json['disable_automated_rotation'] == null ? undefined : json['disable_automated_rotation'], environment: json['environment'] == null ? undefined : json['environment'], identityTokenAudience: json['identity_token_audience'] == null ? undefined : json['identity_token_audience'], identityTokenTtl: json['identity_token_ttl'] == null ? undefined : json['identity_token_ttl'], maxRetries: json['max_retries'] == null ? undefined : json['max_retries'], maxRetryDelay: json['max_retry_delay'] == null ? undefined : json['max_retry_delay'], resource: json['resource'] == null ? undefined : json['resource'], retryDelay: json['retry_delay'] == null ? undefined : json['retry_delay'], rootPasswordTtl: json['root_password_ttl'] == null ? undefined : json['root_password_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'], tenantId: json['tenant_id'] == null ? undefined : json['tenant_id'], }; } function AzureConfigureAuthRequestToJSON(json) { return AzureConfigureAuthRequestToJSONTyped(json, false); } function AzureConfigureAuthRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { client_id: value['clientId'], client_secret: value['clientSecret'], disable_automated_rotation: value['disableAutomatedRotation'], environment: value['environment'], identity_token_audience: value['identityTokenAudience'], identity_token_ttl: value['identityTokenTtl'], max_retries: value['maxRetries'], max_retry_delay: value['maxRetryDelay'], resource: value['resource'], retry_delay: value['retryDelay'], root_password_ttl: value['rootPasswordTtl'], rotation_period: value['rotationPeriod'], rotation_schedule: value['rotationSchedule'], rotation_window: value['rotationWindow'], tenant_id: value['tenantId'], }; }