com.aliyun.sddp20190103.models.DescribeColumnsResponseBody Maven / Gradle / Ivy
Show all versions of sddp20190103 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sddp20190103.models;
import com.aliyun.tea.*;
public class DescribeColumnsResponseBody extends TeaModel {
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* A list of columns.
*/
@NameInMap("Items")
public java.util.List items;
/**
* The number of entries returned per page.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ID of the request.
*
* example:
* 769FB3C1-F4C9-4******
*/
@NameInMap("RequestId")
public String requestId;
/**
* The total number of entries returned.
*
* example:
* 12
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static DescribeColumnsResponseBody build(java.util.Map map) throws Exception {
DescribeColumnsResponseBody self = new DescribeColumnsResponseBody();
return TeaModel.build(map, self);
}
public DescribeColumnsResponseBody setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public DescribeColumnsResponseBody setItems(java.util.List items) {
this.items = items;
return this;
}
public java.util.List getItems() {
return this.items;
}
public DescribeColumnsResponseBody setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeColumnsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeColumnsResponseBody setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
public static class DescribeColumnsResponseBodyItemsModelTags extends TeaModel {
/**
* The tag ID.
*
* - 101: sensitive personal information
* - 102: personal information
* - 103: important information
*
*
* example:
* 101
*/
@NameInMap("Id")
public Long id;
/**
* The tag name.
*
* - Sensitive personal information
* - Personal information
* - Important information
*
*
* example:
* personal sensitive data
*/
@NameInMap("Name")
public String name;
public static DescribeColumnsResponseBodyItemsModelTags build(java.util.Map map) throws Exception {
DescribeColumnsResponseBodyItemsModelTags self = new DescribeColumnsResponseBodyItemsModelTags();
return TeaModel.build(map, self);
}
public DescribeColumnsResponseBodyItemsModelTags setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public DescribeColumnsResponseBodyItemsModelTags setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class DescribeColumnsResponseBodyItems extends TeaModel {
/**
* The time when the data in the column of the table is created. Unit: milliseconds.
*
* example:
* 1536751124000
*/
@NameInMap("CreationTime")
public Long creationTime;
/**
* The type of data in the column of the table.
*
* example:
* String
*/
@NameInMap("DataType")
public String dataType;
/**
* The ID of the column of the table.
*
* example:
* 268
*/
@NameInMap("Id")
public String id;
/**
* The ID of the instance to which data in the column of the table belongs.
*
* example:
* 1
*/
@NameInMap("InstanceId")
public Long instanceId;
/**
* The name of the instance to which data in the column of the table belongs.
*
* example:
* rm-bp17t1htja573l5i8****
*/
@NameInMap("InstanceName")
public String instanceName;
/**
* A list of tags for data that hits the recognition model.
*/
@NameInMap("ModelTags")
public java.util.List modelTags;
/**
* The name of the column of the table.
*
* example:
* gxdata
*/
@NameInMap("Name")
public String name;
/**
* The name of the sensitivity level for asset. Valid values:
*
* - N/A: indicates that no sensitive data is detected.
* - S1: indicates the low sensitivity level.
* - S2: indicates the medium sensitivity level.
* - S3: indicates the high sensitivity level.
* - S4: indicates the highest sensitivity level.
*
*
* example:
* S3
*/
@NameInMap("OdpsRiskLevelName")
public String odpsRiskLevelName;
/**
* The ID of the sensitivity level of the asset. Valid values:
*
* - 1: N/A
* - 2: S1
* - 3: S2
* - 4: S3
* - 5: S4
*
*
* example:
* 3
*/
@NameInMap("OdpsRiskLevelValue")
public Integer odpsRiskLevelValue;
/**
* The name of the service to which data in the column of the table belongs. Valid values include MaxCompute, OSS, ADS, OTS, and RDS.
*
* example:
* MaxCompute
*/
@NameInMap("ProductCode")
public String productCode;
@NameInMap("RegionId")
public String regionId;
/**
* The ID of the revision record.
*
* example:
* 12
*/
@NameInMap("RevisionId")
public Long revisionId;
/**
* Indicates whether the column is revised. Valid values:
*
* - 1: yes
* - 0: no
*
*
* example:
* 1
*/
@NameInMap("RevisionStatus")
public Long revisionStatus;
/**
* The ID of the sensitivity level of data in the column of the table. Valid values:
*
* - 1: N/A
* - 2: S1
* - 3: S2
* - 4: S3
* - 5: S4
*
*
* example:
* 2
*/
@NameInMap("RiskLevelId")
public Long riskLevelId;
/**
* The name of the sensitivity level for data in the column of the table. Valid values:
*
* - N/A: indicates that no sensitive data is detected.
* - S1: indicates the low sensitivity level.
* - S2: indicates the medium sensitivity level.
* - S3: indicates the high sensitivity level.
* - S4: indicates the highest sensitivity level.
*
*
* example:
* S2
*/
@NameInMap("RiskLevelName")
public String riskLevelName;
/**
* The ID of the sensitive data detection rule that data in the column of the table hits.
*
* example:
* 1
*/
@NameInMap("RuleId")
public Long ruleId;
/**
* The name of the sensitive data detection rule that data in the column of the table hits.
*
* example:
* \\ rule
*/
@NameInMap("RuleName")
public String ruleName;
/**
* The name of the sensitivity level. Valid values:
*
* - N/A: indicates that no sensitive data is detected.
* - S1: indicates the low sensitivity level.
* - S2: indicates the medium sensitivity level.
* - S3: indicates the high sensitivity level.
* - S4: indicates the highest sensitivity level.
*
*
* example:
* S2
*/
@NameInMap("SensLevelName")
public String sensLevelName;
/**
* Indicates whether the column contains sensitive data. Valid values:
*
* - true
* - false
*
*
* example:
* false
*/
@NameInMap("Sensitive")
public Boolean sensitive;
/**
* The ID of the table.
*
* example:
* 123
*/
@NameInMap("TableId")
public Long tableId;
/**
* The name of the table to which the revised column belongs.
*
* example:
* it_table
*/
@NameInMap("TableName")
public String tableName;
public static DescribeColumnsResponseBodyItems build(java.util.Map map) throws Exception {
DescribeColumnsResponseBodyItems self = new DescribeColumnsResponseBodyItems();
return TeaModel.build(map, self);
}
public DescribeColumnsResponseBodyItems setCreationTime(Long creationTime) {
this.creationTime = creationTime;
return this;
}
public Long getCreationTime() {
return this.creationTime;
}
public DescribeColumnsResponseBodyItems setDataType(String dataType) {
this.dataType = dataType;
return this;
}
public String getDataType() {
return this.dataType;
}
public DescribeColumnsResponseBodyItems setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DescribeColumnsResponseBodyItems setInstanceId(Long instanceId) {
this.instanceId = instanceId;
return this;
}
public Long getInstanceId() {
return this.instanceId;
}
public DescribeColumnsResponseBodyItems setInstanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
public String getInstanceName() {
return this.instanceName;
}
public DescribeColumnsResponseBodyItems setModelTags(java.util.List modelTags) {
this.modelTags = modelTags;
return this;
}
public java.util.List getModelTags() {
return this.modelTags;
}
public DescribeColumnsResponseBodyItems setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public DescribeColumnsResponseBodyItems setOdpsRiskLevelName(String odpsRiskLevelName) {
this.odpsRiskLevelName = odpsRiskLevelName;
return this;
}
public String getOdpsRiskLevelName() {
return this.odpsRiskLevelName;
}
public DescribeColumnsResponseBodyItems setOdpsRiskLevelValue(Integer odpsRiskLevelValue) {
this.odpsRiskLevelValue = odpsRiskLevelValue;
return this;
}
public Integer getOdpsRiskLevelValue() {
return this.odpsRiskLevelValue;
}
public DescribeColumnsResponseBodyItems setProductCode(String productCode) {
this.productCode = productCode;
return this;
}
public String getProductCode() {
return this.productCode;
}
public DescribeColumnsResponseBodyItems setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeColumnsResponseBodyItems setRevisionId(Long revisionId) {
this.revisionId = revisionId;
return this;
}
public Long getRevisionId() {
return this.revisionId;
}
public DescribeColumnsResponseBodyItems setRevisionStatus(Long revisionStatus) {
this.revisionStatus = revisionStatus;
return this;
}
public Long getRevisionStatus() {
return this.revisionStatus;
}
public DescribeColumnsResponseBodyItems setRiskLevelId(Long riskLevelId) {
this.riskLevelId = riskLevelId;
return this;
}
public Long getRiskLevelId() {
return this.riskLevelId;
}
public DescribeColumnsResponseBodyItems setRiskLevelName(String riskLevelName) {
this.riskLevelName = riskLevelName;
return this;
}
public String getRiskLevelName() {
return this.riskLevelName;
}
public DescribeColumnsResponseBodyItems setRuleId(Long ruleId) {
this.ruleId = ruleId;
return this;
}
public Long getRuleId() {
return this.ruleId;
}
public DescribeColumnsResponseBodyItems setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
public DescribeColumnsResponseBodyItems setSensLevelName(String sensLevelName) {
this.sensLevelName = sensLevelName;
return this;
}
public String getSensLevelName() {
return this.sensLevelName;
}
public DescribeColumnsResponseBodyItems setSensitive(Boolean sensitive) {
this.sensitive = sensitive;
return this;
}
public Boolean getSensitive() {
return this.sensitive;
}
public DescribeColumnsResponseBodyItems setTableId(Long tableId) {
this.tableId = tableId;
return this;
}
public Long getTableId() {
return this.tableId;
}
public DescribeColumnsResponseBodyItems setTableName(String tableName) {
this.tableName = tableName;
return this;
}
public String getTableName() {
return this.tableName;
}
}
}