/* Options: Date: 2025-10-28 04:08:23 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BatchDataFieldsViewQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class BatchDataFieldsView implements IConvertible { int? Id; int? BatchId; int? UploadFieldsId; String? MappedFieldName; String? FieldName; bool? Required; String? UploadType; String? Label; String? UploadSubtype; bool? IsEnabled; double? SortOrder; String? Help; String? Placeholder; String? DataType; BatchDataFieldsView({this.Id,this.BatchId,this.UploadFieldsId,this.MappedFieldName,this.FieldName,this.Required,this.UploadType,this.Label,this.UploadSubtype,this.IsEnabled,this.SortOrder,this.Help,this.Placeholder,this.DataType}); BatchDataFieldsView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; BatchId = json['BatchId']; UploadFieldsId = json['UploadFieldsId']; MappedFieldName = json['MappedFieldName']; FieldName = json['FieldName']; Required = json['Required']; UploadType = json['UploadType']; Label = json['Label']; UploadSubtype = json['UploadSubtype']; IsEnabled = json['IsEnabled']; SortOrder = JsonConverters.toDouble(json['SortOrder']); Help = json['Help']; Placeholder = json['Placeholder']; DataType = json['DataType']; return this; } Map toJson() => { 'Id': Id, 'BatchId': BatchId, 'UploadFieldsId': UploadFieldsId, 'MappedFieldName': MappedFieldName, 'FieldName': FieldName, 'Required': Required, 'UploadType': UploadType, 'Label': Label, 'UploadSubtype': UploadSubtype, 'IsEnabled': IsEnabled, 'SortOrder': SortOrder, 'Help': Help, 'Placeholder': Placeholder, 'DataType': DataType }; getTypeName() => "BatchDataFieldsView"; TypeContext? context = _ctx; } // @Route("/batch_data_fields_view", "GET") // @Route("/batch_data_fields_view/{Id}", "GET") // @DataContract class BatchDataFieldsViewQuery extends QueryDb implements IReturn>, IGet, IConvertible { BatchDataFieldsViewQuery(); BatchDataFieldsViewQuery.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => QueryResponse(); getResponseTypeName() => "QueryResponse"; getTypeName() => "BatchDataFieldsViewQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'BatchDataFieldsView': TypeInfo(TypeOf.Class, create:() => BatchDataFieldsView()), 'QueryResponse': TypeInfo(TypeOf.Class, create:() => QueryResponse()), 'BatchDataFieldsViewQuery': TypeInfo(TypeOf.Class, create:() => BatchDataFieldsViewQuery()), 'List': TypeInfo(TypeOf.Class, create:() => []), });