""" Options: Date: 2024-11-21 05:13:12 Version: 6.00 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: SubTopicsRequest.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class BasicResourceLibraryRequest: resource_library_member_id: int = 0 @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SubTopic: id: Optional[str] = None title: Optional[str] = None resource_count: int = 0 resource_items: Optional[List[ResourceItem]] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SubTopicsResponse: sub_topics: Optional[List[SubTopic]] = None # @Route("/subtopicItems", "GET") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SubTopicsRequest(BasicResourceLibraryRequest, IReturn[SubTopicsResponse]): include_completion_status: bool = False # @ApiMember(Description="Set it to true if the subtopics being requested belogs to digital fitness. Don't set it if unsure.") digital_fitness: bool = False """ Set it to true if the subtopics being requested belogs to digital fitness. Don't set it if unsure. """