/* 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'; /** * Aggregated deliverability metrics for a given set of runs * @export * @interface DeliverabilityAnalyticsSummaryDto */ export interface DeliverabilityAnalyticsSummaryDto { /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ totalRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ completeRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ failedRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ stoppedRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ runningRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ scheduledRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ pausedRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ createdRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ thresholdConfiguredRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ thresholdMetRuns: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ averageCompletionPercentage: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ averageMatchedEntities: number; /** * * @type {number} * @memberof DeliverabilityAnalyticsSummaryDto */ averageUnmatchedEntities: number; } export function DeliverabilityAnalyticsSummaryDtoFromJSON( json: any ): DeliverabilityAnalyticsSummaryDto { return DeliverabilityAnalyticsSummaryDtoFromJSONTyped(json, false); } export function DeliverabilityAnalyticsSummaryDtoFromJSONTyped( json: any, ignoreDiscriminator: boolean ): DeliverabilityAnalyticsSummaryDto { if (json === undefined || json === null) { return json; } return { totalRuns: json['totalRuns'], completeRuns: json['completeRuns'], failedRuns: json['failedRuns'], stoppedRuns: json['stoppedRuns'], runningRuns: json['runningRuns'], scheduledRuns: json['scheduledRuns'], pausedRuns: json['pausedRuns'], createdRuns: json['createdRuns'], thresholdConfiguredRuns: json['thresholdConfiguredRuns'], thresholdMetRuns: json['thresholdMetRuns'], averageCompletionPercentage: json['averageCompletionPercentage'], averageMatchedEntities: json['averageMatchedEntities'], averageUnmatchedEntities: json['averageUnmatchedEntities'], }; } export function DeliverabilityAnalyticsSummaryDtoToJSON( value?: DeliverabilityAnalyticsSummaryDto | null ): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { totalRuns: value.totalRuns, completeRuns: value.completeRuns, failedRuns: value.failedRuns, stoppedRuns: value.stoppedRuns, runningRuns: value.runningRuns, scheduledRuns: value.scheduledRuns, pausedRuns: value.pausedRuns, createdRuns: value.createdRuns, thresholdConfiguredRuns: value.thresholdConfiguredRuns, thresholdMetRuns: value.thresholdMetRuns, averageCompletionPercentage: value.averageCompletionPercentage, averageMatchedEntities: value.averageMatchedEntities, averageUnmatchedEntities: value.averageUnmatchedEntities, }; }