/* Options: Date: 2026-07-03 07:00:26 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: EventSeatingMoveTicketToAnotherEventRequest.* //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 MoveTicketToAnotherEventPair implements IConvertible { int? fromSeatId; int? toSeatId; int? toSeriesTicketTypeId; int? toOwnerTicketTypeId; MoveTicketToAnotherEventPair({this.fromSeatId,this.toSeatId,this.toSeriesTicketTypeId,this.toOwnerTicketTypeId}); MoveTicketToAnotherEventPair.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fromSeatId = json['fromSeatId']; toSeatId = json['toSeatId']; toSeriesTicketTypeId = json['toSeriesTicketTypeId']; toOwnerTicketTypeId = json['toOwnerTicketTypeId']; return this; } Map toJson() => { 'fromSeatId': fromSeatId, 'toSeatId': toSeatId, 'toSeriesTicketTypeId': toSeriesTicketTypeId, 'toOwnerTicketTypeId': toOwnerTicketTypeId }; getTypeName() => "MoveTicketToAnotherEventPair"; TypeContext? context = _ctx; } class MoveTicketToAnotherEventFailure implements IConvertible { int? fromSeatId; int? toSeatId; String? reason; MoveTicketToAnotherEventFailure({this.fromSeatId,this.toSeatId,this.reason}); MoveTicketToAnotherEventFailure.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fromSeatId = json['fromSeatId']; toSeatId = json['toSeatId']; reason = json['reason']; return this; } Map toJson() => { 'fromSeatId': fromSeatId, 'toSeatId': toSeatId, 'reason': reason }; getTypeName() => "MoveTicketToAnotherEventFailure"; TypeContext? context = _ctx; } class MoveTicketToAnotherEventSeatQuote implements IConvertible { int? fromSeatId; int? toSeatId; String? ticketTokenId; double? fromPrice; double? toPrice; double? difference; String? toSeatName; bool? ok; String? message; MoveTicketToAnotherEventSeatQuote({this.fromSeatId,this.toSeatId,this.ticketTokenId,this.fromPrice,this.toPrice,this.difference,this.toSeatName,this.ok,this.message}); MoveTicketToAnotherEventSeatQuote.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fromSeatId = json['fromSeatId']; toSeatId = json['toSeatId']; ticketTokenId = json['ticketTokenId']; fromPrice = JsonConverters.toDouble(json['fromPrice']); toPrice = JsonConverters.toDouble(json['toPrice']); difference = JsonConverters.toDouble(json['difference']); toSeatName = json['toSeatName']; ok = json['ok']; message = json['message']; return this; } Map toJson() => { 'fromSeatId': fromSeatId, 'toSeatId': toSeatId, 'ticketTokenId': ticketTokenId, 'fromPrice': fromPrice, 'toPrice': toPrice, 'difference': difference, 'toSeatName': toSeatName, 'ok': ok, 'message': message }; getTypeName() => "MoveTicketToAnotherEventSeatQuote"; TypeContext? context = _ctx; } class EventSeatingMoveTicketToAnotherEventResult implements IConvertible { int? statusCode; String? message; List? movedSeatIds; List? failures; String? direction; double? priceDifference; bool? reconciliationSkipped; bool? sourceEventPaidOut; bool? outstandingCostHandledByServer; int? reconciliationLogId; double? refundAmount; String? refundPaymentReference; List? seats; EventSeatingMoveTicketToAnotherEventResult({this.statusCode,this.message,this.movedSeatIds,this.failures,this.direction,this.priceDifference,this.reconciliationSkipped,this.sourceEventPaidOut,this.outstandingCostHandledByServer,this.reconciliationLogId,this.refundAmount,this.refundPaymentReference,this.seats}); EventSeatingMoveTicketToAnotherEventResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; movedSeatIds = JsonConverters.fromJson(json['movedSeatIds'],'List',context!); failures = JsonConverters.fromJson(json['failures'],'List',context!); direction = json['direction']; priceDifference = JsonConverters.toDouble(json['priceDifference']); reconciliationSkipped = json['reconciliationSkipped']; sourceEventPaidOut = json['sourceEventPaidOut']; outstandingCostHandledByServer = json['outstandingCostHandledByServer']; reconciliationLogId = json['reconciliationLogId']; refundAmount = JsonConverters.toDouble(json['refundAmount']); refundPaymentReference = json['refundPaymentReference']; seats = JsonConverters.fromJson(json['seats'],'List',context!); return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'movedSeatIds': JsonConverters.toJson(movedSeatIds,'List',context!), 'failures': JsonConverters.toJson(failures,'List',context!), 'direction': direction, 'priceDifference': priceDifference, 'reconciliationSkipped': reconciliationSkipped, 'sourceEventPaidOut': sourceEventPaidOut, 'outstandingCostHandledByServer': outstandingCostHandledByServer, 'reconciliationLogId': reconciliationLogId, 'refundAmount': refundAmount, 'refundPaymentReference': refundPaymentReference, 'seats': JsonConverters.toJson(seats,'List',context!) }; getTypeName() => "EventSeatingMoveTicketToAnotherEventResult"; TypeContext? context = _ctx; } // @Route("/EventSeatingMoveTicketToAnotherEventInSeries", "POST") class EventSeatingMoveTicketToAnotherEventRequest implements IReturn, IConvertible { int? fromEventId; int? toEventId; List? moves; String? reason; bool? quoteOnly; double? expectedPriceDifference; bool? skipReconciliation; String? idempotencyKey; int? userId; int? requestUnixUTCTimeStamp; RequestSignature? signature; EventSeatingMoveTicketToAnotherEventRequest({this.fromEventId,this.toEventId,this.moves,this.reason,this.quoteOnly,this.expectedPriceDifference,this.skipReconciliation,this.idempotencyKey,this.userId,this.requestUnixUTCTimeStamp,this.signature}); EventSeatingMoveTicketToAnotherEventRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fromEventId = json['fromEventId']; toEventId = json['toEventId']; moves = JsonConverters.fromJson(json['moves'],'List',context!); reason = json['reason']; quoteOnly = json['quoteOnly']; expectedPriceDifference = JsonConverters.toDouble(json['expectedPriceDifference']); skipReconciliation = json['skipReconciliation']; idempotencyKey = json['idempotencyKey']; userId = json['userId']; requestUnixUTCTimeStamp = json['requestUnixUTCTimeStamp']; signature = JsonConverters.fromJson(json['signature'],'RequestSignature',context!); return this; } Map toJson() => { 'fromEventId': fromEventId, 'toEventId': toEventId, 'moves': JsonConverters.toJson(moves,'List',context!), 'reason': reason, 'quoteOnly': quoteOnly, 'expectedPriceDifference': expectedPriceDifference, 'skipReconciliation': skipReconciliation, 'idempotencyKey': idempotencyKey, 'userId': userId, 'requestUnixUTCTimeStamp': requestUnixUTCTimeStamp, 'signature': JsonConverters.toJson(signature,'RequestSignature',context!) }; createResponse() => EventSeatingMoveTicketToAnotherEventResult(); getResponseTypeName() => "EventSeatingMoveTicketToAnotherEventResult"; getTypeName() => "EventSeatingMoveTicketToAnotherEventRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'RequestSignature': TypeInfo(TypeOf.Class, create:() => RequestSignature()), 'MoveTicketToAnotherEventPair': TypeInfo(TypeOf.Class, create:() => MoveTicketToAnotherEventPair()), 'MoveTicketToAnotherEventFailure': TypeInfo(TypeOf.Class, create:() => MoveTicketToAnotherEventFailure()), 'MoveTicketToAnotherEventSeatQuote': TypeInfo(TypeOf.Class, create:() => MoveTicketToAnotherEventSeatQuote()), 'EventSeatingMoveTicketToAnotherEventResult': TypeInfo(TypeOf.Class, create:() => EventSeatingMoveTicketToAnotherEventResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventSeatingMoveTicketToAnotherEventRequest': TypeInfo(TypeOf.Class, create:() => EventSeatingMoveTicketToAnotherEventRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });