/* Options: Date: 2025-05-06 16:46:45 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: VenueSeatingArrangementRowsInSectionSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class VenueSeatingArrangementRow implements IConvertible { int? id; String? name; int? arrangementSectionId; String? imageUrl; double? positionX; double? positionY; double? rotation; String? viewType; double? sortOrder; VenueSeatingArrangementRow({this.id,this.name,this.arrangementSectionId,this.imageUrl,this.positionX,this.positionY,this.rotation,this.viewType,this.sortOrder}); VenueSeatingArrangementRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; arrangementSectionId = json['arrangementSectionId']; 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, 'name': name, 'arrangementSectionId': arrangementSectionId, 'imageUrl': imageUrl, 'positionX': positionX, 'positionY': positionY, 'rotation': rotation, 'viewType': viewType, 'sortOrder': sortOrder }; getTypeName() => "VenueSeatingArrangementRow"; TypeContext? context = _ctx; } class VenueSeatingArrangementSeat implements IConvertible { int? id; String? name; int? arrangementRowId; String? status; int? arrangementSectionId; double? positionX; double? positionY; double? rotation; String? viewType; double? sortOrder; VenueSeatingArrangementSeat({this.id,this.name,this.arrangementRowId,this.status,this.arrangementSectionId,this.positionX,this.positionY,this.rotation,this.viewType,this.sortOrder}); VenueSeatingArrangementSeat.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; arrangementRowId = json['arrangementRowId']; status = json['status']; arrangementSectionId = json['arrangementSectionId']; 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, 'name': name, 'arrangementRowId': arrangementRowId, 'status': status, 'arrangementSectionId': arrangementSectionId, 'positionX': positionX, 'positionY': positionY, 'rotation': rotation, 'viewType': viewType, 'sortOrder': sortOrder }; getTypeName() => "VenueSeatingArrangementSeat"; TypeContext? context = _ctx; } class VenueSeatingArrangementRowAndSeatsInSection implements IConvertible { VenueSeatingArrangementRow? row; List? seats; VenueSeatingArrangementRowAndSeatsInSection({this.row,this.seats}); VenueSeatingArrangementRowAndSeatsInSection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { row = JsonConverters.fromJson(json['row'],'VenueSeatingArrangementRow',context!); seats = JsonConverters.fromJson(json['seats'],'List',context!); return this; } Map toJson() => { 'row': JsonConverters.toJson(row,'VenueSeatingArrangementRow',context!), 'seats': JsonConverters.toJson(seats,'List',context!) }; getTypeName() => "VenueSeatingArrangementRowAndSeatsInSection"; TypeContext? context = _ctx; } class VenueSeatingArrangementSeatsInSectionPerRowSearchResult implements IConvertible { String? sectionName; List? rows; int? statusCode; String? message; VenueSeatingArrangementSeatsInSectionPerRowSearchResult({this.sectionName,this.rows,this.statusCode,this.message}); VenueSeatingArrangementSeatsInSectionPerRowSearchResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sectionName = json['sectionName']; rows = JsonConverters.fromJson(json['rows'],'List',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'sectionName': sectionName, 'rows': JsonConverters.toJson(rows,'List',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "VenueSeatingArrangementSeatsInSectionPerRowSearchResult"; TypeContext? context = _ctx; } // @Route("/VenueSeatingArrangement/Search/Seats/RowsInSection", "POST") class VenueSeatingArrangementRowsInSectionSearchRequest implements IReturn, IConvertible { int? sectionId; VenueSeatingArrangementRowsInSectionSearchRequest({this.sectionId}); VenueSeatingArrangementRowsInSectionSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sectionId = json['sectionId']; return this; } Map toJson() => { 'sectionId': sectionId }; createResponse() => VenueSeatingArrangementSeatsInSectionPerRowSearchResult(); getResponseTypeName() => "VenueSeatingArrangementSeatsInSectionPerRowSearchResult"; getTypeName() => "VenueSeatingArrangementRowsInSectionSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'VenueSeatingArrangementRow': TypeInfo(TypeOf.Class, create:() => VenueSeatingArrangementRow()), 'VenueSeatingArrangementSeat': TypeInfo(TypeOf.Class, create:() => VenueSeatingArrangementSeat()), 'VenueSeatingArrangementRowAndSeatsInSection': TypeInfo(TypeOf.Class, create:() => VenueSeatingArrangementRowAndSeatsInSection()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'VenueSeatingArrangementSeatsInSectionPerRowSearchResult': TypeInfo(TypeOf.Class, create:() => VenueSeatingArrangementSeatsInSectionPerRowSearchResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'VenueSeatingArrangementRowsInSectionSearchRequest': TypeInfo(TypeOf.Class, create:() => VenueSeatingArrangementRowsInSectionSearchRequest()), });