/* Options: Date: 2025-05-06 14:27:12 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: AppEventSeatingSectionTicketTypesSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RequestSignature implements IConvertible { String? systemId; String? systemSecret; String? signature; RequestSignature({this.systemId,this.systemSecret,this.signature}); RequestSignature.fromJson(Map json) { fromMap(json); } fromMap(Map json) { systemId = json['systemId']; systemSecret = json['systemSecret']; signature = json['signature']; return this; } Map toJson() => { 'systemId': systemId, 'systemSecret': systemSecret, 'signature': signature }; getTypeName() => "RequestSignature"; TypeContext? context = _ctx; } class EventSeriesOwnerTicketType implements IConvertible { int? id; String? name; double? defaultPrice; int? seriesId; int? ownerId; int? ticketTypeListOrder; bool? isActive; int? maxTickets; String? ticketColor; bool? showUsedTickets; bool? canOnlyBeBoughtWithTeamPass; bool? isSpecialTicket; String? specialTicketId; bool? onlyForKsi; DateTime? timestampCreated; DateTime? timestampLastChanged; bool? ticketsForSalePerEvent; String? imageUrl; bool? holderInfoRequired; int? eventSeriesOwnerSeatingSectionId; bool? canOnlyBeBought; bool? canNotBeBought; bool? blockTransfer; int? maxTicketsPerTransaction; bool? forceSingleTickets; int? onlyForEvent; String? currency; EventSeriesOwnerTicketType({this.id,this.name,this.defaultPrice,this.seriesId,this.ownerId,this.ticketTypeListOrder,this.isActive,this.maxTickets,this.ticketColor,this.showUsedTickets,this.canOnlyBeBoughtWithTeamPass,this.isSpecialTicket,this.specialTicketId,this.onlyForKsi,this.timestampCreated,this.timestampLastChanged,this.ticketsForSalePerEvent,this.imageUrl,this.holderInfoRequired,this.eventSeriesOwnerSeatingSectionId,this.canOnlyBeBought,this.canNotBeBought,this.blockTransfer,this.maxTicketsPerTransaction,this.forceSingleTickets,this.onlyForEvent,this.currency}); EventSeriesOwnerTicketType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; defaultPrice = JsonConverters.toDouble(json['defaultPrice']); seriesId = json['seriesId']; ownerId = json['ownerId']; ticketTypeListOrder = json['ticketTypeListOrder']; isActive = json['isActive']; maxTickets = json['maxTickets']; ticketColor = json['ticketColor']; showUsedTickets = json['showUsedTickets']; canOnlyBeBoughtWithTeamPass = json['canOnlyBeBoughtWithTeamPass']; isSpecialTicket = json['isSpecialTicket']; specialTicketId = json['specialTicketId']; onlyForKsi = json['onlyForKsi']; timestampCreated = JsonConverters.fromJson(json['timestampCreated'],'DateTime',context!); timestampLastChanged = JsonConverters.fromJson(json['timestampLastChanged'],'DateTime',context!); ticketsForSalePerEvent = json['ticketsForSalePerEvent']; imageUrl = json['imageUrl']; holderInfoRequired = json['holderInfoRequired']; eventSeriesOwnerSeatingSectionId = json['eventSeriesOwnerSeatingSectionId']; canOnlyBeBought = json['canOnlyBeBought']; canNotBeBought = json['canNotBeBought']; blockTransfer = json['blockTransfer']; maxTicketsPerTransaction = json['maxTicketsPerTransaction']; forceSingleTickets = json['forceSingleTickets']; onlyForEvent = json['onlyForEvent']; currency = json['currency']; return this; } Map toJson() => { 'id': id, 'name': name, 'defaultPrice': defaultPrice, 'seriesId': seriesId, 'ownerId': ownerId, 'ticketTypeListOrder': ticketTypeListOrder, 'isActive': isActive, 'maxTickets': maxTickets, 'ticketColor': ticketColor, 'showUsedTickets': showUsedTickets, 'canOnlyBeBoughtWithTeamPass': canOnlyBeBoughtWithTeamPass, 'isSpecialTicket': isSpecialTicket, 'specialTicketId': specialTicketId, 'onlyForKsi': onlyForKsi, 'timestampCreated': JsonConverters.toJson(timestampCreated,'DateTime',context!), 'timestampLastChanged': JsonConverters.toJson(timestampLastChanged,'DateTime',context!), 'ticketsForSalePerEvent': ticketsForSalePerEvent, 'imageUrl': imageUrl, 'holderInfoRequired': holderInfoRequired, 'eventSeriesOwnerSeatingSectionId': eventSeriesOwnerSeatingSectionId, 'canOnlyBeBought': canOnlyBeBought, 'canNotBeBought': canNotBeBought, 'blockTransfer': blockTransfer, 'maxTicketsPerTransaction': maxTicketsPerTransaction, 'forceSingleTickets': forceSingleTickets, 'onlyForEvent': onlyForEvent, 'currency': currency }; getTypeName() => "EventSeriesOwnerTicketType"; TypeContext? context = _ctx; } class MyOwnerCards implements IConvertible { int? id; String? phoneFullVerificationNumber; int? ownerId; int? cardTypeId; String? name; String? imageUrl; String? description; int? ticketTypeMaxTickets; DateTime? cardValidFromUTC; DateTime? cardValidToUTC; int? currentAvailableTickets; int? initialMaxTickets; String? deviceId; String? holderId; String? holderName; String? holderEmail; double? initialStoreCredit; double? currentStoreCredit; bool? hasStoreCredit; DateTime? timeStampBoughtUTC; MyOwnerCards({this.id,this.phoneFullVerificationNumber,this.ownerId,this.cardTypeId,this.name,this.imageUrl,this.description,this.ticketTypeMaxTickets,this.cardValidFromUTC,this.cardValidToUTC,this.currentAvailableTickets,this.initialMaxTickets,this.deviceId,this.holderId,this.holderName,this.holderEmail,this.initialStoreCredit,this.currentStoreCredit,this.hasStoreCredit,this.timeStampBoughtUTC}); MyOwnerCards.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; phoneFullVerificationNumber = json['phoneFullVerificationNumber']; ownerId = json['ownerId']; cardTypeId = json['cardTypeId']; name = json['name']; imageUrl = json['imageUrl']; description = json['description']; ticketTypeMaxTickets = json['ticketTypeMaxTickets']; cardValidFromUTC = JsonConverters.fromJson(json['cardValidFromUTC'],'DateTime',context!); cardValidToUTC = JsonConverters.fromJson(json['cardValidToUTC'],'DateTime',context!); currentAvailableTickets = json['currentAvailableTickets']; initialMaxTickets = json['initialMaxTickets']; deviceId = json['deviceId']; holderId = json['holderId']; holderName = json['holderName']; holderEmail = json['holderEmail']; initialStoreCredit = JsonConverters.toDouble(json['initialStoreCredit']); currentStoreCredit = JsonConverters.toDouble(json['currentStoreCredit']); hasStoreCredit = json['hasStoreCredit']; timeStampBoughtUTC = JsonConverters.fromJson(json['timeStampBoughtUTC'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'phoneFullVerificationNumber': phoneFullVerificationNumber, 'ownerId': ownerId, 'cardTypeId': cardTypeId, 'name': name, 'imageUrl': imageUrl, 'description': description, 'ticketTypeMaxTickets': ticketTypeMaxTickets, 'cardValidFromUTC': JsonConverters.toJson(cardValidFromUTC,'DateTime',context!), 'cardValidToUTC': JsonConverters.toJson(cardValidToUTC,'DateTime',context!), 'currentAvailableTickets': currentAvailableTickets, 'initialMaxTickets': initialMaxTickets, 'deviceId': deviceId, 'holderId': holderId, 'holderName': holderName, 'holderEmail': holderEmail, 'initialStoreCredit': initialStoreCredit, 'currentStoreCredit': currentStoreCredit, 'hasStoreCredit': hasStoreCredit, 'timeStampBoughtUTC': JsonConverters.toJson(timeStampBoughtUTC,'DateTime',context!) }; getTypeName() => "MyOwnerCards"; TypeContext? context = _ctx; } class AppEventSeatingSectionOwnerTicketTypesItem implements IConvertible { EventSeriesOwnerTicketType? ticketType; List? myCards; AppEventSeatingSectionOwnerTicketTypesItem({this.ticketType,this.myCards}); AppEventSeatingSectionOwnerTicketTypesItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ticketType = JsonConverters.fromJson(json['ticketType'],'EventSeriesOwnerTicketType',context!); myCards = JsonConverters.fromJson(json['myCards'],'List',context!); return this; } Map toJson() => { 'ticketType': JsonConverters.toJson(ticketType,'EventSeriesOwnerTicketType',context!), 'myCards': JsonConverters.toJson(myCards,'List',context!) }; getTypeName() => "AppEventSeatingSectionOwnerTicketTypesItem"; TypeContext? context = _ctx; } class EventSeriesTicketType implements IConvertible { int? id; String? name; double? defaultPrice; int? seriesId; int? ticketTypeListOrder; bool? isActive; String? ticketColor; bool? showUsedTickets; bool? isSpecialTicket; String? specialTicketId; bool? onlyForKsi; bool? holderInfoRequired; bool? blockTransfer; int? maxTicketsPerTransaction; String? currency; EventSeriesTicketType({this.id,this.name,this.defaultPrice,this.seriesId,this.ticketTypeListOrder,this.isActive,this.ticketColor,this.showUsedTickets,this.isSpecialTicket,this.specialTicketId,this.onlyForKsi,this.holderInfoRequired,this.blockTransfer,this.maxTicketsPerTransaction,this.currency}); EventSeriesTicketType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; defaultPrice = JsonConverters.toDouble(json['defaultPrice']); seriesId = json['seriesId']; ticketTypeListOrder = json['ticketTypeListOrder']; isActive = json['isActive']; ticketColor = json['ticketColor']; showUsedTickets = json['showUsedTickets']; isSpecialTicket = json['isSpecialTicket']; specialTicketId = json['specialTicketId']; onlyForKsi = json['onlyForKsi']; holderInfoRequired = json['holderInfoRequired']; blockTransfer = json['blockTransfer']; maxTicketsPerTransaction = json['maxTicketsPerTransaction']; currency = json['currency']; return this; } Map toJson() => { 'id': id, 'name': name, 'defaultPrice': defaultPrice, 'seriesId': seriesId, 'ticketTypeListOrder': ticketTypeListOrder, 'isActive': isActive, 'ticketColor': ticketColor, 'showUsedTickets': showUsedTickets, 'isSpecialTicket': isSpecialTicket, 'specialTicketId': specialTicketId, 'onlyForKsi': onlyForKsi, 'holderInfoRequired': holderInfoRequired, 'blockTransfer': blockTransfer, 'maxTicketsPerTransaction': maxTicketsPerTransaction, 'currency': currency }; getTypeName() => "EventSeriesTicketType"; TypeContext? context = _ctx; } class MySeriesControllerCards implements IConvertible { int? id; String? phoneFullVerificationNumber; String? ownerId; String? cardTypeId; String? name; String? description; String? cardTypeOwner; int? maxTicketsPerEvent; DateTime? creationDate; String? deviceId; String? holderName; String? canTransferToName; String? canTransferToPhoneFullNumber; String? expYear; String? expMonth; MySeriesControllerCards({this.id,this.phoneFullVerificationNumber,this.ownerId,this.cardTypeId,this.name,this.description,this.cardTypeOwner,this.maxTicketsPerEvent,this.creationDate,this.deviceId,this.holderName,this.canTransferToName,this.canTransferToPhoneFullNumber,this.expYear,this.expMonth}); MySeriesControllerCards.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; phoneFullVerificationNumber = json['phoneFullVerificationNumber']; ownerId = json['ownerId']; cardTypeId = json['cardTypeId']; name = json['name']; description = json['description']; cardTypeOwner = json['cardTypeOwner']; maxTicketsPerEvent = json['maxTicketsPerEvent']; creationDate = JsonConverters.fromJson(json['creationDate'],'DateTime',context!); deviceId = json['deviceId']; holderName = json['holderName']; canTransferToName = json['canTransferToName']; canTransferToPhoneFullNumber = json['canTransferToPhoneFullNumber']; expYear = json['expYear']; expMonth = json['expMonth']; return this; } Map toJson() => { 'id': id, 'phoneFullVerificationNumber': phoneFullVerificationNumber, 'ownerId': ownerId, 'cardTypeId': cardTypeId, 'name': name, 'description': description, 'cardTypeOwner': cardTypeOwner, 'maxTicketsPerEvent': maxTicketsPerEvent, 'creationDate': JsonConverters.toJson(creationDate,'DateTime',context!), 'deviceId': deviceId, 'holderName': holderName, 'canTransferToName': canTransferToName, 'canTransferToPhoneFullNumber': canTransferToPhoneFullNumber, 'expYear': expYear, 'expMonth': expMonth }; getTypeName() => "MySeriesControllerCards"; TypeContext? context = _ctx; } class AppEventSeatingSectionSeriesTicketTypesItem implements IConvertible { EventSeriesTicketType? ticketType; List? myCards; AppEventSeatingSectionSeriesTicketTypesItem({this.ticketType,this.myCards}); AppEventSeatingSectionSeriesTicketTypesItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ticketType = JsonConverters.fromJson(json['ticketType'],'EventSeriesTicketType',context!); myCards = JsonConverters.fromJson(json['myCards'],'List',context!); return this; } Map toJson() => { 'ticketType': JsonConverters.toJson(ticketType,'EventSeriesTicketType',context!), 'myCards': JsonConverters.toJson(myCards,'List',context!) }; getTypeName() => "AppEventSeatingSectionSeriesTicketTypesItem"; TypeContext? context = _ctx; } class AppEventSeatingSectionTicketTypesSearchResult implements IConvertible { int? statusCode; String? message; List? ownerTicketTypes; List? seriesTicketTypes; AppEventSeatingSectionTicketTypesSearchResult({this.statusCode,this.message,this.ownerTicketTypes,this.seriesTicketTypes}); AppEventSeatingSectionTicketTypesSearchResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; ownerTicketTypes = JsonConverters.fromJson(json['ownerTicketTypes'],'List',context!); seriesTicketTypes = JsonConverters.fromJson(json['seriesTicketTypes'],'List',context!); return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'ownerTicketTypes': JsonConverters.toJson(ownerTicketTypes,'List',context!), 'seriesTicketTypes': JsonConverters.toJson(seriesTicketTypes,'List',context!) }; getTypeName() => "AppEventSeatingSectionTicketTypesSearchResult"; TypeContext? context = _ctx; } // @Route("/AppSeatingTicketTypesInSectionSearch", "POST") class AppEventSeatingSectionTicketTypesSearchRequest implements IReturn, IConvertible { int? eventId; int? ownerId; int? eventSectionId; bool? includeMyPaymentCards; String? phoneVerificationNumber; String? deviceId; int? requestUnixUTCTimeStamp; RequestSignature? signature; AppEventSeatingSectionTicketTypesSearchRequest({this.eventId,this.ownerId,this.eventSectionId,this.includeMyPaymentCards,this.phoneVerificationNumber,this.deviceId,this.requestUnixUTCTimeStamp,this.signature}); AppEventSeatingSectionTicketTypesSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; ownerId = json['ownerId']; eventSectionId = json['eventSectionId']; includeMyPaymentCards = json['includeMyPaymentCards']; phoneVerificationNumber = json['phoneVerificationNumber']; deviceId = json['deviceId']; requestUnixUTCTimeStamp = json['requestUnixUTCTimeStamp']; signature = JsonConverters.fromJson(json['signature'],'RequestSignature',context!); return this; } Map toJson() => { 'eventId': eventId, 'ownerId': ownerId, 'eventSectionId': eventSectionId, 'includeMyPaymentCards': includeMyPaymentCards, 'phoneVerificationNumber': phoneVerificationNumber, 'deviceId': deviceId, 'requestUnixUTCTimeStamp': requestUnixUTCTimeStamp, 'signature': JsonConverters.toJson(signature,'RequestSignature',context!) }; createResponse() => AppEventSeatingSectionTicketTypesSearchResult(); getResponseTypeName() => "AppEventSeatingSectionTicketTypesSearchResult"; getTypeName() => "AppEventSeatingSectionTicketTypesSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'RequestSignature': TypeInfo(TypeOf.Class, create:() => RequestSignature()), 'EventSeriesOwnerTicketType': TypeInfo(TypeOf.Class, create:() => EventSeriesOwnerTicketType()), 'MyOwnerCards': TypeInfo(TypeOf.Class, create:() => MyOwnerCards()), 'AppEventSeatingSectionOwnerTicketTypesItem': TypeInfo(TypeOf.Class, create:() => AppEventSeatingSectionOwnerTicketTypesItem()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventSeriesTicketType': TypeInfo(TypeOf.Class, create:() => EventSeriesTicketType()), 'MySeriesControllerCards': TypeInfo(TypeOf.Class, create:() => MySeriesControllerCards()), 'AppEventSeatingSectionSeriesTicketTypesItem': TypeInfo(TypeOf.Class, create:() => AppEventSeatingSectionSeriesTicketTypesItem()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AppEventSeatingSectionTicketTypesSearchResult': TypeInfo(TypeOf.Class, create:() => AppEventSeatingSectionTicketTypesSearchResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AppEventSeatingSectionTicketTypesSearchRequest': TypeInfo(TypeOf.Class, create:() => AppEventSeatingSectionTicketTypesSearchRequest()), });