/* Options: Date: 2026-05-19 10:58:29 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: GetPhoneTypes.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PhoneType implements IConvertible { /** * Booster Phone Type */ // @ApiMember(Description="Booster Phone Type", IsRequired=true) String? phoneType; /** * Phone type description translation */ // @ApiMember(Description="Phone type description translation", IsRequired=true) String? translation; PhoneType({this.phoneType,this.translation}); PhoneType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { phoneType = json['phoneType']; translation = json['translation']; return this; } Map toJson() => { 'phoneType': phoneType, 'translation': translation }; getTypeName() => "PhoneType"; TypeContext? context = _ctx; } class GetPhoneTypesResponse extends ListBase implements IConvertible { final List l = []; set length(int newLength) { l.length = newLength; } int get length => l.length; PhoneType operator [](int index) => l[index]; void operator []=(int index, PhoneType value) { l[index] = value; } GetPhoneTypesResponse(); GetPhoneTypesResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "GetPhoneTypesResponse"; TypeContext? context = _ctx; } // @Route("/phoneTypes", "GET") class GetPhoneTypes implements IReturn, IConvertible, IGet { GetPhoneTypes(); GetPhoneTypes.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetPhoneTypesResponse(); getResponseTypeName() => "GetPhoneTypesResponse"; getTypeName() => "GetPhoneTypes"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'PhoneType': TypeInfo(TypeOf.Class, create:() => PhoneType()), 'GetPhoneTypesResponse': TypeInfo(TypeOf.Class, create:() => GetPhoneTypesResponse()), 'GetPhoneTypes': TypeInfo(TypeOf.Class, create:() => GetPhoneTypes()), });