/* Options: Date: 2025-12-10 20:19:06 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: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SizeType { static const SizeType Unknown = const SizeType._(0); static const SizeType Full = const SizeType._(1); static const SizeType Small = const SizeType._(2); static const SizeType Medium = const SizeType._(3); static const SizeType Large = const SizeType._(4); static const SizeType XLarge = const SizeType._(5); final int _value; const SizeType._(this._value); int get value => _value; static List get values => const [Unknown,Full,Small,Medium,Large,XLarge]; } // @Route("/image", "GET") // @Route("/image/{id}", "GET") class GetImage implements IConvertible { // @ApiMember(DataType="int", IsRequired=true) int? Id; /** * Manually control the server resizing of the image. */ // @ApiMember(Description="Manually control the server resizing of the image.") SizeType? ImageSize; /** * Set to true to return the image in Base64 format. */ // @ApiMember(DataType="boolean", Description="Set to true to return the image in Base64 format.") bool? Base64; /** * Force this file to be returned as a thumbnail (small) */ // @ApiMember(Description="Force this file to be returned as a thumbnail (small)") bool? Thumbnail; GetImage({this.Id,this.ImageSize,this.Base64,this.Thumbnail}); GetImage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ImageSize = JsonConverters.fromJson(json['ImageSize'],'SizeType',context!); Base64 = json['Base64']; Thumbnail = json['Thumbnail']; return this; } Map toJson() => { 'Id': Id, 'ImageSize': JsonConverters.toJson(ImageSize,'SizeType',context!), 'Base64': Base64, 'Thumbnail': Thumbnail }; getTypeName() => "GetImage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'galaxymobile.api.dev.86degrees.com', types: { 'SizeType': TypeInfo(TypeOf.Enum, enumValues:SizeType.values), 'GetImage': TypeInfo(TypeOf.Class, create:() => GetImage()), });