![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkstorage_1_0.models.GetSpaceResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class GetSpaceResponseBody extends TeaModel {
@NameInMap("space")
public GetSpaceResponseBodySpace space;
public static GetSpaceResponseBody build(java.util.Map map) throws Exception {
GetSpaceResponseBody self = new GetSpaceResponseBody();
return TeaModel.build(map, self);
}
public GetSpaceResponseBody setSpace(GetSpaceResponseBodySpace space) {
this.space = space;
return this;
}
public GetSpaceResponseBodySpace getSpace() {
return this.space;
}
public static class GetSpaceResponseBodySpaceCapabilities extends TeaModel {
/**
* example:
* true
*/
@NameInMap("canRecordRecentFile")
public Boolean canRecordRecentFile;
/**
* example:
* true
*/
@NameInMap("canRename")
public Boolean canRename;
/**
* example:
* true
*/
@NameInMap("canSearch")
public Boolean canSearch;
public static GetSpaceResponseBodySpaceCapabilities build(java.util.Map map) throws Exception {
GetSpaceResponseBodySpaceCapabilities self = new GetSpaceResponseBodySpaceCapabilities();
return TeaModel.build(map, self);
}
public GetSpaceResponseBodySpaceCapabilities setCanRecordRecentFile(Boolean canRecordRecentFile) {
this.canRecordRecentFile = canRecordRecentFile;
return this;
}
public Boolean getCanRecordRecentFile() {
return this.canRecordRecentFile;
}
public GetSpaceResponseBodySpaceCapabilities setCanRename(Boolean canRename) {
this.canRename = canRename;
return this;
}
public Boolean getCanRename() {
return this.canRename;
}
public GetSpaceResponseBodySpaceCapabilities setCanSearch(Boolean canSearch) {
this.canSearch = canSearch;
return this;
}
public Boolean getCanSearch() {
return this.canSearch;
}
}
public static class GetSpaceResponseBodySpacePartitionsQuota 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 GetSpaceResponseBodySpacePartitionsQuota build(java.util.Map map) throws Exception {
GetSpaceResponseBodySpacePartitionsQuota self = new GetSpaceResponseBodySpacePartitionsQuota();
return TeaModel.build(map, self);
}
public GetSpaceResponseBodySpacePartitionsQuota setMax(Long max) {
this.max = max;
return this;
}
public Long getMax() {
return this.max;
}
public GetSpaceResponseBodySpacePartitionsQuota setReserved(Long reserved) {
this.reserved = reserved;
return this;
}
public Long getReserved() {
return this.reserved;
}
public GetSpaceResponseBodySpacePartitionsQuota setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GetSpaceResponseBodySpacePartitionsQuota setUsed(Long used) {
this.used = used;
return this;
}
public Long getUsed() {
return this.used;
}
}
public static class GetSpaceResponseBodySpacePartitions extends TeaModel {
/**
* example:
* PUBLIC_OSS_PARTITION
*/
@NameInMap("partitionType")
public String partitionType;
@NameInMap("quota")
public GetSpaceResponseBodySpacePartitionsQuota quota;
public static GetSpaceResponseBodySpacePartitions build(java.util.Map map) throws Exception {
GetSpaceResponseBodySpacePartitions self = new GetSpaceResponseBodySpacePartitions();
return TeaModel.build(map, self);
}
public GetSpaceResponseBodySpacePartitions setPartitionType(String partitionType) {
this.partitionType = partitionType;
return this;
}
public String getPartitionType() {
return this.partitionType;
}
public GetSpaceResponseBodySpacePartitions setQuota(GetSpaceResponseBodySpacePartitionsQuota quota) {
this.quota = quota;
return this;
}
public GetSpaceResponseBodySpacePartitionsQuota getQuota() {
return this.quota;
}
}
public static class GetSpaceResponseBodySpace extends TeaModel {
/**
* example:
* app_id
*/
@NameInMap("appId")
public String appId;
@NameInMap("capabilities")
public GetSpaceResponseBodySpaceCapabilities capabilities;
/**
* example:
* corp_id
*/
@NameInMap("corpId")
public String corpId;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("createTime")
public String createTime;
/**
* example:
* creator_id
*/
@NameInMap("creatorId")
public String creatorId;
/**
* example:
* space_id
*/
@NameInMap("id")
public String id;
/**
* example:
* 2022-01-01T10:00:00Z
*/
@NameInMap("modifiedTime")
public String modifiedTime;
/**
* example:
* modifier_id
*/
@NameInMap("modifierId")
public String modifierId;
/**
* example:
* space_name
*/
@NameInMap("name")
public String name;
/**
* example:
* owner_id
*/
@NameInMap("ownerId")
public String ownerId;
/**
* example:
* USER
*/
@NameInMap("ownerType")
public String ownerType;
@NameInMap("partitions")
public java.util.List partitions;
/**
* example:
* 1048576
*/
@NameInMap("quota")
public Long quota;
/**
* example:
* scene
*/
@NameInMap("scene")
public String scene;
/**
* example:
* scene_id
*/
@NameInMap("sceneId")
public String sceneId;
/**
* example:
* NORMAL
*/
@NameInMap("status")
public String status;
/**
* example:
* 1024
*/
@NameInMap("usedQuota")
public Long usedQuota;
public static GetSpaceResponseBodySpace build(java.util.Map map) throws Exception {
GetSpaceResponseBodySpace self = new GetSpaceResponseBodySpace();
return TeaModel.build(map, self);
}
public GetSpaceResponseBodySpace setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public GetSpaceResponseBodySpace setCapabilities(GetSpaceResponseBodySpaceCapabilities capabilities) {
this.capabilities = capabilities;
return this;
}
public GetSpaceResponseBodySpaceCapabilities getCapabilities() {
return this.capabilities;
}
public GetSpaceResponseBodySpace setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public GetSpaceResponseBodySpace setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetSpaceResponseBodySpace setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public GetSpaceResponseBodySpace setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public GetSpaceResponseBodySpace setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public GetSpaceResponseBodySpace setModifierId(String modifierId) {
this.modifierId = modifierId;
return this;
}
public String getModifierId() {
return this.modifierId;
}
public GetSpaceResponseBodySpace setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetSpaceResponseBodySpace setOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
public String getOwnerId() {
return this.ownerId;
}
public GetSpaceResponseBodySpace setOwnerType(String ownerType) {
this.ownerType = ownerType;
return this;
}
public String getOwnerType() {
return this.ownerType;
}
public GetSpaceResponseBodySpace setPartitions(java.util.List partitions) {
this.partitions = partitions;
return this;
}
public java.util.List getPartitions() {
return this.partitions;
}
public GetSpaceResponseBodySpace setQuota(Long quota) {
this.quota = quota;
return this;
}
public Long getQuota() {
return this.quota;
}
public GetSpaceResponseBodySpace setScene(String scene) {
this.scene = scene;
return this;
}
public String getScene() {
return this.scene;
}
public GetSpaceResponseBodySpace setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
public GetSpaceResponseBodySpace setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetSpaceResponseBodySpace setUsedQuota(Long usedQuota) {
this.usedQuota = usedQuota;
return this;
}
public Long getUsedQuota() {
return this.usedQuota;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy