/* Options: Date: 2024-12-03 09:22:49 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: TopicRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } 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 ScreenshotItem { public largeFilepathS3: string; public thumbFilepathS3: string; public order: number; public description: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ResourceCard { public id: string; public title: string; public description: string; public descriptionSummary: string; public type: string; public content: string; public isComplete: boolean; public isFavorite: boolean; public isImplicitlyComplete: boolean; public mediaPath: string; public isConfirmable: boolean; public isWcagCompliant: boolean; public duration: string; public preview: string; public calories: number; public instructor: string; public thumbnail: string; public difficulty: string; public tags: Tag[]; public subtitles: string; public screenshots: ScreenshotItem[]; public drmEncrypted: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SubtopicLite { public id: string; public title: string; public resourceCount: number; public resourceItems: ResourceCard[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class TopicLite { public id: string; public subtopicItems: SubtopicLite[]; public resourceItems: ResourceCard[]; public title: string; public isVisible: string; public resourceCount: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class TopicResponse { public topic: TopicLite; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/topics/{topicid}", "GET") export class TopicRequest extends BasicResourceLibraryRequest implements IReturn { public includeCompletionStatus: boolean; public limit: string; public offset: string; public topicId: string; public isMobile: boolean; /** * Set it to true if the topic being requested belogs to digital fitness. Don't set it if unsure. */ // @ApiMember(Description="Set it to true if the topic being requested belogs to digital fitness. Don't set it if unsure.") public digitalFitness: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'TopicRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new TopicResponse(); } }