com.aliyun.dingtalkstorage_1_0.models.AddSpaceResponseBody 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 AddSpaceResponseBody extends TeaModel {
@NameInMap("space")
public AddSpaceResponseBodySpace space;
public static AddSpaceResponseBody build(java.util.Map map) throws Exception {
AddSpaceResponseBody self = new AddSpaceResponseBody();
return TeaModel.build(map, self);
}
public AddSpaceResponseBody setSpace(AddSpaceResponseBodySpace space) {
this.space = space;
return this;
}
public AddSpaceResponseBodySpace getSpace() {
return this.space;
}
public static class AddSpaceResponseBodySpaceCapabilities 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 AddSpaceResponseBodySpaceCapabilities build(java.util.Map map) throws Exception {
AddSpaceResponseBodySpaceCapabilities self = new AddSpaceResponseBodySpaceCapabilities();
return TeaModel.build(map, self);
}
public AddSpaceResponseBodySpaceCapabilities setCanRecordRecentFile(Boolean canRecordRecentFile) {
this.canRecordRecentFile = canRecordRecentFile;
return this;
}
public Boolean getCanRecordRecentFile() {
return this.canRecordRecentFile;
}
public AddSpaceResponseBodySpaceCapabilities setCanRename(Boolean canRename) {
this.canRename = canRename;
return this;
}
public Boolean getCanRename() {
return this.canRename;
}
public AddSpaceResponseBodySpaceCapabilities setCanSearch(Boolean canSearch) {
this.canSearch = canSearch;
return this;
}
public Boolean getCanSearch() {
return this.canSearch;
}
}
public static class AddSpaceResponseBodySpacePartitionsQuota 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 AddSpaceResponseBodySpacePartitionsQuota build(java.util.Map map) throws Exception {
AddSpaceResponseBodySpacePartitionsQuota self = new AddSpaceResponseBodySpacePartitionsQuota();
return TeaModel.build(map, self);
}
public AddSpaceResponseBodySpacePartitionsQuota setMax(Long max) {
this.max = max;
return this;
}
public Long getMax() {
return this.max;
}
public AddSpaceResponseBodySpacePartitionsQuota setReserved(Long reserved) {
this.reserved = reserved;
return this;
}
public Long getReserved() {
return this.reserved;
}
public AddSpaceResponseBodySpacePartitionsQuota setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public AddSpaceResponseBodySpacePartitionsQuota setUsed(Long used) {
this.used = used;
return this;
}
public Long getUsed() {
return this.used;
}
}
public static class AddSpaceResponseBodySpacePartitions extends TeaModel {
/**
* example:
* PUBLIC_OSS_PARTITION
*/
@NameInMap("partitionType")
public String partitionType;
@NameInMap("quota")
public AddSpaceResponseBodySpacePartitionsQuota quota;
public static AddSpaceResponseBodySpacePartitions build(java.util.Map map) throws Exception {
AddSpaceResponseBodySpacePartitions self = new AddSpaceResponseBodySpacePartitions();
return TeaModel.build(map, self);
}
public AddSpaceResponseBodySpacePartitions setPartitionType(String partitionType) {
this.partitionType = partitionType;
return this;
}
public String getPartitionType() {
return this.partitionType;
}
public AddSpaceResponseBodySpacePartitions setQuota(AddSpaceResponseBodySpacePartitionsQuota quota) {
this.quota = quota;
return this;
}
public AddSpaceResponseBodySpacePartitionsQuota getQuota() {
return this.quota;
}
}
public static class AddSpaceResponseBodySpace extends TeaModel {
/**
* example:
* app_id
*/
@NameInMap("appId")
public String appId;
@NameInMap("capabilities")
public AddSpaceResponseBodySpaceCapabilities 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 AddSpaceResponseBodySpace build(java.util.Map map) throws Exception {
AddSpaceResponseBodySpace self = new AddSpaceResponseBodySpace();
return TeaModel.build(map, self);
}
public AddSpaceResponseBodySpace setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public AddSpaceResponseBodySpace setCapabilities(AddSpaceResponseBodySpaceCapabilities capabilities) {
this.capabilities = capabilities;
return this;
}
public AddSpaceResponseBodySpaceCapabilities getCapabilities() {
return this.capabilities;
}
public AddSpaceResponseBodySpace setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public AddSpaceResponseBodySpace setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public AddSpaceResponseBodySpace setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public AddSpaceResponseBodySpace setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public AddSpaceResponseBodySpace setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public AddSpaceResponseBodySpace setModifierId(String modifierId) {
this.modifierId = modifierId;
return this;
}
public String getModifierId() {
return this.modifierId;
}
public AddSpaceResponseBodySpace setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public AddSpaceResponseBodySpace setOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
public String getOwnerId() {
return this.ownerId;
}
public AddSpaceResponseBodySpace setOwnerType(String ownerType) {
this.ownerType = ownerType;
return this;
}
public String getOwnerType() {
return this.ownerType;
}
public AddSpaceResponseBodySpace setPartitions(java.util.List partitions) {
this.partitions = partitions;
return this;
}
public java.util.List getPartitions() {
return this.partitions;
}
public AddSpaceResponseBodySpace setQuota(Long quota) {
this.quota = quota;
return this;
}
public Long getQuota() {
return this.quota;
}
public AddSpaceResponseBodySpace setScene(String scene) {
this.scene = scene;
return this;
}
public String getScene() {
return this.scene;
}
public AddSpaceResponseBodySpace setSceneId(String sceneId) {
this.sceneId = sceneId;
return this;
}
public String getSceneId() {
return this.sceneId;
}
public AddSpaceResponseBodySpace setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public AddSpaceResponseBodySpace setUsedQuota(Long usedQuota) {
this.usedQuota = usedQuota;
return this;
}
public Long getUsedQuota() {
return this.usedQuota;
}
}
}