/* tslint:disable */ /* eslint-disable */ /** * Tuix Email Service * Service to manage Tuix Email * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface SMTPConfigurationDTO */ export interface SMTPConfigurationDTO { /** * * @type {string} * @memberof SMTPConfigurationDTO */ applicationId?: string; /** * * @type {string} * @memberof SMTPConfigurationDTO */ createdAt?: string; /** * * @type {string} * @memberof SMTPConfigurationDTO */ host?: string; /** * * @type {string} * @memberof SMTPConfigurationDTO */ id?: string; /** * * @type {number} * @memberof SMTPConfigurationDTO */ port?: number; /** * * @type {string} * @memberof SMTPConfigurationDTO */ updatedAt?: string; /** * * @type {string} * @memberof SMTPConfigurationDTO */ username?: string; } /** * Check if a given object implements the SMTPConfigurationDTO interface. */ export function instanceOfSMTPConfigurationDTO(value: object): value is SMTPConfigurationDTO { return true; } export function SMTPConfigurationDTOFromJSON(json: any): SMTPConfigurationDTO { return SMTPConfigurationDTOFromJSONTyped(json, false); } export function SMTPConfigurationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SMTPConfigurationDTO { if (json == null) { return json; } return { 'applicationId': json['applicationId'] == null ? undefined : json['applicationId'], 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'], 'host': json['host'] == null ? undefined : json['host'], 'id': json['id'] == null ? undefined : json['id'], 'port': json['port'] == null ? undefined : json['port'], 'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'], 'username': json['username'] == null ? undefined : json['username'], }; } export function SMTPConfigurationDTOToJSON(json: any): SMTPConfigurationDTO { return SMTPConfigurationDTOToJSONTyped(json, false); } export function SMTPConfigurationDTOToJSONTyped(value?: SMTPConfigurationDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'applicationId': value['applicationId'], 'createdAt': value['createdAt'], 'host': value['host'], 'id': value['id'], 'port': value['port'], 'updatedAt': value['updatedAt'], 'username': value['username'], }; }