"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.instanceOfAwsConfigureClientRequest = instanceOfAwsConfigureClientRequest; exports.AwsConfigureClientRequestFromJSON = AwsConfigureClientRequestFromJSON; exports.AwsConfigureClientRequestFromJSONTyped = AwsConfigureClientRequestFromJSONTyped; exports.AwsConfigureClientRequestToJSON = AwsConfigureClientRequestToJSON; exports.AwsConfigureClientRequestToJSONTyped = AwsConfigureClientRequestToJSONTyped; /** * Check if a given object implements the AwsConfigureClientRequest interface. */ function instanceOfAwsConfigureClientRequest(value) { return true; } function AwsConfigureClientRequestFromJSON(json) { return AwsConfigureClientRequestFromJSONTyped(json, false); } function AwsConfigureClientRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { accessKey: json['access_key'] == null ? undefined : json['access_key'], allowedStsHeaderValues: json['allowed_sts_header_values'] == null ? undefined : json['allowed_sts_header_values'], disableAutomatedRotation: json['disable_automated_rotation'] == null ? undefined : json['disable_automated_rotation'], endpoint: json['endpoint'] == null ? undefined : json['endpoint'], iamEndpoint: json['iam_endpoint'] == null ? undefined : json['iam_endpoint'], iamServerIdHeaderValue: json['iam_server_id_header_value'] == null ? undefined : json['iam_server_id_header_value'], 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'], 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'], stsRegion: json['sts_region'] == null ? undefined : json['sts_region'], useStsRegionFromClient: json['use_sts_region_from_client'] == null ? undefined : json['use_sts_region_from_client'], }; } function AwsConfigureClientRequestToJSON(json) { return AwsConfigureClientRequestToJSONTyped(json, false); } function AwsConfigureClientRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { access_key: value['accessKey'], allowed_sts_header_values: value['allowedStsHeaderValues'], disable_automated_rotation: value['disableAutomatedRotation'], endpoint: value['endpoint'], iam_endpoint: value['iamEndpoint'], iam_server_id_header_value: value['iamServerIdHeaderValue'], identity_token_audience: value['identityTokenAudience'], identity_token_ttl: value['identityTokenTtl'], max_retries: value['maxRetries'], 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_region: value['stsRegion'], use_sts_region_from_client: value['useStsRegionFromClient'], }; }