/** * 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 type { ComponentDisplayName } from './ComponentDisplayName'; import type { ApiComponentIdentifierDTOV2 } from './ApiComponentIdentifierDTOV2'; import type { ConstraintFact } from './ConstraintFact'; /** * * @export * @interface ApiPolicyWaiverDTO */ export interface ApiPolicyWaiverDTO { /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ associatedPackageUrl?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ comment?: string; /** * * @type {ApiComponentIdentifierDTOV2} * @memberof ApiPolicyWaiverDTO */ componentIdentifier?: ApiComponentIdentifierDTOV2; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ componentName?: string; /** * * @type {boolean} * @memberof ApiPolicyWaiverDTO */ componentUpgradeAvailable?: boolean; /** * * @type {Array} * @memberof ApiPolicyWaiverDTO */ constraintFacts?: Array; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ constraintFactsJson?: string; /** * * @type {Date} * @memberof ApiPolicyWaiverDTO */ createTime?: Date; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ creatorId?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ creatorName?: string; /** * * @type {ComponentDisplayName} * @memberof ApiPolicyWaiverDTO */ displayName?: ComponentDisplayName; /** * * @type {boolean} * @memberof ApiPolicyWaiverDTO */ expireWhenRemediationAvailable?: boolean; /** * * @type {Date} * @memberof ApiPolicyWaiverDTO */ expiryTime?: Date; /** * * @type {boolean} * @memberof ApiPolicyWaiverDTO */ forContainerImage?: boolean; /** * * @type {boolean} * @memberof ApiPolicyWaiverDTO */ forContainerImageComponent?: boolean; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ hash?: string; /** * * @type {boolean} * @memberof ApiPolicyWaiverDTO */ isObsolete?: boolean; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ lastRenewalComment?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ lastRenewalReasonText?: string; /** * * @type {Date} * @memberof ApiPolicyWaiverDTO */ lastRenewedAt?: Date; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ lastRenewedBy?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ matcherStrategy?: ApiPolicyWaiverDTOMatcherStrategyEnum; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ policyId?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ policyName?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ policyViolationId?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ policyWaiverId?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ policyWaiverReasonId?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ reasonText?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ scopeOwnerId?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ scopeOwnerName?: string; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ scopeOwnerType?: string; /** * * @type {number} * @memberof ApiPolicyWaiverDTO */ threatLevel?: number; /** * * @type {string} * @memberof ApiPolicyWaiverDTO */ vulnerabilityId?: string; } /** * @export */ export declare const ApiPolicyWaiverDTOMatcherStrategyEnum: { readonly Default: "DEFAULT"; readonly ExactComponent: "EXACT_COMPONENT"; readonly AllComponents: "ALL_COMPONENTS"; readonly AllVersions: "ALL_VERSIONS"; }; export type ApiPolicyWaiverDTOMatcherStrategyEnum = typeof ApiPolicyWaiverDTOMatcherStrategyEnum[keyof typeof ApiPolicyWaiverDTOMatcherStrategyEnum]; /** * Check if a given object implements the ApiPolicyWaiverDTO interface. */ export declare function instanceOfApiPolicyWaiverDTO(value: object): value is ApiPolicyWaiverDTO; export declare function ApiPolicyWaiverDTOFromJSON(json: any): ApiPolicyWaiverDTO; export declare function ApiPolicyWaiverDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPolicyWaiverDTO; export declare function ApiPolicyWaiverDTOToJSON(json: any): ApiPolicyWaiverDTO; export declare function ApiPolicyWaiverDTOToJSONTyped(value?: ApiPolicyWaiverDTO | null, ignoreDiscriminator?: boolean): any;