com.aliyun.sddp20190103.models.DescribeUserStatusResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sddp20190103.models;
import com.aliyun.tea.*;
public class DescribeUserStatusResponseBody extends TeaModel {
/**
* The ID of the request.
*
* example:
* 769FB3C1-F4C9-42DF-9B72-7077A8989C13
*/
@NameInMap("RequestId")
public String requestId;
/**
* The information about the current account.
*/
@NameInMap("UserStatus")
public DescribeUserStatusResponseBodyUserStatus userStatus;
public static DescribeUserStatusResponseBody build(java.util.Map map) throws Exception {
DescribeUserStatusResponseBody self = new DescribeUserStatusResponseBody();
return TeaModel.build(map, self);
}
public DescribeUserStatusResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeUserStatusResponseBody setUserStatus(DescribeUserStatusResponseBodyUserStatus userStatus) {
this.userStatus = userStatus;
return this;
}
public DescribeUserStatusResponseBodyUserStatus getUserStatus() {
return this.userStatus;
}
public static class DescribeUserStatusResponseBodyUserStatus extends TeaModel {
/**
* The AccessKey ID of the current account.
*
* example:
* LTAI4G67HRBzNRmMhfyv****
*/
@NameInMap("AccessKeyId")
public String accessKeyId;
/**
* Indicates whether the SQL Explorer feature can be disabled. Valid values:
*
* - true: yes
* - false: no
*
*
* example:
* true
*/
@NameInMap("AuditClosable")
public Boolean auditClosable;
/**
* Indicates whether the audit resources can be released.
*
* - true: yes
* - false: no
*
*
* example:
* true
*/
@NameInMap("AuditReleasable")
public Boolean auditReleasable;
/**
* Indicates whether DSC has permission to access user resources within the current account. Valid values:
*
* - true: yes
* - false: no
*
*
* example:
* true
*/
@NameInMap("Authed")
public Boolean authed;
/**
* The billing method of DCS that is purchased by using the current account. Valid values:
*
* - PREPAY: subscription
* - POSTPAY: pay-as-you-go
*
*
* example:
* PREPAY
*/
@NameInMap("ChargeType")
public String chargeType;
/**
* The permissions that the current account has. Valid values:
*
* - 0: The current account has the administrative permissions or read-only permissions on Data Security Center.
* - 1: The current account has the permissions to manage data domains.
*
*
* example:
* 1
*/
@NameInMap("DataManagerRole")
public Integer dataManagerRole;
/**
* The ID of the data security center instance purchased by the main account.
*
* example:
* sddp-cn-****
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The number of instances within the current account.
*
* example:
* 32
*/
@NameInMap("InstanceNum")
public Integer instanceNum;
/**
* The total number of instances.
*
* example:
* 10
*/
@NameInMap("InstanceTotalCount")
public Long instanceTotalCount;
/**
* Indicates whether the data security lab feature is enabled. Valid values:
*
* - 1: yes
* - 0: no
*
*
* example:
* 1
*/
@NameInMap("LabStatus")
public Integer labStatus;
/**
* OSS total storage capacity. Unit: Bytes.
*
* example:
* 2048
*/
@NameInMap("OssTotalSize")
public Long ossTotalSize;
/**
* Accumulate the number of days to protect user assets.
*
* example:
* 2
*/
@NameInMap("ProtectionDays")
public Integer protectionDays;
/**
* Indicates whether DSC is purchased. Valid values:
*
* - true: yes
* - false: no
*
*
* example:
* true
*/
@NameInMap("Purchased")
public Boolean purchased;
/**
* The grace period between when DSC is expired and when DSC is released. Unit: days.
*
* example:
* 15
*/
@NameInMap("ReleaseDays")
public Integer releaseDays;
/**
* The time when the audit resources are released. Unit: milliseconds.
*
* example:
* 15000
*/
@NameInMap("ReleaseTime")
public Long releaseTime;
/**
* The remaining period for which the data assets within the current account can be protected by DSC.
*
* example:
* 131
*/
@NameInMap("RemainDays")
public Integer remainDays;
/**
* Indicates whether the current account uses a free trial of DSC. Valid values:
*
* - true: yes
* - false: no
*
*
* example:
* true
*/
@NameInMap("Trail")
public Boolean trail;
/**
* Indicates whether the agent audit feature is used. Valid values:
*
* - 1: yes
* - 0: no
*
*
* example:
* 1
*/
@NameInMap("UseAgentAudit")
public Boolean useAgentAudit;
/**
* The number of instances that are used.
*
* example:
* 125
*/
@NameInMap("UseInstanceNum")
public Integer useInstanceNum;
/**
* The occupied space of the Object Storage Service (OSS) bucket. Unit: bytes.
*
* example:
* 234
*/
@NameInMap("UseOssSize")
public Long useOssSize;
public static DescribeUserStatusResponseBodyUserStatus build(java.util.Map map) throws Exception {
DescribeUserStatusResponseBodyUserStatus self = new DescribeUserStatusResponseBodyUserStatus();
return TeaModel.build(map, self);
}
public DescribeUserStatusResponseBodyUserStatus setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
return this;
}
public String getAccessKeyId() {
return this.accessKeyId;
}
public DescribeUserStatusResponseBodyUserStatus setAuditClosable(Boolean auditClosable) {
this.auditClosable = auditClosable;
return this;
}
public Boolean getAuditClosable() {
return this.auditClosable;
}
public DescribeUserStatusResponseBodyUserStatus setAuditReleasable(Boolean auditReleasable) {
this.auditReleasable = auditReleasable;
return this;
}
public Boolean getAuditReleasable() {
return this.auditReleasable;
}
public DescribeUserStatusResponseBodyUserStatus setAuthed(Boolean authed) {
this.authed = authed;
return this;
}
public Boolean getAuthed() {
return this.authed;
}
public DescribeUserStatusResponseBodyUserStatus setChargeType(String chargeType) {
this.chargeType = chargeType;
return this;
}
public String getChargeType() {
return this.chargeType;
}
public DescribeUserStatusResponseBodyUserStatus setDataManagerRole(Integer dataManagerRole) {
this.dataManagerRole = dataManagerRole;
return this;
}
public Integer getDataManagerRole() {
return this.dataManagerRole;
}
public DescribeUserStatusResponseBodyUserStatus setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeUserStatusResponseBodyUserStatus setInstanceNum(Integer instanceNum) {
this.instanceNum = instanceNum;
return this;
}
public Integer getInstanceNum() {
return this.instanceNum;
}
public DescribeUserStatusResponseBodyUserStatus setInstanceTotalCount(Long instanceTotalCount) {
this.instanceTotalCount = instanceTotalCount;
return this;
}
public Long getInstanceTotalCount() {
return this.instanceTotalCount;
}
public DescribeUserStatusResponseBodyUserStatus setLabStatus(Integer labStatus) {
this.labStatus = labStatus;
return this;
}
public Integer getLabStatus() {
return this.labStatus;
}
public DescribeUserStatusResponseBodyUserStatus setOssTotalSize(Long ossTotalSize) {
this.ossTotalSize = ossTotalSize;
return this;
}
public Long getOssTotalSize() {
return this.ossTotalSize;
}
public DescribeUserStatusResponseBodyUserStatus setProtectionDays(Integer protectionDays) {
this.protectionDays = protectionDays;
return this;
}
public Integer getProtectionDays() {
return this.protectionDays;
}
public DescribeUserStatusResponseBodyUserStatus setPurchased(Boolean purchased) {
this.purchased = purchased;
return this;
}
public Boolean getPurchased() {
return this.purchased;
}
public DescribeUserStatusResponseBodyUserStatus setReleaseDays(Integer releaseDays) {
this.releaseDays = releaseDays;
return this;
}
public Integer getReleaseDays() {
return this.releaseDays;
}
public DescribeUserStatusResponseBodyUserStatus setReleaseTime(Long releaseTime) {
this.releaseTime = releaseTime;
return this;
}
public Long getReleaseTime() {
return this.releaseTime;
}
public DescribeUserStatusResponseBodyUserStatus setRemainDays(Integer remainDays) {
this.remainDays = remainDays;
return this;
}
public Integer getRemainDays() {
return this.remainDays;
}
public DescribeUserStatusResponseBodyUserStatus setTrail(Boolean trail) {
this.trail = trail;
return this;
}
public Boolean getTrail() {
return this.trail;
}
public DescribeUserStatusResponseBodyUserStatus setUseAgentAudit(Boolean useAgentAudit) {
this.useAgentAudit = useAgentAudit;
return this;
}
public Boolean getUseAgentAudit() {
return this.useAgentAudit;
}
public DescribeUserStatusResponseBodyUserStatus setUseInstanceNum(Integer useInstanceNum) {
this.useInstanceNum = useInstanceNum;
return this;
}
public Integer getUseInstanceNum() {
return this.useInstanceNum;
}
public DescribeUserStatusResponseBodyUserStatus setUseOssSize(Long useOssSize) {
this.useOssSize = useOssSize;
return this;
}
public Long getUseOssSize() {
return this.useOssSize;
}
}
}