/** * 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 { Constraint } from './Constraint'; import type { Notifications } from './Notifications'; /** * * @export * @interface Policy */ export interface Policy { /** * * @type {{ [key: string]: string; }} * @memberof Policy */ actions?: { [key: string]: string; }; /** * * @type {Array} * @memberof Policy */ constraints?: Array; /** * * @type {string} * @memberof Policy */ id?: string; /** * * @type {boolean} * @memberof Policy */ legacyViolationAllowed?: boolean; /** * * @type {string} * @memberof Policy */ name?: string; /** * * @type {Notifications} * @memberof Policy */ notifications?: Notifications; /** * * @type {string} * @memberof Policy */ ownerId?: string; /** * * @type {boolean} * @memberof Policy */ policyActionsOverrideAllowed?: boolean; /** * * @type {{ [key: string]: { [key: string]: string; }; }} * @memberof Policy */ policyActionsOverrides?: { [key: string]: { [key: string]: string; }; }; /** * * @type {boolean} * @memberof Policy */ policyNotificationsOverrideAllowed?: boolean; /** * * @type {{ [key: string]: Notifications; }} * @memberof Policy */ policyNotificationsOverrides?: { [key: string]: Notifications; }; /** * * @type {boolean} * @memberof Policy */ policyViolationGrandfatheringAllowed?: boolean; /** * * @type {number} * @memberof Policy */ threatLevel?: number; } /** * Check if a given object implements the Policy interface. */ export declare function instanceOfPolicy(value: object): value is Policy; export declare function PolicyFromJSON(json: any): Policy; export declare function PolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Policy; export declare function PolicyToJSON(json: any): Policy; export declare function PolicyToJSONTyped(value?: Policy | null, ignoreDiscriminator?: boolean): any;