/* Options: Date: 2025-05-06 15:51:34 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: EventSeatingSectionsSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventSeatingSection implements IConvertible { int? id; int? eventId; int? currentFreeSeats; int? currentBookedSeats; int? currentReservedSeats; bool? active; String? name; String? imageUrl; double? positionX; double? positionY; double? rotation; String? viewType; double? sortOrder; EventSeatingSection({this.id,this.eventId,this.currentFreeSeats,this.currentBookedSeats,this.currentReservedSeats,this.active,this.name,this.imageUrl,this.positionX,this.positionY,this.rotation,this.viewType,this.sortOrder}); EventSeatingSection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; eventId = json['eventId']; 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, 'eventId': eventId, 'currentFreeSeats': currentFreeSeats, 'currentBookedSeats': currentBookedSeats, 'currentReservedSeats': currentReservedSeats, 'active': active, 'name': name, 'imageUrl': imageUrl, 'positionX': positionX, 'positionY': positionY, 'rotation': rotation, 'viewType': viewType, 'sortOrder': sortOrder }; getTypeName() => "EventSeatingSection"; TypeContext? context = _ctx; } class EventSeatingSectionsResult implements IConvertible { List? items; int? statusCode; String? message; EventSeatingSectionsResult({this.items,this.statusCode,this.message}); EventSeatingSectionsResult.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() => "EventSeatingSectionsResult"; TypeContext? context = _ctx; } // @Route("/EventSeatingSections", "POST") class EventSeatingSectionsSearchRequest implements IReturn, IConvertible { int? eventId; int? ownerId; EventSeatingSectionsSearchRequest({this.eventId,this.ownerId}); EventSeatingSectionsSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; ownerId = json['ownerId']; return this; } Map toJson() => { 'eventId': eventId, 'ownerId': ownerId }; createResponse() => EventSeatingSectionsResult(); getResponseTypeName() => "EventSeatingSectionsResult"; getTypeName() => "EventSeatingSectionsSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventSeatingSection': TypeInfo(TypeOf.Class, create:() => EventSeatingSection()), 'EventSeatingSectionsResult': TypeInfo(TypeOf.Class, create:() => EventSeatingSectionsResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventSeatingSectionsSearchRequest': TypeInfo(TypeOf.Class, create:() => EventSeatingSectionsSearchRequest()), });