/* 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'; /** * List of items for the current page * @export * @interface ContainerImageInQuarantineData */ export interface ContainerImageInQuarantineData { /** * * @type {string} * @memberof ContainerImageInQuarantineData */ applicationName?: string; /** * * @type {string} * @memberof ContainerImageInQuarantineData */ applicationPublicId?: string; /** * * @type {number} * @memberof ContainerImageInQuarantineData */ openTime?: number; /** * * @type {string} * @memberof ContainerImageInQuarantineData */ ownerId?: string; /** * * @type {number} * @memberof ContainerImageInQuarantineData */ policyViolationCount?: number; /** * * @type {string} * @memberof ContainerImageInQuarantineData */ repositoryId?: string; /** * * @type {string} * @memberof ContainerImageInQuarantineData */ repositoryPublicId?: string; /** * * @type {string} * @memberof ContainerImageInQuarantineData */ scanId?: string; /** * * @type {number} * @memberof ContainerImageInQuarantineData */ threatLevel?: number; } /** * Check if a given object implements the ContainerImageInQuarantineData interface. */ export function instanceOfContainerImageInQuarantineData(value: object): value is ContainerImageInQuarantineData { return true; } export function ContainerImageInQuarantineDataFromJSON(json: any): ContainerImageInQuarantineData { return ContainerImageInQuarantineDataFromJSONTyped(json, false); } export function ContainerImageInQuarantineDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContainerImageInQuarantineData { if (json == null) { return json; } return { 'applicationName': json['applicationName'] == null ? undefined : json['applicationName'], 'applicationPublicId': json['applicationPublicId'] == null ? undefined : json['applicationPublicId'], 'openTime': json['openTime'] == null ? undefined : json['openTime'], 'ownerId': json['ownerId'] == null ? undefined : json['ownerId'], 'policyViolationCount': json['policyViolationCount'] == null ? undefined : json['policyViolationCount'], 'repositoryId': json['repositoryId'] == null ? undefined : json['repositoryId'], 'repositoryPublicId': json['repositoryPublicId'] == null ? undefined : json['repositoryPublicId'], 'scanId': json['scanId'] == null ? undefined : json['scanId'], 'threatLevel': json['threatLevel'] == null ? undefined : json['threatLevel'], }; } export function ContainerImageInQuarantineDataToJSON(json: any): ContainerImageInQuarantineData { return ContainerImageInQuarantineDataToJSONTyped(json, false); } export function ContainerImageInQuarantineDataToJSONTyped(value?: ContainerImageInQuarantineData | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'applicationName': value['applicationName'], 'applicationPublicId': value['applicationPublicId'], 'openTime': value['openTime'], 'ownerId': value['ownerId'], 'policyViolationCount': value['policyViolationCount'], 'repositoryId': value['repositoryId'], 'repositoryPublicId': value['repositoryPublicId'], 'scanId': value['scanId'], 'threatLevel': value['threatLevel'], }; }