/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { BaseResponse_Page_CourseResources_ } from '../models/BaseResponse_Page_CourseResources_'; import type { CancelablePromise } from '../core/CancelablePromise'; import { OpenAPI } from '../core/OpenAPI'; import { request as __request } from '../core/request'; export class FavourInformationControllerService { /** * getInformation2 * @param resourceIdList resourceIdList * @param type type * @param current * @param pageSize * @param sortField * @param sortOrder * @returns BaseResponse_Page_CourseResources_ OK * @throws ApiError */ public static getInformation2UsingGet1( resourceIdList: Array, type: number, current?: number, pageSize?: number, sortField?: string, sortOrder?: string, ): CancelablePromise { return __request(OpenAPI, { method: 'GET', url: '/Favour/get', query: { 'current': current, 'pageSize': pageSize, 'sortField': sortField, 'sortOrder': sortOrder, 'resourceIdList': resourceIdList, 'type': type, }, errors: { 401: `Unauthorized`, 403: `Forbidden`, 404: `Not Found`, }, }); } }