/* 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. */ /** * Check if a given object implements the SshConfigureCaRequest interface. */ export function instanceOfSshConfigureCaRequest(value) { return true; } export function SshConfigureCaRequestFromJSON(json) { return SshConfigureCaRequestFromJSONTyped(json, false); } export function SshConfigureCaRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'generateSigningKey': json['generate_signing_key'] == null ? undefined : json['generate_signing_key'], 'keyBits': json['key_bits'] == null ? undefined : json['key_bits'], 'keyType': json['key_type'] == null ? undefined : json['key_type'], 'managedKeyId': json['managed_key_id'] == null ? undefined : json['managed_key_id'], 'managedKeyName': json['managed_key_name'] == null ? undefined : json['managed_key_name'], 'privateKey': json['private_key'] == null ? undefined : json['private_key'], 'publicKey': json['public_key'] == null ? undefined : json['public_key'], }; } export function SshConfigureCaRequestToJSON(json) { return SshConfigureCaRequestToJSONTyped(json, false); } export function SshConfigureCaRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'generate_signing_key': value['generateSigningKey'], 'key_bits': value['keyBits'], 'key_type': value['keyType'], 'managed_key_id': value['managedKeyId'], 'managed_key_name': value['managedKeyName'], 'private_key': value['privateKey'], 'public_key': value['publicKey'], }; }