/* 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 ApiFirewallQuarantineSummaryDTO */ export interface ApiFirewallQuarantineSummaryDTO { /** * * @type {boolean} * @memberof ApiFirewallQuarantineSummaryDTO */ quarantineEnabled?: boolean; /** * * @type {number} * @memberof ApiFirewallQuarantineSummaryDTO */ quarantineEnabledRepositoryCount?: number; /** * * @type {number} * @memberof ApiFirewallQuarantineSummaryDTO */ quarantinedComponentCount?: number; /** * * @type {number} * @memberof ApiFirewallQuarantineSummaryDTO */ repositoryCount?: number; /** * * @type {number} * @memberof ApiFirewallQuarantineSummaryDTO */ totalComponentCount?: number; } /** * Check if a given object implements the ApiFirewallQuarantineSummaryDTO interface. */ export function instanceOfApiFirewallQuarantineSummaryDTO(value: object): value is ApiFirewallQuarantineSummaryDTO { return true; } export function ApiFirewallQuarantineSummaryDTOFromJSON(json: any): ApiFirewallQuarantineSummaryDTO { return ApiFirewallQuarantineSummaryDTOFromJSONTyped(json, false); } export function ApiFirewallQuarantineSummaryDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFirewallQuarantineSummaryDTO { if (json == null) { return json; } return { 'quarantineEnabled': json['quarantineEnabled'] == null ? undefined : json['quarantineEnabled'], 'quarantineEnabledRepositoryCount': json['quarantineEnabledRepositoryCount'] == null ? undefined : json['quarantineEnabledRepositoryCount'], 'quarantinedComponentCount': json['quarantinedComponentCount'] == null ? undefined : json['quarantinedComponentCount'], 'repositoryCount': json['repositoryCount'] == null ? undefined : json['repositoryCount'], 'totalComponentCount': json['totalComponentCount'] == null ? undefined : json['totalComponentCount'], }; } export function ApiFirewallQuarantineSummaryDTOToJSON(json: any): ApiFirewallQuarantineSummaryDTO { return ApiFirewallQuarantineSummaryDTOToJSONTyped(json, false); } export function ApiFirewallQuarantineSummaryDTOToJSONTyped(value?: ApiFirewallQuarantineSummaryDTO | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'quarantineEnabled': value['quarantineEnabled'], 'quarantineEnabledRepositoryCount': value['quarantineEnabledRepositoryCount'], 'quarantinedComponentCount': value['quarantinedComponentCount'], 'repositoryCount': value['repositoryCount'], 'totalComponentCount': value['totalComponentCount'], }; }