/* 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 MonitorIntegrationService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public create(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/integration/create', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateConfig(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/integration/updateConfig', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public activate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/integration/activate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deactivate(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/integration/deactivate', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public delete(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/integration/delete', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public view(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/integration/view', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }