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

com.aliyun.dingtalkstorage_1_0.models.GetFileUploadInfoRequest 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 GetFileUploadInfoRequest extends TeaModel {
    /**
     * 

This parameter is required.

* * example: *

true

*/ @NameInMap("multipart") public Boolean multipart; @NameInMap("option") public GetFileUploadInfoRequestOption option; /** *

This parameter is required.

* * example: *

HEADER_SIGNATURE

*/ @NameInMap("protocol") public String protocol; /** *

This parameter is required.

* * example: *

union_id

*/ @NameInMap("unionId") public String unionId; public static GetFileUploadInfoRequest build(java.util.Map map) throws Exception { GetFileUploadInfoRequest self = new GetFileUploadInfoRequest(); return TeaModel.build(map, self); } public GetFileUploadInfoRequest setMultipart(Boolean multipart) { this.multipart = multipart; return this; } public Boolean getMultipart() { return this.multipart; } public GetFileUploadInfoRequest setOption(GetFileUploadInfoRequestOption option) { this.option = option; return this; } public GetFileUploadInfoRequestOption getOption() { return this.option; } public GetFileUploadInfoRequest setProtocol(String protocol) { this.protocol = protocol; return this; } public String getProtocol() { return this.protocol; } public GetFileUploadInfoRequest setUnionId(String unionId) { this.unionId = unionId; return this; } public String getUnionId() { return this.unionId; } public static class GetFileUploadInfoRequestOptionPreCheckParam extends TeaModel { /** * example: *

md5

*/ @NameInMap("md5") public String md5; /** * example: *

dentry_name

*/ @NameInMap("name") public String name; /** * example: *

parent_id

*/ @NameInMap("parentId") public String parentId; /** * example: *

512

*/ @NameInMap("size") public Long size; public static GetFileUploadInfoRequestOptionPreCheckParam build(java.util.Map map) throws Exception { GetFileUploadInfoRequestOptionPreCheckParam self = new GetFileUploadInfoRequestOptionPreCheckParam(); return TeaModel.build(map, self); } public GetFileUploadInfoRequestOptionPreCheckParam setMd5(String md5) { this.md5 = md5; return this; } public String getMd5() { return this.md5; } public GetFileUploadInfoRequestOptionPreCheckParam setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public GetFileUploadInfoRequestOptionPreCheckParam setParentId(String parentId) { this.parentId = parentId; return this; } public String getParentId() { return this.parentId; } public GetFileUploadInfoRequestOptionPreCheckParam setSize(Long size) { this.size = size; return this; } public Long getSize() { return this.size; } } public static class GetFileUploadInfoRequestOption extends TeaModel { @NameInMap("preCheckParam") public GetFileUploadInfoRequestOptionPreCheckParam preCheckParam; /** * example: *

true

*/ @NameInMap("preferIntranet") public Boolean preferIntranet; /** * example: *

ZHANGJIAKOU

*/ @NameInMap("preferRegion") public String preferRegion; /** * example: *

DINGTALK

*/ @NameInMap("storageDriver") public String storageDriver; public static GetFileUploadInfoRequestOption build(java.util.Map map) throws Exception { GetFileUploadInfoRequestOption self = new GetFileUploadInfoRequestOption(); return TeaModel.build(map, self); } public GetFileUploadInfoRequestOption setPreCheckParam(GetFileUploadInfoRequestOptionPreCheckParam preCheckParam) { this.preCheckParam = preCheckParam; return this; } public GetFileUploadInfoRequestOptionPreCheckParam getPreCheckParam() { return this.preCheckParam; } public GetFileUploadInfoRequestOption setPreferIntranet(Boolean preferIntranet) { this.preferIntranet = preferIntranet; return this; } public Boolean getPreferIntranet() { return this.preferIntranet; } public GetFileUploadInfoRequestOption setPreferRegion(String preferRegion) { this.preferRegion = preferRegion; return this; } public String getPreferRegion() { return this.preferRegion; } public GetFileUploadInfoRequestOption setStorageDriver(String storageDriver) { this.storageDriver = storageDriver; return this; } public String getStorageDriver() { return this.storageDriver; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy