""" Options: Date: 2025-12-10 20:27:57 Version: 6.50 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://galaxymobile.api.dev.86degrees.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: GetImage.* #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 class SizeType(IntEnum): UNKNOWN = 0 FULL = 1 SMALL = 2 MEDIUM = 3 LARGE = 4 X_LARGE = 5 # @Route("/image", "GET") # @Route("/image/{id}", "GET") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class GetImage: # @ApiMember(DataType="int", IsRequired=true) id: int = 0 # @ApiMember(Description="Manually control the server resizing of the image.") image_size: Optional[SizeType] = None """ Manually control the server resizing of the image. """ # @ApiMember(DataType="boolean", Description="Set to true to return the image in Base64 format.") base64: bool = False """ Set to true to return the image in Base64 format. """ # @ApiMember(Description="Force this file to be returned as a thumbnail (small)") thumbnail: bool = False """ Force this file to be returned as a thumbnail (small) """