/* Options: Date: 2026-05-19 04:44:04 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: EventSeatingFindAndReserveRequest.* //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 FoundSeat implements IConvertible { int? id; String? name; String? rowName; String? sectionName; int? sectionId; FoundSeat({this.id,this.name,this.rowName,this.sectionName,this.sectionId}); FoundSeat.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; rowName = json['rowName']; sectionName = json['sectionName']; sectionId = json['sectionId']; return this; } Map toJson() => { 'id': id, 'name': name, 'rowName': rowName, 'sectionName': sectionName, 'sectionId': sectionId }; getTypeName() => "FoundSeat"; TypeContext? context = _ctx; } class EventSeatingFindAndReserveResult implements IConvertible { int? statusCode; String? message; String? reservationTokenId; int? totalCandidates; List? seats; EventSeatingFindAndReserveResult({this.statusCode,this.message,this.reservationTokenId,this.totalCandidates,this.seats}); EventSeatingFindAndReserveResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; reservationTokenId = json['reservationTokenId']; totalCandidates = json['totalCandidates']; seats = JsonConverters.fromJson(json['seats'],'List',context!); return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'reservationTokenId': reservationTokenId, 'totalCandidates': totalCandidates, 'seats': JsonConverters.toJson(seats,'List',context!) }; getTypeName() => "EventSeatingFindAndReserveResult"; TypeContext? context = _ctx; } // @Route("/EventSeatingFindAndReserve", "POST") class EventSeatingFindAndReserveRequest implements IReturn, IConvertible { int? eventId; int? quantity; int? sectionId; String? reservationTokenId; String? phoneVerificationNumber; int? skipIndex; String? deviceId; int? requestUnixUTCTimeStamp; RequestSignature? signature; EventSeatingFindAndReserveRequest({this.eventId,this.quantity,this.sectionId,this.reservationTokenId,this.phoneVerificationNumber,this.skipIndex,this.deviceId,this.requestUnixUTCTimeStamp,this.signature}); EventSeatingFindAndReserveRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; quantity = json['quantity']; sectionId = json['sectionId']; reservationTokenId = json['reservationTokenId']; phoneVerificationNumber = json['phoneVerificationNumber']; skipIndex = json['skipIndex']; deviceId = json['deviceId']; requestUnixUTCTimeStamp = json['requestUnixUTCTimeStamp']; signature = JsonConverters.fromJson(json['signature'],'RequestSignature',context!); return this; } Map toJson() => { 'eventId': eventId, 'quantity': quantity, 'sectionId': sectionId, 'reservationTokenId': reservationTokenId, 'phoneVerificationNumber': phoneVerificationNumber, 'skipIndex': skipIndex, 'deviceId': deviceId, 'requestUnixUTCTimeStamp': requestUnixUTCTimeStamp, 'signature': JsonConverters.toJson(signature,'RequestSignature',context!) }; createResponse() => EventSeatingFindAndReserveResult(); getResponseTypeName() => "EventSeatingFindAndReserveResult"; getTypeName() => "EventSeatingFindAndReserveRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'RequestSignature': TypeInfo(TypeOf.Class, create:() => RequestSignature()), 'FoundSeat': TypeInfo(TypeOf.Class, create:() => FoundSeat()), 'EventSeatingFindAndReserveResult': TypeInfo(TypeOf.Class, create:() => EventSeatingFindAndReserveResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventSeatingFindAndReserveRequest': TypeInfo(TypeOf.Class, create:() => EventSeatingFindAndReserveRequest()), });