/* Options: Date: 2026-08-01 04:17:00 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AgreementNeedsSetRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/territory/agreementneeds", Verbs="POST,OPTIONS") public static class AgreementNeedsSetRequest implements IReturn { public Integer AgreementID = null; public ArrayList EquipmentIDs = new ArrayList(); public Integer getAgreementID() { return AgreementID; } public AgreementNeedsSetRequest setAgreementID(Integer value) { this.AgreementID = value; return this; } public ArrayList getEquipmentIDs() { return EquipmentIDs; } public AgreementNeedsSetRequest setEquipmentIDs(ArrayList value) { this.EquipmentIDs = value; return this; } private static Object responseType = TerritoryResponse.class; public Object getResponseType() { return responseType; } } public static class TerritoryResponse { public ResponseStatus ResponseStatus = null; public ArrayList Territories = new ArrayList(); public ArrayList Properties = new ArrayList(); public ArrayList CrewEquipment = new ArrayList(); public ArrayList AgreementNeeds = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public TerritoryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getTerritories() { return Territories; } public TerritoryResponse setTerritories(ArrayList value) { this.Territories = value; return this; } public ArrayList getProperties() { return Properties; } public TerritoryResponse setProperties(ArrayList value) { this.Properties = value; return this; } public ArrayList getCrewEquipment() { return CrewEquipment; } public TerritoryResponse setCrewEquipment(ArrayList value) { this.CrewEquipment = value; return this; } public ArrayList getAgreementNeeds() { return AgreementNeeds; } public TerritoryResponse setAgreementNeeds(ArrayList value) { this.AgreementNeeds = value; return this; } } public static class Territory { public Integer TerritoryID = null; public String TerritoryUID = null; public String Name = null; public String Color = null; public String ZipCsv = null; public Integer CrewID = null; public String CrewName = null; public Boolean Active = null; public Integer getTerritoryID() { return TerritoryID; } public Territory setTerritoryID(Integer value) { this.TerritoryID = value; return this; } public String getTerritoryUID() { return TerritoryUID; } public Territory setTerritoryUID(String value) { this.TerritoryUID = value; return this; } public String getName() { return Name; } public Territory setName(String value) { this.Name = value; return this; } public String getColor() { return Color; } public Territory setColor(String value) { this.Color = value; return this; } public String getZipCsv() { return ZipCsv; } public Territory setZipCsv(String value) { this.ZipCsv = value; return this; } public Integer getCrewID() { return CrewID; } public Territory setCrewID(Integer value) { this.CrewID = value; return this; } public String getCrewName() { return CrewName; } public Territory setCrewName(String value) { this.CrewName = value; return this; } public Boolean isActive() { return Active; } public Territory setActive(Boolean value) { this.Active = value; return this; } } public static class TerritoryPropertyRow { public Integer TerritoryID = null; public Integer AgreementID = null; public Integer getTerritoryID() { return TerritoryID; } public TerritoryPropertyRow setTerritoryID(Integer value) { this.TerritoryID = value; return this; } public Integer getAgreementID() { return AgreementID; } public TerritoryPropertyRow setAgreementID(Integer value) { this.AgreementID = value; return this; } } public static class CrewEquipmentRow { public Integer CrewID = null; public Integer EquipmentID = null; public String EquipmentName = null; public Integer getCrewID() { return CrewID; } public CrewEquipmentRow setCrewID(Integer value) { this.CrewID = value; return this; } public Integer getEquipmentID() { return EquipmentID; } public CrewEquipmentRow setEquipmentID(Integer value) { this.EquipmentID = value; return this; } public String getEquipmentName() { return EquipmentName; } public CrewEquipmentRow setEquipmentName(String value) { this.EquipmentName = value; return this; } } public static class AgreementNeedRow { public Integer AgreementID = null; public Integer EquipmentID = null; public String EquipmentName = null; public Integer getAgreementID() { return AgreementID; } public AgreementNeedRow setAgreementID(Integer value) { this.AgreementID = value; return this; } public Integer getEquipmentID() { return EquipmentID; } public AgreementNeedRow setEquipmentID(Integer value) { this.EquipmentID = value; return this; } public String getEquipmentName() { return EquipmentName; } public AgreementNeedRow setEquipmentName(String value) { this.EquipmentName = value; return this; } } }