/* Options: Date: 2025-05-06 15:01:02 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: VenueOwnerTicketTypeConnectionSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class VenueOwnerTicketTypeConnection implements IConvertible { int? id; int? venueSeatingSectionId; int? ownerTicketId; int? maxTickets; int? venueId; VenueOwnerTicketTypeConnection({this.id,this.venueSeatingSectionId,this.ownerTicketId,this.maxTickets,this.venueId}); VenueOwnerTicketTypeConnection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; venueSeatingSectionId = json['venueSeatingSectionId']; ownerTicketId = json['ownerTicketId']; maxTickets = json['maxTickets']; venueId = json['venueId']; return this; } Map toJson() => { 'id': id, 'venueSeatingSectionId': venueSeatingSectionId, 'ownerTicketId': ownerTicketId, 'maxTickets': maxTickets, 'venueId': venueId }; getTypeName() => "VenueOwnerTicketTypeConnection"; TypeContext? context = _ctx; } class VenueOwnerTicketTypeConnectionSearchResult implements IConvertible { List? items; int? statusCode; String? message; VenueOwnerTicketTypeConnectionSearchResult({this.items,this.statusCode,this.message}); VenueOwnerTicketTypeConnectionSearchResult.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() => "VenueOwnerTicketTypeConnectionSearchResult"; TypeContext? context = _ctx; } // @Route("/VenueOwnerTicketTypeConnections", "POST") class VenueOwnerTicketTypeConnectionSearchRequest implements IReturn, IConvertible { int? venueId; int? sectionId; int? ownerId; int? ticketTypeId; VenueOwnerTicketTypeConnectionSearchRequest({this.venueId,this.sectionId,this.ownerId,this.ticketTypeId}); VenueOwnerTicketTypeConnectionSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { venueId = json['venueId']; sectionId = json['sectionId']; ownerId = json['ownerId']; ticketTypeId = json['ticketTypeId']; return this; } Map toJson() => { 'venueId': venueId, 'sectionId': sectionId, 'ownerId': ownerId, 'ticketTypeId': ticketTypeId }; createResponse() => VenueOwnerTicketTypeConnectionSearchResult(); getResponseTypeName() => "VenueOwnerTicketTypeConnectionSearchResult"; getTypeName() => "VenueOwnerTicketTypeConnectionSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'VenueOwnerTicketTypeConnection': TypeInfo(TypeOf.Class, create:() => VenueOwnerTicketTypeConnection()), 'VenueOwnerTicketTypeConnectionSearchResult': TypeInfo(TypeOf.Class, create:() => VenueOwnerTicketTypeConnectionSearchResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'VenueOwnerTicketTypeConnectionSearchRequest': TypeInfo(TypeOf.Class, create:() => VenueOwnerTicketTypeConnectionSearchRequest()), });