/* Options: Date: 2026-07-08 22:10:34 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: MaterialUsageRequest.* //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/Material/{MaterialID}/usage", Verbs="GET,OPTIONS") public static class MaterialUsageRequest implements IReturn { public Integer MaterialID = null; public Integer getMaterialID() { return MaterialID; } public MaterialUsageRequest setMaterialID(Integer value) { this.MaterialID = value; return this; } private static Object responseType = MaterialUsageResponse.class; public Object getResponseType() { return responseType; } } public static class MaterialUsageResponse { public ResponseStatus ResponseStatus = null; public ArrayList Usage = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public MaterialUsageResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getUsage() { return Usage; } public MaterialUsageResponse setUsage(ArrayList value) { this.Usage = value; return this; } } public static class MaterialUsageEntry { public String Scope = null; public Integer ProjectID = null; public String ProjectName = null; public Integer JobID = null; public String JobName = null; public Integer Quantity = null; public String UsageDate = null; public String getScope() { return Scope; } public MaterialUsageEntry setScope(String value) { this.Scope = value; return this; } public Integer getProjectID() { return ProjectID; } public MaterialUsageEntry setProjectID(Integer value) { this.ProjectID = value; return this; } public String getProjectName() { return ProjectName; } public MaterialUsageEntry setProjectName(String value) { this.ProjectName = value; return this; } public Integer getJobID() { return JobID; } public MaterialUsageEntry setJobID(Integer value) { this.JobID = value; return this; } public String getJobName() { return JobName; } public MaterialUsageEntry setJobName(String value) { this.JobName = value; return this; } public Integer getQuantity() { return Quantity; } public MaterialUsageEntry setQuantity(Integer value) { this.Quantity = value; return this; } public String getUsageDate() { return UsageDate; } public MaterialUsageEntry setUsageDate(String value) { this.UsageDate = value; return this; } } }