/* Options: Date: 2026-08-17 08:24:07 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: ReseatWithinEventRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ReseatMovePair implements IConvertible { int? fromSeatId; int? toSeatId; int? toOwnerTicketTypeId; ReseatMovePair({this.fromSeatId,this.toSeatId,this.toOwnerTicketTypeId}); ReseatMovePair.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fromSeatId = json['fromSeatId']; toSeatId = json['toSeatId']; toOwnerTicketTypeId = json['toOwnerTicketTypeId']; return this; } Map toJson() => { 'fromSeatId': fromSeatId, 'toSeatId': toSeatId, 'toOwnerTicketTypeId': toOwnerTicketTypeId }; getTypeName() => "ReseatMovePair"; TypeContext? context = _ctx; } class MoveConfirmedSeatFailure implements IConvertible { int? fromSeatId; int? toSeatId; String? reason; MoveConfirmedSeatFailure({this.fromSeatId,this.toSeatId,this.reason}); MoveConfirmedSeatFailure.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() => "MoveConfirmedSeatFailure"; TypeContext? context = _ctx; } class ReseatWithinEventResult implements IConvertible { bool? ok; int? statusCode; String? message; String? direction; double? priceDifference; bool? reconciliationSkipped; int? reconciliationLogId; double? refundAmount; String? refundPaymentReference; List? movedSeatIds; List? failures; ReseatWithinEventResult({this.ok,this.statusCode,this.message,this.direction,this.priceDifference,this.reconciliationSkipped,this.reconciliationLogId,this.refundAmount,this.refundPaymentReference,this.movedSeatIds,this.failures}); ReseatWithinEventResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ok = json['ok']; statusCode = json['statusCode']; message = json['message']; direction = json['direction']; priceDifference = JsonConverters.toDouble(json['priceDifference']); reconciliationSkipped = json['reconciliationSkipped']; reconciliationLogId = json['reconciliationLogId']; refundAmount = JsonConverters.toDouble(json['refundAmount']); refundPaymentReference = json['refundPaymentReference']; movedSeatIds = JsonConverters.fromJson(json['movedSeatIds'],'List',context!); failures = JsonConverters.fromJson(json['failures'],'List',context!); return this; } Map toJson() => { 'ok': ok, 'statusCode': statusCode, 'message': message, 'direction': direction, 'priceDifference': priceDifference, 'reconciliationSkipped': reconciliationSkipped, 'reconciliationLogId': reconciliationLogId, 'refundAmount': refundAmount, 'refundPaymentReference': refundPaymentReference, 'movedSeatIds': JsonConverters.toJson(movedSeatIds,'List',context!), 'failures': JsonConverters.toJson(failures,'List',context!) }; getTypeName() => "ReseatWithinEventResult"; TypeContext? context = _ctx; } // @Route("/EventSeating/ReseatWithinEvent", "POST") class ReseatWithinEventRequest implements IReturn, IConvertible { int? eventId; List? moves; double? expectedPriceDifference; bool? skipReconciliation; String? reason; String? idempotencyKey; int? userId; ReseatWithinEventRequest({this.eventId,this.moves,this.expectedPriceDifference,this.skipReconciliation,this.reason,this.idempotencyKey,this.userId}); ReseatWithinEventRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; moves = JsonConverters.fromJson(json['moves'],'List',context!); expectedPriceDifference = JsonConverters.toDouble(json['expectedPriceDifference']); skipReconciliation = json['skipReconciliation']; reason = json['reason']; idempotencyKey = json['idempotencyKey']; userId = json['userId']; return this; } Map toJson() => { 'eventId': eventId, 'moves': JsonConverters.toJson(moves,'List',context!), 'expectedPriceDifference': expectedPriceDifference, 'skipReconciliation': skipReconciliation, 'reason': reason, 'idempotencyKey': idempotencyKey, 'userId': userId }; createResponse() => ReseatWithinEventResult(); getResponseTypeName() => "ReseatWithinEventResult"; getTypeName() => "ReseatWithinEventRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'ReseatMovePair': TypeInfo(TypeOf.Class, create:() => ReseatMovePair()), 'MoveConfirmedSeatFailure': TypeInfo(TypeOf.Class, create:() => MoveConfirmedSeatFailure()), 'ReseatWithinEventResult': TypeInfo(TypeOf.Class, create:() => ReseatWithinEventResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ReseatWithinEventRequest': TypeInfo(TypeOf.Class, create:() => ReseatWithinEventRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });