/* Options: Date: 2026-08-17 08:27:49 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: SharedTicketLinkGetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LocalizedMessage implements IConvertible { String? Is; String? en; LocalizedMessage({this.Is,this.en}); LocalizedMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Is = json['is']; en = json['en']; return this; } Map toJson() => { 'is': Is, 'en': en }; getTypeName() => "LocalizedMessage"; TypeContext? context = _ctx; } class SharedTicketLinkSeatInfo implements IConvertible { int? seatId; String? sectionName; String? rowName; String? seatName; SharedTicketLinkSeatInfo({this.seatId,this.sectionName,this.rowName,this.seatName}); SharedTicketLinkSeatInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { seatId = json['seatId']; sectionName = json['sectionName']; rowName = json['rowName']; seatName = json['seatName']; return this; } Map toJson() => { 'seatId': seatId, 'sectionName': sectionName, 'rowName': rowName, 'seatName': seatName }; getTypeName() => "SharedTicketLinkSeatInfo"; TypeContext? context = _ctx; } class SharedTicketLinkPublicResult implements IConvertible { bool? ok; String? token; int? eventId; int? ticketOwnerTypeId; int? count; int? sectionId; List? seats; String? status; DateTime? validTo; LocalizedMessage? statusMessage; int? statusCode; String? message; SharedTicketLinkPublicResult({this.ok,this.token,this.eventId,this.ticketOwnerTypeId,this.count,this.sectionId,this.seats,this.status,this.validTo,this.statusMessage,this.statusCode,this.message}); SharedTicketLinkPublicResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ok = json['ok']; token = json['token']; eventId = json['eventId']; ticketOwnerTypeId = json['ticketOwnerTypeId']; count = json['count']; sectionId = json['sectionId']; seats = JsonConverters.fromJson(json['seats'],'List',context!); status = json['status']; validTo = JsonConverters.fromJson(json['validTo'],'DateTime',context!); statusMessage = JsonConverters.fromJson(json['statusMessage'],'LocalizedMessage',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'ok': ok, 'token': token, 'eventId': eventId, 'ticketOwnerTypeId': ticketOwnerTypeId, 'count': count, 'sectionId': sectionId, 'seats': JsonConverters.toJson(seats,'List',context!), 'status': status, 'validTo': JsonConverters.toJson(validTo,'DateTime',context!), 'statusMessage': JsonConverters.toJson(statusMessage,'LocalizedMessage',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "SharedTicketLinkPublicResult"; TypeContext? context = _ctx; } // @Route("/SharedTicketLink/{Token}", "GET") class SharedTicketLinkGetRequest implements IReturn, IConvertible { String? token; SharedTicketLinkGetRequest({this.token}); SharedTicketLinkGetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { token = json['token']; return this; } Map toJson() => { 'token': token }; createResponse() => SharedTicketLinkPublicResult(); getResponseTypeName() => "SharedTicketLinkPublicResult"; getTypeName() => "SharedTicketLinkGetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'LocalizedMessage': TypeInfo(TypeOf.Class, create:() => LocalizedMessage()), 'SharedTicketLinkSeatInfo': TypeInfo(TypeOf.Class, create:() => SharedTicketLinkSeatInfo()), 'SharedTicketLinkPublicResult': TypeInfo(TypeOf.Class, create:() => SharedTicketLinkPublicResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SharedTicketLinkGetRequest': TypeInfo(TypeOf.Class, create:() => SharedTicketLinkGetRequest()), });