/* Options: Date: 2026-05-19 09:51:12 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: GetContactMethods.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ContactMethod implements IConvertible { /** * Contact method description */ // @ApiMember(Description="Contact method description", IsRequired=true) String? contactMethod; ContactMethod({this.contactMethod}); ContactMethod.fromJson(Map json) { fromMap(json); } fromMap(Map json) { contactMethod = json['contactMethod']; return this; } Map toJson() => { 'contactMethod': contactMethod }; getTypeName() => "ContactMethod"; TypeContext? context = _ctx; } class GetContactMethodsResponse extends ListBase implements IConvertible { final List l = []; set length(int newLength) { l.length = newLength; } int get length => l.length; ContactMethod operator [](int index) => l[index]; void operator []=(int index, ContactMethod value) { l[index] = value; } GetContactMethodsResponse(); GetContactMethodsResponse.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "GetContactMethodsResponse"; TypeContext? context = _ctx; } // @Route("/contactMethods", "GET") class GetContactMethods implements IReturn, IConvertible, IGet { GetContactMethods(); GetContactMethods.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetContactMethodsResponse(); getResponseTypeName() => "GetContactMethodsResponse"; getTypeName() => "GetContactMethods"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'dev_api_booster.richemont.com', types: { 'ContactMethod': TypeInfo(TypeOf.Class, create:() => ContactMethod()), 'GetContactMethodsResponse': TypeInfo(TypeOf.Class, create:() => GetContactMethodsResponse()), 'GetContactMethods': TypeInfo(TypeOf.Class, create:() => GetContactMethods()), });