/* Options: Date: 2026-08-17 08:24: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: ReseatQuoteRequest.* //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 ReseatSeatQuote implements IConvertible { int? fromSeatId; int? toSeatId; String? ticketTokenId; double? fromPrice; double? toPrice; double? difference; String? toSectionName; String? toSeatName; bool? ok; String? message; ReseatSeatQuote({this.fromSeatId,this.toSeatId,this.ticketTokenId,this.fromPrice,this.toPrice,this.difference,this.toSectionName,this.toSeatName,this.ok,this.message}); ReseatSeatQuote.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']); toSectionName = json['toSectionName']; 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, 'toSectionName': toSectionName, 'toSeatName': toSeatName, 'ok': ok, 'message': message }; getTypeName() => "ReseatSeatQuote"; TypeContext? context = _ctx; } class ReseatQuoteResult implements IConvertible { bool? ok; int? statusCode; String? message; double? totalFromPrice; double? totalToPrice; double? priceDifference; String? direction; bool? refundableViaBorgun; String? paymentReference; List? seats; ReseatQuoteResult({this.ok,this.statusCode,this.message,this.totalFromPrice,this.totalToPrice,this.priceDifference,this.direction,this.refundableViaBorgun,this.paymentReference,this.seats}); ReseatQuoteResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ok = json['ok']; statusCode = json['statusCode']; message = json['message']; totalFromPrice = JsonConverters.toDouble(json['totalFromPrice']); totalToPrice = JsonConverters.toDouble(json['totalToPrice']); priceDifference = JsonConverters.toDouble(json['priceDifference']); direction = json['direction']; refundableViaBorgun = json['refundableViaBorgun']; paymentReference = json['paymentReference']; seats = JsonConverters.fromJson(json['seats'],'List',context!); return this; } Map toJson() => { 'ok': ok, 'statusCode': statusCode, 'message': message, 'totalFromPrice': totalFromPrice, 'totalToPrice': totalToPrice, 'priceDifference': priceDifference, 'direction': direction, 'refundableViaBorgun': refundableViaBorgun, 'paymentReference': paymentReference, 'seats': JsonConverters.toJson(seats,'List',context!) }; getTypeName() => "ReseatQuoteResult"; TypeContext? context = _ctx; } // @Route("/EventSeating/ReseatQuote", "POST") class ReseatQuoteRequest implements IReturn, IConvertible { int? eventId; List? moves; ReseatQuoteRequest({this.eventId,this.moves}); ReseatQuoteRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; moves = JsonConverters.fromJson(json['moves'],'List',context!); return this; } Map toJson() => { 'eventId': eventId, 'moves': JsonConverters.toJson(moves,'List',context!) }; createResponse() => ReseatQuoteResult(); getResponseTypeName() => "ReseatQuoteResult"; getTypeName() => "ReseatQuoteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'ReseatMovePair': TypeInfo(TypeOf.Class, create:() => ReseatMovePair()), 'ReseatSeatQuote': TypeInfo(TypeOf.Class, create:() => ReseatSeatQuote()), 'ReseatQuoteResult': TypeInfo(TypeOf.Class, create:() => ReseatQuoteResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ReseatQuoteRequest': TypeInfo(TypeOf.Class, create:() => ReseatQuoteRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });