/** * 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. */ /** * * @export * @interface ApiPolicyDTO */ export interface ApiPolicyDTO { /** * * @type {string} * @memberof ApiPolicyDTO */ id?: string; /** * * @type {string} * @memberof ApiPolicyDTO */ name?: string; /** * * @type {string} * @memberof ApiPolicyDTO */ ownerId?: string; /** * * @type {string} * @memberof ApiPolicyDTO */ ownerType?: ApiPolicyDTOOwnerTypeEnum; /** * * @type {string} * @memberof ApiPolicyDTO */ policyType?: string; /** * * @type {number} * @memberof ApiPolicyDTO */ threatLevel?: number; } /** * @export */ export declare const ApiPolicyDTOOwnerTypeEnum: { readonly Application: "APPLICATION"; readonly Organization: "ORGANIZATION"; readonly RepositoryContainer: "REPOSITORY_CONTAINER"; readonly RepositoryManager: "REPOSITORY_MANAGER"; readonly Repository: "REPOSITORY"; }; export type ApiPolicyDTOOwnerTypeEnum = typeof ApiPolicyDTOOwnerTypeEnum[keyof typeof ApiPolicyDTOOwnerTypeEnum]; /** * Check if a given object implements the ApiPolicyDTO interface. */ export declare function instanceOfApiPolicyDTO(value: object): value is ApiPolicyDTO; export declare function ApiPolicyDTOFromJSON(json: any): ApiPolicyDTO; export declare function ApiPolicyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPolicyDTO; export declare function ApiPolicyDTOToJSON(json: any): ApiPolicyDTO; export declare function ApiPolicyDTOToJSONTyped(value?: ApiPolicyDTO | null, ignoreDiscriminator?: boolean): any;