/* Options: Date: 2025-05-06 16:08:01 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EventSeatingRowsSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventSeatingRow implements IConvertible { int? id; int? eventSeatingSectionId; int? currentFreeSeats; int? currentBookedSeats; int? currentReservedSeats; bool? active; String? name; String? imageUrl; double? positionX; double? positionY; double? rotation; String? viewType; double? sortOrder; EventSeatingRow({this.id,this.eventSeatingSectionId,this.currentFreeSeats,this.currentBookedSeats,this.currentReservedSeats,this.active,this.name,this.imageUrl,this.positionX,this.positionY,this.rotation,this.viewType,this.sortOrder}); EventSeatingRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; eventSeatingSectionId = json['eventSeatingSectionId']; currentFreeSeats = json['currentFreeSeats']; currentBookedSeats = json['currentBookedSeats']; currentReservedSeats = json['currentReservedSeats']; active = json['active']; name = json['name']; imageUrl = json['imageUrl']; positionX = JsonConverters.toDouble(json['positionX']); positionY = JsonConverters.toDouble(json['positionY']); rotation = JsonConverters.toDouble(json['rotation']); viewType = json['viewType']; sortOrder = JsonConverters.toDouble(json['sortOrder']); return this; } Map toJson() => { 'id': id, 'eventSeatingSectionId': eventSeatingSectionId, 'currentFreeSeats': currentFreeSeats, 'currentBookedSeats': currentBookedSeats, 'currentReservedSeats': currentReservedSeats, 'active': active, 'name': name, 'imageUrl': imageUrl, 'positionX': positionX, 'positionY': positionY, 'rotation': rotation, 'viewType': viewType, 'sortOrder': sortOrder }; getTypeName() => "EventSeatingRow"; TypeContext? context = _ctx; } class EventSeatingRowsResult implements IConvertible { List? items; int? statusCode; String? message; EventSeatingRowsResult({this.items,this.statusCode,this.message}); EventSeatingRowsResult.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() => "EventSeatingRowsResult"; TypeContext? context = _ctx; } // @Route("/EventSeatingRows", "POST") class EventSeatingRowsSearchRequest implements IReturn, IConvertible { int? eventSeatingSectionId; EventSeatingRowsSearchRequest({this.eventSeatingSectionId}); EventSeatingRowsSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventSeatingSectionId = json['eventSeatingSectionId']; return this; } Map toJson() => { 'eventSeatingSectionId': eventSeatingSectionId }; createResponse() => EventSeatingRowsResult(); getResponseTypeName() => "EventSeatingRowsResult"; getTypeName() => "EventSeatingRowsSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventSeatingRow': TypeInfo(TypeOf.Class, create:() => EventSeatingRow()), 'EventSeatingRowsResult': TypeInfo(TypeOf.Class, create:() => EventSeatingRowsResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventSeatingRowsSearchRequest': TypeInfo(TypeOf.Class, create:() => EventSeatingRowsSearchRequest()), });