/* Options: Date: 2026-08-01 03:03:29 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: ResourceRatesRequest.* //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/rates", Verbs="GET,OPTIONS") public static class ResourceRatesRequest implements IReturn { public String Type = null; public String AsOf = null; public String getType() { return Type; } public ResourceRatesRequest setType(String value) { this.Type = value; return this; } public String getAsOf() { return AsOf; } public ResourceRatesRequest setAsOf(String value) { this.AsOf = value; return this; } private static Object responseType = ResourceRatesResponse.class; public Object getResponseType() { return responseType; } } public static class ResourceRatesResponse { public ResponseStatus ResponseStatus = null; public String Type = null; public String AsOf = null; public ArrayList Resources = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public ResourceRatesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public String getType() { return Type; } public ResourceRatesResponse setType(String value) { this.Type = value; return this; } public String getAsOf() { return AsOf; } public ResourceRatesResponse setAsOf(String value) { this.AsOf = value; return this; } public ArrayList getResources() { return Resources; } public ResourceRatesResponse setResources(ArrayList value) { this.Resources = value; return this; } } public static class ResourceRateResource { public UUID Id = null; public String Name = null; public String Meta = null; public String Unit = null; public BigDecimal CostRate = null; public BigDecimal BillRate = null; public String EffectiveFrom = null; public Boolean HasCard = null; public ArrayList Composition = new ArrayList(); public BigDecimal PrevailingFloor = null; public ArrayList History = new ArrayList(); public UUID getId() { return Id; } public ResourceRateResource setId(UUID value) { this.Id = value; return this; } public String getName() { return Name; } public ResourceRateResource setName(String value) { this.Name = value; return this; } public String getMeta() { return Meta; } public ResourceRateResource setMeta(String value) { this.Meta = value; return this; } public String getUnit() { return Unit; } public ResourceRateResource setUnit(String value) { this.Unit = value; return this; } public BigDecimal getCostRate() { return CostRate; } public ResourceRateResource setCostRate(BigDecimal value) { this.CostRate = value; return this; } public BigDecimal getBillRate() { return BillRate; } public ResourceRateResource setBillRate(BigDecimal value) { this.BillRate = value; return this; } public String getEffectiveFrom() { return EffectiveFrom; } public ResourceRateResource setEffectiveFrom(String value) { this.EffectiveFrom = value; return this; } public Boolean isHasCard() { return HasCard; } public ResourceRateResource setHasCard(Boolean value) { this.HasCard = value; return this; } public ArrayList getComposition() { return Composition; } public ResourceRateResource setComposition(ArrayList value) { this.Composition = value; return this; } public BigDecimal getPrevailingFloor() { return PrevailingFloor; } public ResourceRateResource setPrevailingFloor(BigDecimal value) { this.PrevailingFloor = value; return this; } public ArrayList getHistory() { return History; } public ResourceRateResource setHistory(ArrayList value) { this.History = value; return this; } } public static class ResourceRateComponentDto { public String Label = null; public BigDecimal Amount = null; public String getLabel() { return Label; } public ResourceRateComponentDto setLabel(String value) { this.Label = value; return this; } public BigDecimal getAmount() { return Amount; } public ResourceRateComponentDto setAmount(BigDecimal value) { this.Amount = value; return this; } } public static class ResourceRateHistoryRow { public String From = null; public BigDecimal Cost = null; public BigDecimal Bill = null; public String getFrom() { return From; } public ResourceRateHistoryRow setFrom(String value) { this.From = value; return this; } public BigDecimal getCost() { return Cost; } public ResourceRateHistoryRow setCost(BigDecimal value) { this.Cost = value; return this; } public BigDecimal getBill() { return Bill; } public ResourceRateHistoryRow setBill(BigDecimal value) { this.Bill = value; return this; } } }