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