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