/* 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 MonitorAssetsService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public create(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/create', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public import(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/import', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public update(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/update', 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/assets/deactivate', 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/assets/activate', 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/assets/getById', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getRelatedAssets(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/getRelatedAssets', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getMany(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/getMany', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getByType(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/getByType', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAssetTypeWise(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/getAssetTypeWise', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAssets(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/getAssets', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public patchAssets(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/patchAssets', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public search(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/search', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAssetStatistics(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/monitor/assets/getAssetStatistics', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }