/** * 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 { Condition } from './Condition'; /** * * @export * @interface Constraint */ export interface Constraint { /** * * @type {Array} * @memberof Constraint */ conditions?: Array; /** * * @type {string} * @memberof Constraint */ id?: string; /** * * @type {string} * @memberof Constraint */ name?: string; /** * * @type {string} * @memberof Constraint */ operator?: ConstraintOperatorEnum; } /** * @export */ export declare const ConstraintOperatorEnum: { readonly And: "AND"; readonly Or: "OR"; }; export type ConstraintOperatorEnum = typeof ConstraintOperatorEnum[keyof typeof ConstraintOperatorEnum]; /** * Check if a given object implements the Constraint interface. */ export declare function instanceOfConstraint(value: object): value is Constraint; export declare function ConstraintFromJSON(json: any): Constraint; export declare function ConstraintFromJSONTyped(json: any, ignoreDiscriminator: boolean): Constraint; export declare function ConstraintToJSON(json: any): Constraint; export declare function ConstraintToJSONTyped(value?: Constraint | null, ignoreDiscriminator?: boolean): any;