/** * 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 * as runtime from '../runtime'; import type { ApiLegacyViolationStatusDTO } from '../models/index'; export interface LegacyViolationsConfigurationApiGetConfigRequest { ownerType: string; ownerId: string; } export interface LegacyViolationsConfigurationApiSetConfigRequest { ownerType: string; ownerId: string; apiLegacyViolationStatusDTO?: Omit; } /** * LegacyViolationsConfigurationApi - interface * * @export * @interface LegacyViolationsConfigurationApiInterface */ export interface LegacyViolationsConfigurationApiInterface { /** * Use this method to retrieve the legacy-violation configuration for an owner. Permissions required: View IQ Elements * @param {string} ownerType Owner type. Allowed values: `application`, `organization`. * @param {string} ownerId Public id of the application, or id of the organization. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LegacyViolationsConfigurationApiInterface */ getConfigRaw(requestParameters: LegacyViolationsConfigurationApiGetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the legacy-violation configuration for an owner. Permissions required: View IQ Elements */ getConfig(requestParameters: LegacyViolationsConfigurationApiGetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to update the legacy-violation configuration for an owner. Permissions required: Edit IQ Elements * @param {string} ownerType Owner type. Allowed values: `application`, `organization`. * @param {string} ownerId Public id of the application, or id of the organization. * @param {ApiLegacyViolationStatusDTO} [apiLegacyViolationStatusDTO] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof LegacyViolationsConfigurationApiInterface */ setConfigRaw(requestParameters: LegacyViolationsConfigurationApiSetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to update the legacy-violation configuration for an owner. Permissions required: Edit IQ Elements */ setConfig(requestParameters: LegacyViolationsConfigurationApiSetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class LegacyViolationsConfigurationApi extends runtime.BaseAPI implements LegacyViolationsConfigurationApiInterface { /** * Use this method to retrieve the legacy-violation configuration for an owner. Permissions required: View IQ Elements */ getConfigRaw(requestParameters: LegacyViolationsConfigurationApiGetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to retrieve the legacy-violation configuration for an owner. Permissions required: View IQ Elements */ getConfig(requestParameters: LegacyViolationsConfigurationApiGetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to update the legacy-violation configuration for an owner. Permissions required: Edit IQ Elements */ setConfigRaw(requestParameters: LegacyViolationsConfigurationApiSetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to update the legacy-violation configuration for an owner. Permissions required: Edit IQ Elements */ setConfig(requestParameters: LegacyViolationsConfigurationApiSetConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }