/* Options: Date: 2025-05-06 16:16:19 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: OwnerSeatingSectionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class EventSeriesOwnerSeatingSection implements IConvertible { int? id; String? name; int? seriesId; int? ownerId; int? locationId; bool? isActive; int? maxTickets; DateTime? timestampCreated; bool? hasRows; bool? hasSeats; bool? rowsAreAlphabetical; bool? seatsAreAlphabetical; String? seatStart; String? rowStart; int? seatSkips; int? rowSkips; EventSeriesOwnerSeatingSection({this.id,this.name,this.seriesId,this.ownerId,this.locationId,this.isActive,this.maxTickets,this.timestampCreated,this.hasRows,this.hasSeats,this.rowsAreAlphabetical,this.seatsAreAlphabetical,this.seatStart,this.rowStart,this.seatSkips,this.rowSkips}); EventSeriesOwnerSeatingSection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; seriesId = json['seriesId']; ownerId = json['ownerId']; locationId = json['locationId']; isActive = json['isActive']; maxTickets = json['maxTickets']; timestampCreated = JsonConverters.fromJson(json['timestampCreated'],'DateTime',context!); hasRows = json['hasRows']; hasSeats = json['hasSeats']; rowsAreAlphabetical = json['rowsAreAlphabetical']; seatsAreAlphabetical = json['seatsAreAlphabetical']; seatStart = json['seatStart']; rowStart = json['rowStart']; seatSkips = json['seatSkips']; rowSkips = json['rowSkips']; return this; } Map toJson() => { 'id': id, 'name': name, 'seriesId': seriesId, 'ownerId': ownerId, 'locationId': locationId, 'isActive': isActive, 'maxTickets': maxTickets, 'timestampCreated': JsonConverters.toJson(timestampCreated,'DateTime',context!), 'hasRows': hasRows, 'hasSeats': hasSeats, 'rowsAreAlphabetical': rowsAreAlphabetical, 'seatsAreAlphabetical': seatsAreAlphabetical, 'seatStart': seatStart, 'rowStart': rowStart, 'seatSkips': seatSkips, 'rowSkips': rowSkips }; getTypeName() => "EventSeriesOwnerSeatingSection"; TypeContext? context = _ctx; } class OwnerSeatingSectionResult implements IConvertible { EventSeriesOwnerSeatingSection? seatingSection; int? statusCode; String? message; OwnerSeatingSectionResult({this.seatingSection,this.statusCode,this.message}); OwnerSeatingSectionResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { seatingSection = JsonConverters.fromJson(json['seatingSection'],'EventSeriesOwnerSeatingSection',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'seatingSection': JsonConverters.toJson(seatingSection,'EventSeriesOwnerSeatingSection',context!), 'statusCode': statusCode, 'message': message }; getTypeName() => "OwnerSeatingSectionResult"; TypeContext? context = _ctx; } // @Route("/ownerSeatingSection", "GET PUT POST") class OwnerSeatingSectionRequest implements IReturn, IConvertible { EventSeriesOwnerSeatingSection? seatingSection; OwnerSeatingSectionRequest({this.seatingSection}); OwnerSeatingSectionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { seatingSection = JsonConverters.fromJson(json['seatingSection'],'EventSeriesOwnerSeatingSection',context!); return this; } Map toJson() => { 'seatingSection': JsonConverters.toJson(seatingSection,'EventSeriesOwnerSeatingSection',context!) }; createResponse() => OwnerSeatingSectionResult(); getResponseTypeName() => "OwnerSeatingSectionResult"; getTypeName() => "OwnerSeatingSectionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'EventSeriesOwnerSeatingSection': TypeInfo(TypeOf.Class, create:() => EventSeriesOwnerSeatingSection()), 'OwnerSeatingSectionResult': TypeInfo(TypeOf.Class, create:() => OwnerSeatingSectionResult()), 'OwnerSeatingSectionRequest': TypeInfo(TypeOf.Class, create:() => OwnerSeatingSectionRequest()), });