/* 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.21.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Check if a given object implements the AwsConfigureIdentityIntegrationRequest interface. */ export function instanceOfAwsConfigureIdentityIntegrationRequest(value) { return true; } export function AwsConfigureIdentityIntegrationRequestFromJSON(json) { return AwsConfigureIdentityIntegrationRequestFromJSONTyped(json, false); } export function AwsConfigureIdentityIntegrationRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'ec2Alias': json['ec2_alias'] == null ? undefined : json['ec2_alias'], 'ec2Metadata': json['ec2_metadata'] == null ? undefined : json['ec2_metadata'], 'iamAlias': json['iam_alias'] == null ? undefined : json['iam_alias'], 'iamMetadata': json['iam_metadata'] == null ? undefined : json['iam_metadata'], }; } export function AwsConfigureIdentityIntegrationRequestToJSON(json) { return AwsConfigureIdentityIntegrationRequestToJSONTyped(json, false); } export function AwsConfigureIdentityIntegrationRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'ec2_alias': value['ec2Alias'], 'ec2_metadata': value['ec2Metadata'], 'iam_alias': value['iamAlias'], 'iam_metadata': value['iamMetadata'], }; }