/* Options: Date: 2025-05-06 14:31:18 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: EventOwnerTicketTypeConnectionSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventOwnerTicketTypeConnection implements IConvertible { int? id; int? eventSeatingSectionId; int? ownerTicketTypeId; int? maxTickets; int? eventId; EventOwnerTicketTypeConnection({this.id,this.eventSeatingSectionId,this.ownerTicketTypeId,this.maxTickets,this.eventId}); EventOwnerTicketTypeConnection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; eventSeatingSectionId = json['eventSeatingSectionId']; ownerTicketTypeId = json['ownerTicketTypeId']; maxTickets = json['maxTickets']; eventId = json['eventId']; return this; } Map toJson() => { 'id': id, 'eventSeatingSectionId': eventSeatingSectionId, 'ownerTicketTypeId': ownerTicketTypeId, 'maxTickets': maxTickets, 'eventId': eventId }; getTypeName() => "EventOwnerTicketTypeConnection"; TypeContext? context = _ctx; } class EventOwnerTicketTypeConnectionSearchResult implements IConvertible { List? items; int? statusCode; String? message; EventOwnerTicketTypeConnectionSearchResult({this.items,this.statusCode,this.message}); EventOwnerTicketTypeConnectionSearchResult.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() => "EventOwnerTicketTypeConnectionSearchResult"; TypeContext? context = _ctx; } // @Route("/EventOwnerTicketTypeConnections", "POST") class EventOwnerTicketTypeConnectionSearchRequest implements IReturn, IConvertible { int? eventId; int? sectionId; EventOwnerTicketTypeConnectionSearchRequest({this.eventId,this.sectionId}); EventOwnerTicketTypeConnectionSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; sectionId = json['sectionId']; return this; } Map toJson() => { 'eventId': eventId, 'sectionId': sectionId }; createResponse() => EventOwnerTicketTypeConnectionSearchResult(); getResponseTypeName() => "EventOwnerTicketTypeConnectionSearchResult"; getTypeName() => "EventOwnerTicketTypeConnectionSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventOwnerTicketTypeConnection': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeConnection()), 'EventOwnerTicketTypeConnectionSearchResult': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeConnectionSearchResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventOwnerTicketTypeConnectionSearchRequest': TypeInfo(TypeOf.Class, create:() => EventOwnerTicketTypeConnectionSearchRequest()), });