
com.aliyun.dingtalkstorage_1_0.models.GetCurrentAppResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class GetCurrentAppResponseBody extends TeaModel {
@NameInMap("app")
public GetCurrentAppResponseBodyApp app;
public static GetCurrentAppResponseBody build(java.util.Map map) throws Exception {
GetCurrentAppResponseBody self = new GetCurrentAppResponseBody();
return TeaModel.build(map, self);
}
public GetCurrentAppResponseBody setApp(GetCurrentAppResponseBodyApp app) {
this.app = app;
return this;
}
public GetCurrentAppResponseBodyApp getApp() {
return this.app;
}
public static class GetCurrentAppResponseBodyAppPartitionsQuota extends TeaModel {
/**
* example:
* 10000
*/
@NameInMap("max")
public Long max;
/**
* example:
* 1000
*/
@NameInMap("reserved")
public Long reserved;
/**
* example:
* SHARE
*/
@NameInMap("type")
public String type;
/**
* example:
* 1024
*/
@NameInMap("used")
public Long used;
public static GetCurrentAppResponseBodyAppPartitionsQuota build(java.util.Map map) throws Exception {
GetCurrentAppResponseBodyAppPartitionsQuota self = new GetCurrentAppResponseBodyAppPartitionsQuota();
return TeaModel.build(map, self);
}
public GetCurrentAppResponseBodyAppPartitionsQuota setMax(Long max) {
this.max = max;
return this;
}
public Long getMax() {
return this.max;
}
public GetCurrentAppResponseBodyAppPartitionsQuota setReserved(Long reserved) {
this.reserved = reserved;
return this;
}
public Long getReserved() {
return this.reserved;
}
public GetCurrentAppResponseBodyAppPartitionsQuota setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GetCurrentAppResponseBodyAppPartitionsQuota setUsed(Long used) {
this.used = used;
return this;
}
public Long getUsed() {
return this.used;
}
}
public static class GetCurrentAppResponseBodyAppPartitions extends TeaModel {
/**
* example:
* PUBLIC_OSS_PARTITION
*/
@NameInMap("partitionType")
public String partitionType;
@NameInMap("quota")
public GetCurrentAppResponseBodyAppPartitionsQuota quota;
public static GetCurrentAppResponseBodyAppPartitions build(java.util.Map map) throws Exception {
GetCurrentAppResponseBodyAppPartitions self = new GetCurrentAppResponseBodyAppPartitions();
return TeaModel.build(map, self);
}
public GetCurrentAppResponseBodyAppPartitions setPartitionType(String partitionType) {
this.partitionType = partitionType;
return this;
}
public String getPartitionType() {
return this.partitionType;
}
public GetCurrentAppResponseBodyAppPartitions setQuota(GetCurrentAppResponseBodyAppPartitionsQuota quota) {
this.quota = quota;
return this;
}
public GetCurrentAppResponseBodyAppPartitionsQuota getQuota() {
return this.quota;
}
}
public static class GetCurrentAppResponseBodyApp extends TeaModel {
/**
* example:
* app_id
*/
@NameInMap("appId")
public String appId;
/**
* example:
* corp_id
*/
@NameInMap("corpId")
public String corpId;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("createTime")
public String createTime;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("modifiedTime")
public String modifiedTime;
/**
* example:
* app_name
*/
@NameInMap("name")
public String name;
@NameInMap("partitions")
public java.util.List partitions;
public static GetCurrentAppResponseBodyApp build(java.util.Map map) throws Exception {
GetCurrentAppResponseBodyApp self = new GetCurrentAppResponseBodyApp();
return TeaModel.build(map, self);
}
public GetCurrentAppResponseBodyApp setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public GetCurrentAppResponseBodyApp setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public GetCurrentAppResponseBodyApp setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetCurrentAppResponseBodyApp setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public GetCurrentAppResponseBodyApp setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetCurrentAppResponseBodyApp setPartitions(java.util.List partitions) {
this.partitions = partitions;
return this;
}
public java.util.List getPartitions() {
return this.partitions;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy