/* 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 GoogleCloudWriteStaticAccountRequest interface. */ export function instanceOfGoogleCloudWriteStaticAccountRequest(value) { return true; } export function GoogleCloudWriteStaticAccountRequestFromJSON(json) { return GoogleCloudWriteStaticAccountRequestFromJSONTyped(json, false); } export function GoogleCloudWriteStaticAccountRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'bindings': json['bindings'] == null ? undefined : json['bindings'], 'secretType': json['secret_type'] == null ? undefined : json['secret_type'], 'serviceAccountEmail': json['service_account_email'] == null ? undefined : json['service_account_email'], 'tokenScopes': json['token_scopes'] == null ? undefined : json['token_scopes'], }; } export function GoogleCloudWriteStaticAccountRequestToJSON(json) { return GoogleCloudWriteStaticAccountRequestToJSONTyped(json, false); } export function GoogleCloudWriteStaticAccountRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'bindings': value['bindings'], 'secret_type': value['secretType'], 'service_account_email': value['serviceAccountEmail'], 'token_scopes': value['tokenScopes'], }; }