/* tslint:disable */ /* eslint-disable */ /** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * 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 ApiFirewallReleaseQuarantineSummaryDTO */ export interface ApiFirewallReleaseQuarantineSummaryDTO { /** * * @type {number} * @memberof ApiFirewallReleaseQuarantineSummaryDTO */ autoReleaseQuarantineCountMTD?: number; /** * * @type {number} * @memberof ApiFirewallReleaseQuarantineSummaryDTO */ autoReleaseQuarantineCountYTD?: number; } /** * Check if a given object implements the ApiFirewallReleaseQuarantineSummaryDTO interface. */ export function instanceOfApiFirewallReleaseQuarantineSummaryDTO(value: object): value is ApiFirewallReleaseQuarantineSummaryDTO { return true; } export function ApiFirewallReleaseQuarantineSummaryDTOFromJSON(json: any): ApiFirewallReleaseQuarantineSummaryDTO { return ApiFirewallReleaseQuarantineSummaryDTOFromJSONTyped(json, false); } export function ApiFirewallReleaseQuarantineSummaryDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFirewallReleaseQuarantineSummaryDTO { if (json == null) { return json; } return { 'autoReleaseQuarantineCountMTD': json['autoReleaseQuarantineCountMTD'] == null ? undefined : json['autoReleaseQuarantineCountMTD'], 'autoReleaseQuarantineCountYTD': json['autoReleaseQuarantineCountYTD'] == null ? undefined : json['autoReleaseQuarantineCountYTD'], }; } export function ApiFirewallReleaseQuarantineSummaryDTOToJSON(json: any): ApiFirewallReleaseQuarantineSummaryDTO { return ApiFirewallReleaseQuarantineSummaryDTOToJSONTyped(json, false); } export function ApiFirewallReleaseQuarantineSummaryDTOToJSONTyped(value?: ApiFirewallReleaseQuarantineSummaryDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'autoReleaseQuarantineCountMTD': value['autoReleaseQuarantineCountMTD'], 'autoReleaseQuarantineCountYTD': value['autoReleaseQuarantineCountYTD'], }; }