/* 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 TransformWriteStoreRequest interface. */ export function instanceOfTransformWriteStoreRequest(value) { return true; } export function TransformWriteStoreRequestFromJSON(json) { return TransformWriteStoreRequestFromJSONTyped(json, false); } export function TransformWriteStoreRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'connectionString': json['connection_string'] == null ? undefined : json['connection_string'], 'driver': json['driver'] == null ? undefined : json['driver'], 'maxConnectionLifetime': json['max_connection_lifetime'] == null ? undefined : json['max_connection_lifetime'], 'maxIdleConnections': json['max_idle_connections'] == null ? undefined : json['max_idle_connections'], 'maxOpenConnections': json['max_open_connections'] == null ? undefined : json['max_open_connections'], 'password': json['password'] == null ? undefined : json['password'], 'schema': json['schema'] == null ? undefined : json['schema'], 'supportedTransformations': json['supported_transformations'] == null ? undefined : json['supported_transformations'], 'type': json['type'] == null ? undefined : json['type'], 'username': json['username'] == null ? undefined : json['username'], }; } export function TransformWriteStoreRequestToJSON(json) { return TransformWriteStoreRequestToJSONTyped(json, false); } export function TransformWriteStoreRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'connection_string': value['connectionString'], 'driver': value['driver'], 'max_connection_lifetime': value['maxConnectionLifetime'], 'max_idle_connections': value['maxIdleConnections'], 'max_open_connections': value['maxOpenConnections'], 'password': value['password'], 'schema': value['schema'], 'supported_transformations': value['supportedTransformations'], 'type': value['type'], 'username': value['username'], }; }