/* Options: Date: 2025-12-06 05:53:10 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: AgentPromotionRequest.* //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/AgentPromotion/{StartDate}", Verbs="GET,OPTIONS") // @Route(Path="/v1/AgentPromotion/{StartDate}/{EndDate}", Verbs="GET,OPTIONS") public static class AgentPromotionRequest implements IReturn { public Date StartDate = null; public Date EndDate = null; public Date getStartDate() { return StartDate; } public AgentPromotionRequest setStartDate(Date value) { this.StartDate = value; return this; } public Date getEndDate() { return EndDate; } public AgentPromotionRequest setEndDate(Date value) { this.EndDate = value; return this; } private static Object responseType = AgentPromotionResponse.class; public Object getResponseType() { return responseType; } } public static class AgentPromotionResponse { public ResponseStatus ResponseStatus = null; public ArrayList AgentPromotion = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public AgentPromotionResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getAgentPromotion() { return AgentPromotion; } public AgentPromotionResponse setAgentPromotion(ArrayList value) { this.AgentPromotion = value; return this; } } public static class AgentPromotion { public Integer AgentPromotionId = null; public Integer AgentId = null; public String FirstName = null; public String LastName = null; public String FullName = null; public BigDecimal PreviousLevel = null; public String PreviousRank = null; public BigDecimal NewLevel = null; public String NewRank = null; public BigDecimal CashFlow = null; public Integer AppCount = null; public Date DateCreated = null; public Integer getAgentPromotionId() { return AgentPromotionId; } public AgentPromotion setAgentPromotionId(Integer value) { this.AgentPromotionId = value; return this; } public Integer getAgentId() { return AgentId; } public AgentPromotion setAgentId(Integer value) { this.AgentId = value; return this; } public String getFirstName() { return FirstName; } public AgentPromotion setFirstName(String value) { this.FirstName = value; return this; } public String getLastName() { return LastName; } public AgentPromotion setLastName(String value) { this.LastName = value; return this; } public String getFullName() { return FullName; } public AgentPromotion setFullName(String value) { this.FullName = value; return this; } public BigDecimal getPreviousLevel() { return PreviousLevel; } public AgentPromotion setPreviousLevel(BigDecimal value) { this.PreviousLevel = value; return this; } public String getPreviousRank() { return PreviousRank; } public AgentPromotion setPreviousRank(String value) { this.PreviousRank = value; return this; } public BigDecimal getNewLevel() { return NewLevel; } public AgentPromotion setNewLevel(BigDecimal value) { this.NewLevel = value; return this; } public String getNewRank() { return NewRank; } public AgentPromotion setNewRank(String value) { this.NewRank = value; return this; } public BigDecimal getCashFlow() { return CashFlow; } public AgentPromotion setCashFlow(BigDecimal value) { this.CashFlow = value; return this; } public Integer getAppCount() { return AppCount; } public AgentPromotion setAppCount(Integer value) { this.AppCount = value; return this; } public Date getDateCreated() { return DateCreated; } public AgentPromotion setDateCreated(Date value) { this.DateCreated = value; return this; } } }