/* Options: Date: 2025-12-06 09:49:01 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DistributedBoxesViewLookup.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/distributed_boxes_view", "GET") class DistributedBoxesViewLookup implements IReturn>, IConvertible, IGet { int? id; int? tenantsId; int? appUserId; int? authAppUserId; DateTime? deploymentDate; int? numberBoxes; String? recipientType; int? foodGardensId; String? otherDescription; double? latitude; double? longitude; String? phoneNumber; String? displayName; String? email; DateTime? applicationDate; bool? isZoneMain; bool? isDisabled; String? gender; String? ethnicGroup; int? age; DateTime? approvalDate; bool? approved; String? authorizedBy; String? mediaPath; String? name; String? description; DistributedBoxesViewLookup({this.id,this.tenantsId,this.appUserId,this.authAppUserId,this.deploymentDate,this.numberBoxes,this.recipientType,this.foodGardensId,this.otherDescription,this.latitude,this.longitude,this.phoneNumber,this.displayName,this.email,this.applicationDate,this.isZoneMain,this.isDisabled,this.gender,this.ethnicGroup,this.age,this.approvalDate,this.approved,this.authorizedBy,this.mediaPath,this.name,this.description}); DistributedBoxesViewLookup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenantsId = json['tenantsId']; appUserId = json['appUserId']; authAppUserId = json['authAppUserId']; deploymentDate = JsonConverters.fromJson(json['deploymentDate'],'DateTime',context!); numberBoxes = json['numberBoxes']; recipientType = json['recipientType']; foodGardensId = json['foodGardensId']; otherDescription = json['otherDescription']; latitude = JsonConverters.toDouble(json['latitude']); longitude = JsonConverters.toDouble(json['longitude']); phoneNumber = json['phoneNumber']; displayName = json['displayName']; email = json['email']; applicationDate = JsonConverters.fromJson(json['applicationDate'],'DateTime',context!); isZoneMain = json['isZoneMain']; isDisabled = json['isDisabled']; gender = json['gender']; ethnicGroup = json['ethnicGroup']; age = json['age']; approvalDate = JsonConverters.fromJson(json['approvalDate'],'DateTime',context!); approved = json['approved']; authorizedBy = json['authorizedBy']; mediaPath = json['mediaPath']; name = json['name']; description = json['description']; return this; } Map toJson() => { 'id': id, 'tenantsId': tenantsId, 'appUserId': appUserId, 'authAppUserId': authAppUserId, 'deploymentDate': JsonConverters.toJson(deploymentDate,'DateTime',context!), 'numberBoxes': numberBoxes, 'recipientType': recipientType, 'foodGardensId': foodGardensId, 'otherDescription': otherDescription, 'latitude': latitude, 'longitude': longitude, 'phoneNumber': phoneNumber, 'displayName': displayName, 'email': email, 'applicationDate': JsonConverters.toJson(applicationDate,'DateTime',context!), 'isZoneMain': isZoneMain, 'isDisabled': isDisabled, 'gender': gender, 'ethnicGroup': ethnicGroup, 'age': age, 'approvalDate': JsonConverters.toJson(approvalDate,'DateTime',context!), 'approved': approved, 'authorizedBy': authorizedBy, 'mediaPath': mediaPath, 'name': name, 'description': description }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "DistributedBoxesViewLookup"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'DistributedBoxesViewLookup': TypeInfo(TypeOf.Class, create:() => DistributedBoxesViewLookup()), });