/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export class MonitorReportIncidentService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public insert(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reportIncident/insert', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getById(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reportIncident/getById', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getByUrl(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reportIncident/getByURL', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getWorkspace(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reportIncident/getWorkspace', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getOrgDetails(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/reportIncident/getOrgDetails', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }