/* Options: Date: 2026-05-19 09:52:24 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetLanguages.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Language implements IConvertible { /** * Booster ID of the language */ // @ApiMember(Description="Booster ID of the language", IsRequired=true) String? languageId; /** * Description of the language */ // @ApiMember(Description="Description of the language", IsRequired=true) String? description; /** * Language description translation */ // @ApiMember(Description="Language description translation", IsRequired=true) String? translation; Language({this.languageId,this.description,this.translation}); Language.fromJson(Map json) { fromMap(json); } fromMap(Map json) { languageId = json['languageId']; description = json['description']; translation = json['translation']; return this; } Map toJson() => { 'languageId': languageId, 'description': description, 'translation': translation }; getTypeName() => "Language"; TypeContext? context = _ctx; } class GetLanguagesResponse extends ListBase implements IConvertible { final List l = []; set length(int newLength) { l.length = newLength; } int get length => l.length; Language operator [](int index) => l[index]; void operator []=(int index, Language value) { l[index] = value; } GetLanguagesResponse(); GetLanguagesResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "GetLanguagesResponse"; TypeContext? context = _ctx; } // @Route("/languages", "GET") class GetLanguages implements IReturn, IConvertible, IGet { GetLanguages(); GetLanguages.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetLanguagesResponse(); getResponseTypeName() => "GetLanguagesResponse"; getTypeName() => "GetLanguages"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'Language': TypeInfo(TypeOf.Class, create:() => Language()), 'GetLanguagesResponse': TypeInfo(TypeOf.Class, create:() => GetLanguagesResponse()), 'GetLanguages': TypeInfo(TypeOf.Class, create:() => GetLanguages()), });