/* tslint:disable */ /* eslint-disable */ /** * MailSlurp API * MailSlurp is an API for sending and receiving emails and SMS from dynamically allocated email addresses and phone numbers. It\'s designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository * * The version of the OpenAPI document: 6.5.2 * Contact: contact@mailslurp.dev * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; import { DomainMonitorRunDto, DomainMonitorRunDtoFromJSON, DomainMonitorRunDtoFromJSONTyped, DomainMonitorRunDtoToJSON, } from './'; /** * * @export * @interface DomainMonitorRunComparisonDto */ export interface DomainMonitorRunComparisonDto { /** * * @type {DomainMonitorRunDto} * @memberof DomainMonitorRunComparisonDto */ baseline: DomainMonitorRunDto; /** * * @type {DomainMonitorRunDto} * @memberof DomainMonitorRunComparisonDto */ current: DomainMonitorRunDto; /** * * @type {number} * @memberof DomainMonitorRunComparisonDto */ healthScoreDelta: number; /** * * @type {boolean} * @memberof DomainMonitorRunComparisonDto */ statusChanged: boolean; /** * * @type {number} * @memberof DomainMonitorRunComparisonDto */ passingChecksDelta: number; /** * * @type {number} * @memberof DomainMonitorRunComparisonDto */ failingChecksDelta: number; /** * * @type {boolean} * @memberof DomainMonitorRunComparisonDto */ spfChanged: boolean; /** * * @type {boolean} * @memberof DomainMonitorRunComparisonDto */ dmarcChanged: boolean; /** * * @type {boolean} * @memberof DomainMonitorRunComparisonDto */ dmarcEnforcedChanged: boolean; /** * * @type {boolean} * @memberof DomainMonitorRunComparisonDto */ mxChanged: boolean; /** * * @type {Array} * @memberof DomainMonitorRunComparisonDto */ addedInsights: Array; /** * * @type {Array} * @memberof DomainMonitorRunComparisonDto */ removedInsights: Array; } export function DomainMonitorRunComparisonDtoFromJSON( json: any ): DomainMonitorRunComparisonDto { return DomainMonitorRunComparisonDtoFromJSONTyped(json, false); } export function DomainMonitorRunComparisonDtoFromJSONTyped( json: any, ignoreDiscriminator: boolean ): DomainMonitorRunComparisonDto { if (json === undefined || json === null) { return json; } return { baseline: DomainMonitorRunDtoFromJSON(json['baseline']), current: DomainMonitorRunDtoFromJSON(json['current']), healthScoreDelta: json['healthScoreDelta'], statusChanged: json['statusChanged'], passingChecksDelta: json['passingChecksDelta'], failingChecksDelta: json['failingChecksDelta'], spfChanged: json['spfChanged'], dmarcChanged: json['dmarcChanged'], dmarcEnforcedChanged: json['dmarcEnforcedChanged'], mxChanged: json['mxChanged'], addedInsights: json['addedInsights'], removedInsights: json['removedInsights'], }; } export function DomainMonitorRunComparisonDtoToJSON( value?: DomainMonitorRunComparisonDto | null ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { baseline: DomainMonitorRunDtoToJSON(value.baseline), current: DomainMonitorRunDtoToJSON(value.current), healthScoreDelta: value.healthScoreDelta, statusChanged: value.statusChanged, passingChecksDelta: value.passingChecksDelta, failingChecksDelta: value.failingChecksDelta, spfChanged: value.spfChanged, dmarcChanged: value.dmarcChanged, dmarcEnforcedChanged: value.dmarcEnforcedChanged, mxChanged: value.mxChanged, addedInsights: value.addedInsights, removedInsights: value.removedInsights, }; }