All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkstorage_1_0.models.GetOrgResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkstorage_1_0.models;

import com.aliyun.tea.*;

public class GetOrgResponseBody extends TeaModel {
    @NameInMap("org")
    public GetOrgResponseBodyOrg org;

    public static GetOrgResponseBody build(java.util.Map map) throws Exception {
        GetOrgResponseBody self = new GetOrgResponseBody();
        return TeaModel.build(map, self);
    }

    public GetOrgResponseBody setOrg(GetOrgResponseBodyOrg org) {
        this.org = org;
        return this;
    }
    public GetOrgResponseBodyOrg getOrg() {
        return this.org;
    }

    public static class GetOrgResponseBodyOrgPartitionsQuota 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 GetOrgResponseBodyOrgPartitionsQuota build(java.util.Map map) throws Exception { GetOrgResponseBodyOrgPartitionsQuota self = new GetOrgResponseBodyOrgPartitionsQuota(); return TeaModel.build(map, self); } public GetOrgResponseBodyOrgPartitionsQuota setMax(Long max) { this.max = max; return this; } public Long getMax() { return this.max; } public GetOrgResponseBodyOrgPartitionsQuota setReserved(Long reserved) { this.reserved = reserved; return this; } public Long getReserved() { return this.reserved; } public GetOrgResponseBodyOrgPartitionsQuota setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public GetOrgResponseBodyOrgPartitionsQuota setUsed(Long used) { this.used = used; return this; } public Long getUsed() { return this.used; } } public static class GetOrgResponseBodyOrgPartitions extends TeaModel { /** * example: *

PUBLIC_OSS_PARTITION

*/ @NameInMap("partitionType") public String partitionType; @NameInMap("quota") public GetOrgResponseBodyOrgPartitionsQuota quota; public static GetOrgResponseBodyOrgPartitions build(java.util.Map map) throws Exception { GetOrgResponseBodyOrgPartitions self = new GetOrgResponseBodyOrgPartitions(); return TeaModel.build(map, self); } public GetOrgResponseBodyOrgPartitions setPartitionType(String partitionType) { this.partitionType = partitionType; return this; } public String getPartitionType() { return this.partitionType; } public GetOrgResponseBodyOrgPartitions setQuota(GetOrgResponseBodyOrgPartitionsQuota quota) { this.quota = quota; return this; } public GetOrgResponseBodyOrgPartitionsQuota getQuota() { return this.quota; } } public static class GetOrgResponseBodyOrg extends TeaModel { /** * example: *

corp_id

*/ @NameInMap("corpId") public String corpId; @NameInMap("partitions") public java.util.List partitions; public static GetOrgResponseBodyOrg build(java.util.Map map) throws Exception { GetOrgResponseBodyOrg self = new GetOrgResponseBodyOrg(); return TeaModel.build(map, self); } public GetOrgResponseBodyOrg setCorpId(String corpId) { this.corpId = corpId; return this; } public String getCorpId() { return this.corpId; } public GetOrgResponseBodyOrg setPartitions(java.util.List partitions) { this.partitions = partitions; return this; } public java.util.List getPartitions() { return this.partitions; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy