/* Options: Date: 2025-12-06 08:43:51 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: ReportManagerDataRequest.* //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/ReportManager/api/Objects/{Table}/data", Verbs="GET,POST,OPTIONS") public static class ReportManagerDataRequest { public String Table = null; public String TableKey = null; public String Query = null; public GetSqlResult QueryCast = null; public ArrayList Columns = new ArrayList(); public String Joins = null; public ArrayList JoinsCast = new ArrayList(); public String Limit = null; public String Sort = null; public ArrayList SortCast = new ArrayList(); public ArrayList Group = new ArrayList(); public String Buckets = null; public ArrayList BucketsCast = new ArrayList(); public String getTable() { return Table; } public ReportManagerDataRequest setTable(String value) { this.Table = value; return this; } public String getTableKey() { return TableKey; } public ReportManagerDataRequest setTableKey(String value) { this.TableKey = value; return this; } public String getQuery() { return Query; } public ReportManagerDataRequest setQuery(String value) { this.Query = value; return this; } public GetSqlResult getQueryCast() { return QueryCast; } public ReportManagerDataRequest setQueryCast(GetSqlResult value) { this.QueryCast = value; return this; } public ArrayList getColumns() { return Columns; } public ReportManagerDataRequest setColumns(ArrayList value) { this.Columns = value; return this; } public String getJoins() { return Joins; } public ReportManagerDataRequest setJoins(String value) { this.Joins = value; return this; } public ArrayList getJoinsCast() { return JoinsCast; } public ReportManagerDataRequest setJoinsCast(ArrayList value) { this.JoinsCast = value; return this; } public String getLimit() { return Limit; } public ReportManagerDataRequest setLimit(String value) { this.Limit = value; return this; } public String getSort() { return Sort; } public ReportManagerDataRequest setSort(String value) { this.Sort = value; return this; } public ArrayList getSortCast() { return SortCast; } public ReportManagerDataRequest setSortCast(ArrayList value) { this.SortCast = value; return this; } public ArrayList getGroup() { return Group; } public ReportManagerDataRequest setGroup(ArrayList value) { this.Group = value; return this; } public String getBuckets() { return Buckets; } public ReportManagerDataRequest setBuckets(String value) { this.Buckets = value; return this; } public ArrayList getBucketsCast() { return BucketsCast; } public ReportManagerDataRequest setBucketsCast(ArrayList value) { this.BucketsCast = value; return this; } } public static class GetSqlResult { public String Sql = null; public HashMap Values = null; public String Error = null; public Boolean HasError = null; public String getSql() { return Sql; } public GetSqlResult setSql(String value) { this.Sql = value; return this; } public HashMap getValues() { return Values; } public GetSqlResult setValues(HashMap value) { this.Values = value; return this; } public String getError() { return Error; } public GetSqlResult setError(String value) { this.Error = value; return this; } public Boolean isHasError() { return HasError; } public GetSqlResult setHasError(Boolean value) { this.HasError = value; return this; } } public static class ReportManagerDataJoin { public String Source = null; public String Target = null; public String SourceField = null; public String TargetField = null; public String id = null; public String getSource() { return Source; } public ReportManagerDataJoin setSource(String value) { this.Source = value; return this; } public String getTarget() { return Target; } public ReportManagerDataJoin setTarget(String value) { this.Target = value; return this; } public String getSourceField() { return SourceField; } public ReportManagerDataJoin setSourceField(String value) { this.SourceField = value; return this; } public String getTargetField() { return TargetField; } public ReportManagerDataJoin setTargetField(String value) { this.TargetField = value; return this; } public String getId() { return id; } public ReportManagerDataJoin setId(String value) { this.id = value; return this; } } public static class ReportManagerDataSort { public String Field = null; public String Direction = null; public String getField() { return Field; } public ReportManagerDataSort setField(String value) { this.Field = value; return this; } public String getDirection() { return Direction; } public ReportManagerDataSort setDirection(String value) { this.Direction = value; return this; } } public static class ReportManagerDataBucket { public String BucketColumn = null; public ArrayList Options = new ArrayList(); public String getBucketColumn() { return BucketColumn; } public ReportManagerDataBucket setBucketColumn(String value) { this.BucketColumn = value; return this; } public ArrayList getOptions() { return Options; } public ReportManagerDataBucket setOptions(ArrayList value) { this.Options = value; return this; } } public static class JValue extends JToken { } public static class ReportManagerDataBucketOption { public String Id = null; public ArrayList Values = new ArrayList(); public String getId() { return Id; } public ReportManagerDataBucketOption setId(String value) { this.Id = value; return this; } public ArrayList getValues() { return Values; } public ReportManagerDataBucketOption setValues(ArrayList value) { this.Values = value; return this; } } public static class JToken implements IJsonLineInfo { } public static interface IJsonLineInfo { public Integer LineNumber = null; public Integer LinePosition = null; } }