"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.instanceOfAwsConfigureRootIamCredentialsRequest = instanceOfAwsConfigureRootIamCredentialsRequest; exports.AwsConfigureRootIamCredentialsRequestFromJSON = AwsConfigureRootIamCredentialsRequestFromJSON; exports.AwsConfigureRootIamCredentialsRequestFromJSONTyped = AwsConfigureRootIamCredentialsRequestFromJSONTyped; exports.AwsConfigureRootIamCredentialsRequestToJSON = AwsConfigureRootIamCredentialsRequestToJSON; exports.AwsConfigureRootIamCredentialsRequestToJSONTyped = AwsConfigureRootIamCredentialsRequestToJSONTyped; /** * Check if a given object implements the AwsConfigureRootIamCredentialsRequest interface. */ function instanceOfAwsConfigureRootIamCredentialsRequest(value) { return true; } function AwsConfigureRootIamCredentialsRequestFromJSON(json) { return AwsConfigureRootIamCredentialsRequestFromJSONTyped(json, false); } function AwsConfigureRootIamCredentialsRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { accessKey: json['access_key'] == null ? undefined : json['access_key'], disableAutomatedRotation: json['disable_automated_rotation'] == null ? undefined : json['disable_automated_rotation'], iamEndpoint: json['iam_endpoint'] == null ? undefined : json['iam_endpoint'], 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'], region: json['region'] == null ? undefined : json['region'], roleArn: json['role_arn'] == null ? undefined : json['role_arn'], 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'], secretKey: json['secret_key'] == null ? undefined : json['secret_key'], stsEndpoint: json['sts_endpoint'] == null ? undefined : json['sts_endpoint'], stsFallbackEndpoints: json['sts_fallback_endpoints'] == null ? undefined : json['sts_fallback_endpoints'], stsFallbackRegions: json['sts_fallback_regions'] == null ? undefined : json['sts_fallback_regions'], stsRegion: json['sts_region'] == null ? undefined : json['sts_region'], usernameTemplate: json['username_template'] == null ? undefined : json['username_template'], }; } function AwsConfigureRootIamCredentialsRequestToJSON(json) { return AwsConfigureRootIamCredentialsRequestToJSONTyped(json, false); } function AwsConfigureRootIamCredentialsRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { access_key: value['accessKey'], disable_automated_rotation: value['disableAutomatedRotation'], iam_endpoint: value['iamEndpoint'], identity_token_audience: value['identityTokenAudience'], identity_token_ttl: value['identityTokenTtl'], max_retries: value['maxRetries'], region: value['region'], role_arn: value['roleArn'], rotation_period: value['rotationPeriod'], rotation_schedule: value['rotationSchedule'], rotation_window: value['rotationWindow'], secret_key: value['secretKey'], sts_endpoint: value['stsEndpoint'], sts_fallback_endpoints: value['stsFallbackEndpoints'], sts_fallback_regions: value['stsFallbackRegions'], sts_region: value['stsRegion'], username_template: value['usernameTemplate'], }; }