/* Options: Date: 2026-10-01 13:31:03 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: VenueSeatingArrangementTicketTypePreviewRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class TemplateTicketTypePreviewItem implements IConvertible { int? ownerTicketTypeId; String? name; double? defaultPrice; String? currency; int? maxTickets; int? sectionCount; List? sectionNames; bool? hiddenFromSale; DateTime? typeCreatedAt; DateTime? lastSoldAt; List? connectionIds; TemplateTicketTypePreviewItem({this.ownerTicketTypeId,this.name,this.defaultPrice,this.currency,this.maxTickets,this.sectionCount,this.sectionNames,this.hiddenFromSale,this.typeCreatedAt,this.lastSoldAt,this.connectionIds}); TemplateTicketTypePreviewItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ownerTicketTypeId = json['ownerTicketTypeId']; name = json['name']; defaultPrice = JsonConverters.toDouble(json['defaultPrice']); currency = json['currency']; maxTickets = json['maxTickets']; sectionCount = json['sectionCount']; sectionNames = JsonConverters.fromJson(json['sectionNames'],'List',context!); hiddenFromSale = json['hiddenFromSale']; typeCreatedAt = JsonConverters.fromJson(json['typeCreatedAt'],'DateTime',context!); lastSoldAt = JsonConverters.fromJson(json['lastSoldAt'],'DateTime',context!); connectionIds = JsonConverters.fromJson(json['connectionIds'],'List',context!); return this; } Map toJson() => { 'ownerTicketTypeId': ownerTicketTypeId, 'name': name, 'defaultPrice': defaultPrice, 'currency': currency, 'maxTickets': maxTickets, 'sectionCount': sectionCount, 'sectionNames': JsonConverters.toJson(sectionNames,'List',context!), 'hiddenFromSale': hiddenFromSale, 'typeCreatedAt': JsonConverters.toJson(typeCreatedAt,'DateTime',context!), 'lastSoldAt': JsonConverters.toJson(lastSoldAt,'DateTime',context!), 'connectionIds': JsonConverters.toJson(connectionIds,'List',context!) }; getTypeName() => "TemplateTicketTypePreviewItem"; TypeContext? context = _ctx; } class VenueSeatingArrangementTicketTypePreviewResponse implements IConvertible { int? arrangementId; int? venueId; List? ticketTypes; int? statusCode; String? message; VenueSeatingArrangementTicketTypePreviewResponse({this.arrangementId,this.venueId,this.ticketTypes,this.statusCode,this.message}); VenueSeatingArrangementTicketTypePreviewResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { arrangementId = json['arrangementId']; venueId = json['venueId']; ticketTypes = JsonConverters.fromJson(json['ticketTypes'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'arrangementId': arrangementId, 'venueId': venueId, 'ticketTypes': JsonConverters.toJson(ticketTypes,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "VenueSeatingArrangementTicketTypePreviewResponse"; TypeContext? context = _ctx; } // @Route("/VenueSeatingArrangement/TicketTypePreview/{ArrangementId}", "GET") class VenueSeatingArrangementTicketTypePreviewRequest implements IReturn, IConvertible { int? arrangementId; VenueSeatingArrangementTicketTypePreviewRequest({this.arrangementId}); VenueSeatingArrangementTicketTypePreviewRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { arrangementId = json['arrangementId']; return this; } Map toJson() => { 'arrangementId': arrangementId }; createResponse() => VenueSeatingArrangementTicketTypePreviewResponse(); getResponseTypeName() => "VenueSeatingArrangementTicketTypePreviewResponse"; getTypeName() => "VenueSeatingArrangementTicketTypePreviewRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'TemplateTicketTypePreviewItem': TypeInfo(TypeOf.Class, create:() => TemplateTicketTypePreviewItem()), 'VenueSeatingArrangementTicketTypePreviewResponse': TypeInfo(TypeOf.Class, create:() => VenueSeatingArrangementTicketTypePreviewResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'VenueSeatingArrangementTicketTypePreviewRequest': TypeInfo(TypeOf.Class, create:() => VenueSeatingArrangementTicketTypePreviewRequest()), });