/* Options: Date: 2024-11-21 03:08:07 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ResourceItemSearchRequest.* //ExcludeTypes: //DefaultImports: */ export class BasicResourceLibraryRequest { public resourceLibraryMemberId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Tag { public id: string; public title: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ResourceItemForSearch { public id: string; public type: string; public categories: string[]; public categoryIndexes: string[]; public title: string; public description: string; public descriptionSummary: string; public content: string; public tags: string[]; public isComplete: boolean; public isFavorite: boolean; public isImplicitlyComplete: boolean; public transcript: string; public thumbnail: string; public difficulty: string; public duration: string; public mediaPath: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SearchResult { public id: string; public resourceItems: ResourceItemForSearch[]; public searchItems: ResourceItemForSearch[]; public tags: Tag[]; public itemCount: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ResourceItemSearchResponse { public searchResults: SearchResult; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/searchResults", "GET") export class ResourceItemSearchRequest extends BasicResourceLibraryRequest implements IReturn { public request: string; public tags: string[]; public categoryId: string; public offset: number; public limit: number; public digitalFitness: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'ResourceItemSearchRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new ResourceItemSearchResponse(); } }