com.aliyun.quickbi_public20220101.models.QueryDatasetInfoResponseBody Maven / Gradle / Ivy
Show all versions of quickbi_public20220101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.quickbi_public20220101.models;
import com.aliyun.tea.*;
public class QueryDatasetInfoResponseBody extends TeaModel {
/**
* Whether the operation is successfully returned. Valid values:
*
* * true: The call is successful.
* * false: The call fails.
*/
@NameInMap("RequestId")
public String requestId;
/**
* The ID of the request.
*/
@NameInMap("Result")
public QueryDatasetInfoResponseBodyResult result;
/**
* The unique ID of the dataset.
*/
@NameInMap("Success")
public Boolean success;
public static QueryDatasetInfoResponseBody build(java.util.Map map) throws Exception {
QueryDatasetInfoResponseBody self = new QueryDatasetInfoResponseBody();
return TeaModel.build(map, self);
}
public QueryDatasetInfoResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public QueryDatasetInfoResponseBody setResult(QueryDatasetInfoResponseBodyResult result) {
this.result = result;
return this;
}
public QueryDatasetInfoResponseBodyResult getResult() {
return this.result;
}
public QueryDatasetInfoResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class QueryDatasetInfoResponseBodyResultCubeTableList extends TeaModel {
/**
* Indicates whether the data source table is valid. Valid values:
*
* * true: data source table
* * false: custom table
*/
@NameInMap("Caption")
public String caption;
/**
* The display name of the table.
*/
@NameInMap("Customsql")
public Boolean customsql;
/**
* The name of the table.
*/
@NameInMap("DatasourceId")
public String datasourceId;
/**
* The ID of the data source.
*/
@NameInMap("DsType")
public String dsType;
/**
* The unique ID of the table.
*/
@NameInMap("FactTable")
public Boolean factTable;
/**
* Indicates whether the table is a custom SQL table. Valid values:
*
* * true: custom SQL table
* * false: non-custom SQL table
*/
@NameInMap("Sql")
public String sql;
/**
* The list of tables used by the dataset.
*/
@NameInMap("TableName")
public String tableName;
/**
* The type of the data source. Valid values:
*
* * mysql
* * odps
* * oracle
* * ... and other data source types supported by Quick BI
*/
@NameInMap("UniqueId")
public String uniqueId;
public static QueryDatasetInfoResponseBodyResultCubeTableList build(java.util.Map map) throws Exception {
QueryDatasetInfoResponseBodyResultCubeTableList self = new QueryDatasetInfoResponseBodyResultCubeTableList();
return TeaModel.build(map, self);
}
public QueryDatasetInfoResponseBodyResultCubeTableList setCaption(String caption) {
this.caption = caption;
return this;
}
public String getCaption() {
return this.caption;
}
public QueryDatasetInfoResponseBodyResultCubeTableList setCustomsql(Boolean customsql) {
this.customsql = customsql;
return this;
}
public Boolean getCustomsql() {
return this.customsql;
}
public QueryDatasetInfoResponseBodyResultCubeTableList setDatasourceId(String datasourceId) {
this.datasourceId = datasourceId;
return this;
}
public String getDatasourceId() {
return this.datasourceId;
}
public QueryDatasetInfoResponseBodyResultCubeTableList setDsType(String dsType) {
this.dsType = dsType;
return this;
}
public String getDsType() {
return this.dsType;
}
public QueryDatasetInfoResponseBodyResultCubeTableList setFactTable(Boolean factTable) {
this.factTable = factTable;
return this;
}
public Boolean getFactTable() {
return this.factTable;
}
public QueryDatasetInfoResponseBodyResultCubeTableList setSql(String sql) {
this.sql = sql;
return this;
}
public String getSql() {
return this.sql;
}
public QueryDatasetInfoResponseBodyResultCubeTableList setTableName(String tableName) {
this.tableName = tableName;
return this;
}
public String getTableName() {
return this.tableName;
}
public QueryDatasetInfoResponseBodyResultCubeTableList setUniqueId(String uniqueId) {
this.uniqueId = uniqueId;
return this;
}
public String getUniqueId() {
return this.uniqueId;
}
}
public static class QueryDatasetInfoResponseBodyResultDimensionList extends TeaModel {
/**
* The unique ID of the field that is referenced by the group measure. Non-NULL if and only if the metric is a grouping metric.
*/
@NameInMap("Caption")
public String caption;
/**
* A list of all dimensions in the dataset.
*/
@NameInMap("DataType")
public String dataType;
/**
* The actual physical field.
*/
@NameInMap("DimensionType")
public String dimensionType;
/**
* Data type; value:
*
* * string: character
* * number: a number
* * datetime: time
*/
@NameInMap("Expression")
public String expression;
/**
* Expression for a calculated dimension; valid only for calculated dimensions.
*/
@NameInMap("FactColumn")
public String factColumn;
/**
* The type of the dimension. Valid values:
*
* * standard_dimension: General Dimension
* * calculate_dimension: calculating dimensions
* * group_dimension: grouping dimensions
*/
@NameInMap("Granularity")
public String granularity;
/**
* The granularity.
*/
@NameInMap("RefUid")
public String refUid;
/**
* The ARN.
*/
@NameInMap("TableUniqueId")
public String tableUniqueId;
/**
* The display name of the dimension.
*/
@NameInMap("Uid")
public String uid;
public static QueryDatasetInfoResponseBodyResultDimensionList build(java.util.Map map) throws Exception {
QueryDatasetInfoResponseBodyResultDimensionList self = new QueryDatasetInfoResponseBodyResultDimensionList();
return TeaModel.build(map, self);
}
public QueryDatasetInfoResponseBodyResultDimensionList setCaption(String caption) {
this.caption = caption;
return this;
}
public String getCaption() {
return this.caption;
}
public QueryDatasetInfoResponseBodyResultDimensionList setDataType(String dataType) {
this.dataType = dataType;
return this;
}
public String getDataType() {
return this.dataType;
}
public QueryDatasetInfoResponseBodyResultDimensionList setDimensionType(String dimensionType) {
this.dimensionType = dimensionType;
return this;
}
public String getDimensionType() {
return this.dimensionType;
}
public QueryDatasetInfoResponseBodyResultDimensionList setExpression(String expression) {
this.expression = expression;
return this;
}
public String getExpression() {
return this.expression;
}
public QueryDatasetInfoResponseBodyResultDimensionList setFactColumn(String factColumn) {
this.factColumn = factColumn;
return this;
}
public String getFactColumn() {
return this.factColumn;
}
public QueryDatasetInfoResponseBodyResultDimensionList setGranularity(String granularity) {
this.granularity = granularity;
return this;
}
public String getGranularity() {
return this.granularity;
}
public QueryDatasetInfoResponseBodyResultDimensionList setRefUid(String refUid) {
this.refUid = refUid;
return this;
}
public String getRefUid() {
return this.refUid;
}
public QueryDatasetInfoResponseBodyResultDimensionList setTableUniqueId(String tableUniqueId) {
this.tableUniqueId = tableUniqueId;
return this;
}
public String getTableUniqueId() {
return this.tableUniqueId;
}
public QueryDatasetInfoResponseBodyResultDimensionList setUid(String uid) {
this.uid = uid;
return this;
}
public String getUid() {
return this.uid;
}
}
public static class QueryDatasetInfoResponseBodyResultDirectory extends TeaModel {
/**
* Test directory
*/
@NameInMap("Id")
public String id;
/**
* Test directory
*/
@NameInMap("Name")
public String name;
/**
* The information about the directory to which the dataset belongs.
*/
@NameInMap("PathId")
public String pathId;
/**
* The path of the directory ID, for example, aa/bb/cc/dd.
*/
@NameInMap("PathName")
public String pathName;
public static QueryDatasetInfoResponseBodyResultDirectory build(java.util.Map map) throws Exception {
QueryDatasetInfoResponseBodyResultDirectory self = new QueryDatasetInfoResponseBodyResultDirectory();
return TeaModel.build(map, self);
}
public QueryDatasetInfoResponseBodyResultDirectory setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public QueryDatasetInfoResponseBodyResultDirectory setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryDatasetInfoResponseBodyResultDirectory setPathId(String pathId) {
this.pathId = pathId;
return this;
}
public String getPathId() {
return this.pathId;
}
public QueryDatasetInfoResponseBodyResultDirectory setPathName(String pathName) {
this.pathName = pathName;
return this;
}
public String getPathName() {
return this.pathName;
}
}
public static class QueryDatasetInfoResponseBodyResultMeasureList extends TeaModel {
/**
* The actual physical field.
*/
@NameInMap("Caption")
public String caption;
/**
* A list of all measures for the dataset.
*/
@NameInMap("DataType")
public String dataType;
/**
* Data type; value:
*
* * string: character
* * number: a number
* * datetime: time
*/
@NameInMap("Expression")
public String expression;
/**
* The type of the measure. Valid values:
*
* * standard_measure: General Metrics
* * calculate_measure: Calculating Measures
*/
@NameInMap("FactColumn")
public String factColumn;
/**
* An expression that calculates a measure; valid only for calculated measures.
*/
@NameInMap("MeasureType")
public String measureType;
/**
* The display name of the metric.
*/
@NameInMap("TableUniqueId")
public String tableUniqueId;
/**
* The unique ID of the table to which the table belongs, which corresponds to the UniqueId of the CubeTypeList.
*/
@NameInMap("Uid")
public String uid;
public static QueryDatasetInfoResponseBodyResultMeasureList build(java.util.Map map) throws Exception {
QueryDatasetInfoResponseBodyResultMeasureList self = new QueryDatasetInfoResponseBodyResultMeasureList();
return TeaModel.build(map, self);
}
public QueryDatasetInfoResponseBodyResultMeasureList setCaption(String caption) {
this.caption = caption;
return this;
}
public String getCaption() {
return this.caption;
}
public QueryDatasetInfoResponseBodyResultMeasureList setDataType(String dataType) {
this.dataType = dataType;
return this;
}
public String getDataType() {
return this.dataType;
}
public QueryDatasetInfoResponseBodyResultMeasureList setExpression(String expression) {
this.expression = expression;
return this;
}
public String getExpression() {
return this.expression;
}
public QueryDatasetInfoResponseBodyResultMeasureList setFactColumn(String factColumn) {
this.factColumn = factColumn;
return this;
}
public String getFactColumn() {
return this.factColumn;
}
public QueryDatasetInfoResponseBodyResultMeasureList setMeasureType(String measureType) {
this.measureType = measureType;
return this;
}
public String getMeasureType() {
return this.measureType;
}
public QueryDatasetInfoResponseBodyResultMeasureList setTableUniqueId(String tableUniqueId) {
this.tableUniqueId = tableUniqueId;
return this;
}
public String getTableUniqueId() {
return this.tableUniqueId;
}
public QueryDatasetInfoResponseBodyResultMeasureList setUid(String uid) {
this.uid = uid;
return this;
}
public String getUid() {
return this.uid;
}
}
public static class QueryDatasetInfoResponseBodyResult extends TeaModel {
/**
* The unique ID of the dataset.
*/
@NameInMap("CubeTableList")
public java.util.List cubeTableList;
/**
* The unique ID of the workspace to which the dataset belongs.
*/
@NameInMap("CustimzeSql")
public Boolean custimzeSql;
/**
* The type of the data source. Valid values:
*
* * mysql
* * odps
* * oracle
* * ... Data source types supported by Quick BI such as
*/
@NameInMap("DatasetId")
public String datasetId;
/**
* The user ID of the dataset owner in the Quick BI.
*/
@NameInMap("DatasetName")
public String datasetName;
/**
* If it is a custom SQL table, this is the specific SQL.
*/
@NameInMap("DimensionList")
public java.util.List dimensionList;
/**
* The unique ID of the metric.
*/
@NameInMap("Directory")
public QueryDatasetInfoResponseBodyResultDirectory directory;
/**
* The name of the data source.
*/
@NameInMap("DsId")
public String dsId;
/**
* The time when the dataset was last modified.
*/
@NameInMap("DsName")
public String dsName;
/**
* The point in time when the training dataset was created.
*/
@NameInMap("DsType")
public String dsType;
/**
* Indicates whether to customize SQL statements. Valid values:
*
* * true
* * false
*/
@NameInMap("GmtCreate")
public String gmtCreate;
/**
* The information about the dataset.
*/
@NameInMap("GmtModify")
public String gmtModify;
/**
* The unique ID of the table to which the table belongs, which corresponds to the UniqueId of the CubeTypeList.
*/
@NameInMap("MeasureList")
public java.util.List measureList;
/**
* Test Space
*/
@NameInMap("OwnerId")
public String ownerId;
/**
* The unique ID of the data source.
*/
@NameInMap("OwnerName")
public String ownerName;
/**
* The name of the training dataset.
*/
@NameInMap("RowLevel")
public Boolean rowLevel;
/**
* Whether row-level permissions are enabled. Valid values:
*
* * true: The VIP Netty channel is enabled.
* * false: The VIP Netty channel is disabled.
*/
@NameInMap("WorkspaceId")
public String workspaceId;
/**
* Big Baby
*/
@NameInMap("WorkspaceName")
public String workspaceName;
public static QueryDatasetInfoResponseBodyResult build(java.util.Map map) throws Exception {
QueryDatasetInfoResponseBodyResult self = new QueryDatasetInfoResponseBodyResult();
return TeaModel.build(map, self);
}
public QueryDatasetInfoResponseBodyResult setCubeTableList(java.util.List cubeTableList) {
this.cubeTableList = cubeTableList;
return this;
}
public java.util.List getCubeTableList() {
return this.cubeTableList;
}
public QueryDatasetInfoResponseBodyResult setCustimzeSql(Boolean custimzeSql) {
this.custimzeSql = custimzeSql;
return this;
}
public Boolean getCustimzeSql() {
return this.custimzeSql;
}
public QueryDatasetInfoResponseBodyResult setDatasetId(String datasetId) {
this.datasetId = datasetId;
return this;
}
public String getDatasetId() {
return this.datasetId;
}
public QueryDatasetInfoResponseBodyResult setDatasetName(String datasetName) {
this.datasetName = datasetName;
return this;
}
public String getDatasetName() {
return this.datasetName;
}
public QueryDatasetInfoResponseBodyResult setDimensionList(java.util.List dimensionList) {
this.dimensionList = dimensionList;
return this;
}
public java.util.List getDimensionList() {
return this.dimensionList;
}
public QueryDatasetInfoResponseBodyResult setDirectory(QueryDatasetInfoResponseBodyResultDirectory directory) {
this.directory = directory;
return this;
}
public QueryDatasetInfoResponseBodyResultDirectory getDirectory() {
return this.directory;
}
public QueryDatasetInfoResponseBodyResult setDsId(String dsId) {
this.dsId = dsId;
return this;
}
public String getDsId() {
return this.dsId;
}
public QueryDatasetInfoResponseBodyResult setDsName(String dsName) {
this.dsName = dsName;
return this;
}
public String getDsName() {
return this.dsName;
}
public QueryDatasetInfoResponseBodyResult setDsType(String dsType) {
this.dsType = dsType;
return this;
}
public String getDsType() {
return this.dsType;
}
public QueryDatasetInfoResponseBodyResult setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public QueryDatasetInfoResponseBodyResult setGmtModify(String gmtModify) {
this.gmtModify = gmtModify;
return this;
}
public String getGmtModify() {
return this.gmtModify;
}
public QueryDatasetInfoResponseBodyResult setMeasureList(java.util.List measureList) {
this.measureList = measureList;
return this;
}
public java.util.List getMeasureList() {
return this.measureList;
}
public QueryDatasetInfoResponseBodyResult setOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
public String getOwnerId() {
return this.ownerId;
}
public QueryDatasetInfoResponseBodyResult setOwnerName(String ownerName) {
this.ownerName = ownerName;
return this;
}
public String getOwnerName() {
return this.ownerName;
}
public QueryDatasetInfoResponseBodyResult setRowLevel(Boolean rowLevel) {
this.rowLevel = rowLevel;
return this;
}
public Boolean getRowLevel() {
return this.rowLevel;
}
public QueryDatasetInfoResponseBodyResult setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
return this;
}
public String getWorkspaceId() {
return this.workspaceId;
}
public QueryDatasetInfoResponseBodyResult setWorkspaceName(String workspaceName) {
this.workspaceName = workspaceName;
return this;
}
public String getWorkspaceName() {
return this.workspaceName;
}
}
}