/* Options: Date: 2025-05-06 14:08:46 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EventSeriesTicketTypeConnectionSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventSeriesTicketTypeConnection implements IConvertible { int? id; int? eventSeatingSectionId; int? seriesTicketId; int? maxTickets; int? eventId; EventSeriesTicketTypeConnection({this.id,this.eventSeatingSectionId,this.seriesTicketId,this.maxTickets,this.eventId}); EventSeriesTicketTypeConnection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; eventSeatingSectionId = json['eventSeatingSectionId']; seriesTicketId = json['seriesTicketId']; maxTickets = json['maxTickets']; eventId = json['eventId']; return this; } Map toJson() => { 'id': id, 'eventSeatingSectionId': eventSeatingSectionId, 'seriesTicketId': seriesTicketId, 'maxTickets': maxTickets, 'eventId': eventId }; getTypeName() => "EventSeriesTicketTypeConnection"; TypeContext? context = _ctx; } class EventSeriesTicketTypeConnectionSearchResult implements IConvertible { List? items; int? statusCode; String? message; EventSeriesTicketTypeConnectionSearchResult({this.items,this.statusCode,this.message}); EventSeriesTicketTypeConnectionSearchResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { items = JsonConverters.fromJson(json['items'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'items': JsonConverters.toJson(items,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "EventSeriesTicketTypeConnectionSearchResult"; TypeContext? context = _ctx; } // @Route("/EventSeriesTicketTypeConnections", "POST") class EventSeriesTicketTypeConnectionSearchRequest implements IReturn, IConvertible { int? eventId; int? sectionId; int? ticketTypeId; EventSeriesTicketTypeConnectionSearchRequest({this.eventId,this.sectionId,this.ticketTypeId}); EventSeriesTicketTypeConnectionSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; sectionId = json['sectionId']; ticketTypeId = json['ticketTypeId']; return this; } Map toJson() => { 'eventId': eventId, 'sectionId': sectionId, 'ticketTypeId': ticketTypeId }; createResponse() => EventSeriesTicketTypeConnectionSearchResult(); getResponseTypeName() => "EventSeriesTicketTypeConnectionSearchResult"; getTypeName() => "EventSeriesTicketTypeConnectionSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventSeriesTicketTypeConnection': TypeInfo(TypeOf.Class, create:() => EventSeriesTicketTypeConnection()), 'EventSeriesTicketTypeConnectionSearchResult': TypeInfo(TypeOf.Class, create:() => EventSeriesTicketTypeConnectionSearchResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventSeriesTicketTypeConnectionSearchRequest': TypeInfo(TypeOf.Class, create:() => EventSeriesTicketTypeConnectionSearchRequest()), });