/* Options: Date: 2026-08-17 09:17:24 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: SharedTicketLinkSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; 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 SharedTicketLinkSummary implements IConvertible { int? id; String? token; String? url; int? eventId; int? eventOwnerId; int? ticketOwnerTypeId; int? count; int? sectionId; String? status; DateTime? validTo; DateTime? createdAt; String? createdBy; String? recipientEmail; String? recipientPhone; int? soldTicketOrderId; DateTime? soldAt; List? seats; SharedTicketLinkSummary({this.id,this.token,this.url,this.eventId,this.eventOwnerId,this.ticketOwnerTypeId,this.count,this.sectionId,this.status,this.validTo,this.createdAt,this.createdBy,this.recipientEmail,this.recipientPhone,this.soldTicketOrderId,this.soldAt,this.seats}); SharedTicketLinkSummary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; token = json['token']; url = json['url']; eventId = json['eventId']; eventOwnerId = json['eventOwnerId']; ticketOwnerTypeId = json['ticketOwnerTypeId']; count = json['count']; sectionId = json['sectionId']; status = json['status']; validTo = JsonConverters.fromJson(json['validTo'],'DateTime',context!); createdAt = JsonConverters.fromJson(json['createdAt'],'DateTime',context!); createdBy = json['createdBy']; recipientEmail = json['recipientEmail']; recipientPhone = json['recipientPhone']; soldTicketOrderId = json['soldTicketOrderId']; soldAt = JsonConverters.fromJson(json['soldAt'],'DateTime',context!); seats = JsonConverters.fromJson(json['seats'],'List',context!); return this; } Map toJson() => { 'id': id, 'token': token, 'url': url, 'eventId': eventId, 'eventOwnerId': eventOwnerId, 'ticketOwnerTypeId': ticketOwnerTypeId, 'count': count, 'sectionId': sectionId, 'status': status, 'validTo': JsonConverters.toJson(validTo,'DateTime',context!), 'createdAt': JsonConverters.toJson(createdAt,'DateTime',context!), 'createdBy': createdBy, 'recipientEmail': recipientEmail, 'recipientPhone': recipientPhone, 'soldTicketOrderId': soldTicketOrderId, 'soldAt': JsonConverters.toJson(soldAt,'DateTime',context!), 'seats': JsonConverters.toJson(seats,'List',context!) }; getTypeName() => "SharedTicketLinkSummary"; TypeContext? context = _ctx; } class SharedTicketLinkSearchResult implements IConvertible { List? items; int? statusCode; String? message; SharedTicketLinkSearchResult({this.items,this.statusCode,this.message}); SharedTicketLinkSearchResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { items = JsonConverters.fromJson(json['items'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'items': JsonConverters.toJson(items,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "SharedTicketLinkSearchResult"; TypeContext? context = _ctx; } // @Route("/SharedTicketLink/Search", "POST") class SharedTicketLinkSearchRequest implements IReturn, IConvertible { int? eventOwnerId; int? eventId; String? status; SharedTicketLinkSearchRequest({this.eventOwnerId,this.eventId,this.status}); SharedTicketLinkSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventOwnerId = json['eventOwnerId']; eventId = json['eventId']; status = json['status']; return this; } Map toJson() => { 'eventOwnerId': eventOwnerId, 'eventId': eventId, 'status': status }; createResponse() => SharedTicketLinkSearchResult(); getResponseTypeName() => "SharedTicketLinkSearchResult"; getTypeName() => "SharedTicketLinkSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'SharedTicketLinkSeatInfo': TypeInfo(TypeOf.Class, create:() => SharedTicketLinkSeatInfo()), 'SharedTicketLinkSummary': TypeInfo(TypeOf.Class, create:() => SharedTicketLinkSummary()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SharedTicketLinkSearchResult': TypeInfo(TypeOf.Class, create:() => SharedTicketLinkSearchResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SharedTicketLinkSearchRequest': TypeInfo(TypeOf.Class, create:() => SharedTicketLinkSearchRequest()), });