/* Options: Date: 2026-08-10 15:57:36 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ApplicationPrefillRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ApplicationProduct implements IConvertible { int? MaterialID; String? ProductName; String? EpaRegistrationNumber; bool? IsRestrictedUse; String? SignalWord; int? ReEntryIntervalHours; double? DefaultRate; String? RateUnit; ApplicationProduct({this.MaterialID,this.ProductName,this.EpaRegistrationNumber,this.IsRestrictedUse,this.SignalWord,this.ReEntryIntervalHours,this.DefaultRate,this.RateUnit}); ApplicationProduct.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MaterialID = json['MaterialID']; ProductName = json['ProductName']; EpaRegistrationNumber = json['EpaRegistrationNumber']; IsRestrictedUse = json['IsRestrictedUse']; SignalWord = json['SignalWord']; ReEntryIntervalHours = json['ReEntryIntervalHours']; DefaultRate = JsonConverters.toDouble(json['DefaultRate']); RateUnit = json['RateUnit']; return this; } Map toJson() => { 'MaterialID': MaterialID, 'ProductName': ProductName, 'EpaRegistrationNumber': EpaRegistrationNumber, 'IsRestrictedUse': IsRestrictedUse, 'SignalWord': SignalWord, 'ReEntryIntervalHours': ReEntryIntervalHours, 'DefaultRate': DefaultRate, 'RateUnit': RateUnit }; getTypeName() => "ApplicationProduct"; TypeContext? context = _ctx; } class ApplicationPrefillResponse implements IConvertible { List? Products = []; int? ApplicatorContactID; String? ApplicatorName; String? ApplicatorLicence; ResponseStatus? ResponseStatus; ApplicationPrefillResponse({this.Products,this.ApplicatorContactID,this.ApplicatorName,this.ApplicatorLicence,this.ResponseStatus}); ApplicationPrefillResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Products = JsonConverters.fromJson(json['Products'],'List',context!); ApplicatorContactID = json['ApplicatorContactID']; ApplicatorName = json['ApplicatorName']; ApplicatorLicence = json['ApplicatorLicence']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Products': JsonConverters.toJson(Products,'List',context!), 'ApplicatorContactID': ApplicatorContactID, 'ApplicatorName': ApplicatorName, 'ApplicatorLicence': ApplicatorLicence, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ApplicationPrefillResponse"; TypeContext? context = _ctx; } // @Route("/v1/field/application/prefill", "GET,OPTIONS") class ApplicationPrefillRequest implements IReturn, IConvertible, IGet { int? AgreementJobID; int? JobID; int? ProjectID; ApplicationPrefillRequest({this.AgreementJobID,this.JobID,this.ProjectID}); ApplicationPrefillRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgreementJobID = json['AgreementJobID']; JobID = json['JobID']; ProjectID = json['ProjectID']; return this; } Map toJson() => { 'AgreementJobID': AgreementJobID, 'JobID': JobID, 'ProjectID': ProjectID }; createResponse() => ApplicationPrefillResponse(); getResponseTypeName() => "ApplicationPrefillResponse"; getTypeName() => "ApplicationPrefillRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ApplicationProduct': TypeInfo(TypeOf.Class, create:() => ApplicationProduct()), 'ApplicationPrefillResponse': TypeInfo(TypeOf.Class, create:() => ApplicationPrefillResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ApplicationPrefillRequest': TypeInfo(TypeOf.Class, create:() => ApplicationPrefillRequest()), });