/* Options: Date: 2026-10-01 12:30:47 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: EventSeatingTableActionsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventSeatingTableActionResult implements IConvertible { int? sectionId; String? sectionName; bool? isTable; bool? ok; String? error; List? blockedSeatIds; List? unblockedSeatIds; List? skippedSeatIds; List? alreadyBlockedSeatIds; bool? isHidden; bool? showSeats; String? note; String? viewType; EventSeatingTableActionResult({this.sectionId,this.sectionName,this.isTable,this.ok,this.error,this.blockedSeatIds,this.unblockedSeatIds,this.skippedSeatIds,this.alreadyBlockedSeatIds,this.isHidden,this.showSeats,this.note,this.viewType}); EventSeatingTableActionResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sectionId = json['sectionId']; sectionName = json['sectionName']; isTable = json['isTable']; ok = json['ok']; error = json['error']; blockedSeatIds = JsonConverters.fromJson(json['blockedSeatIds'],'List',context!); unblockedSeatIds = JsonConverters.fromJson(json['unblockedSeatIds'],'List',context!); skippedSeatIds = JsonConverters.fromJson(json['skippedSeatIds'],'List',context!); alreadyBlockedSeatIds = JsonConverters.fromJson(json['alreadyBlockedSeatIds'],'List',context!); isHidden = json['isHidden']; showSeats = json['showSeats']; note = json['note']; viewType = json['viewType']; return this; } Map toJson() => { 'sectionId': sectionId, 'sectionName': sectionName, 'isTable': isTable, 'ok': ok, 'error': error, 'blockedSeatIds': JsonConverters.toJson(blockedSeatIds,'List',context!), 'unblockedSeatIds': JsonConverters.toJson(unblockedSeatIds,'List',context!), 'skippedSeatIds': JsonConverters.toJson(skippedSeatIds,'List',context!), 'alreadyBlockedSeatIds': JsonConverters.toJson(alreadyBlockedSeatIds,'List',context!), 'isHidden': isHidden, 'showSeats': showSeats, 'note': note, 'viewType': viewType }; getTypeName() => "EventSeatingTableActionResult"; TypeContext? context = _ctx; } class EventSeatingTableActionsTotals implements IConvertible { int? blocked; int? unblocked; int? skipped; int? sections; int? failed; EventSeatingTableActionsTotals({this.blocked,this.unblocked,this.skipped,this.sections,this.failed}); EventSeatingTableActionsTotals.fromJson(Map json) { fromMap(json); } fromMap(Map json) { blocked = json['blocked']; unblocked = json['unblocked']; skipped = json['skipped']; sections = json['sections']; failed = json['failed']; return this; } Map toJson() => { 'blocked': blocked, 'unblocked': unblocked, 'skipped': skipped, 'sections': sections, 'failed': failed }; getTypeName() => "EventSeatingTableActionsTotals"; TypeContext? context = _ctx; } class EventSeatingTableActionsResult implements IConvertible { int? statusCode; String? message; String? action; int? eventId; List? results; EventSeatingTableActionsTotals? totals; int? elapsedMs; EventSeatingTableActionsResult({this.statusCode,this.message,this.action,this.eventId,this.results,this.totals,this.elapsedMs}); EventSeatingTableActionsResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; action = json['action']; eventId = json['eventId']; results = JsonConverters.fromJson(json['results'],'List',context!); totals = JsonConverters.fromJson(json['totals'],'EventSeatingTableActionsTotals',context!); elapsedMs = json['elapsedMs']; return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'action': action, 'eventId': eventId, 'results': JsonConverters.toJson(results,'List',context!), 'totals': JsonConverters.toJson(totals,'EventSeatingTableActionsTotals',context!), 'elapsedMs': elapsedMs }; getTypeName() => "EventSeatingTableActionsResult"; TypeContext? context = _ctx; } // @Route("/EventSeating/TableActions", "POST") class EventSeatingTableActionsRequest implements IReturn, IConvertible { int? eventId; List? sectionIds; String? action; String? note; String? blockedNote; bool? tablesOnly; EventSeatingTableActionsRequest({this.eventId,this.sectionIds,this.action,this.note,this.blockedNote,this.tablesOnly}); EventSeatingTableActionsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eventId = json['eventId']; sectionIds = JsonConverters.fromJson(json['sectionIds'],'List',context!); action = json['action']; note = json['note']; blockedNote = json['blockedNote']; tablesOnly = json['tablesOnly']; return this; } Map toJson() => { 'eventId': eventId, 'sectionIds': JsonConverters.toJson(sectionIds,'List',context!), 'action': action, 'note': note, 'blockedNote': blockedNote, 'tablesOnly': tablesOnly }; createResponse() => EventSeatingTableActionsResult(); getResponseTypeName() => "EventSeatingTableActionsResult"; getTypeName() => "EventSeatingTableActionsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_app.azurewebsites.net', types: { 'EventSeatingTableActionResult': TypeInfo(TypeOf.Class, create:() => EventSeatingTableActionResult()), 'EventSeatingTableActionsTotals': TypeInfo(TypeOf.Class, create:() => EventSeatingTableActionsTotals()), 'EventSeatingTableActionsResult': TypeInfo(TypeOf.Class, create:() => EventSeatingTableActionsResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EventSeatingTableActionsRequest': TypeInfo(TypeOf.Class, create:() => EventSeatingTableActionsRequest()), });