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

com.aliyun.dingtalkdrive_1_0.models.GetUploadInfoRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class GetUploadInfoRequest extends TeaModel {
    // 文件名称冲突策略
    @NameInMap("addConflictPolicy")
    public String addConflictPolicy;

    // 调用方所处区域
    @NameInMap("callerRegion")
    public String callerRegion;

    // 文件名
    @NameInMap("fileName")
    public String fileName;

    // 文件大小
    @NameInMap("fileSize")
    public Long fileSize;

    // 文件md5
    @NameInMap("md5")
    public String md5;

    // mediaId
    @NameInMap("mediaId")
    public String mediaId;

    // 用户id
    @NameInMap("unionId")
    public String unionId;

    // 是否返回OSS内网访问域名
    @NameInMap("withInternalEndPoint")
    public Boolean withInternalEndPoint;

    // 是否返回区域
    @NameInMap("withRegion")
    public Boolean withRegion;

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

    public GetUploadInfoRequest setAddConflictPolicy(String addConflictPolicy) {
        this.addConflictPolicy = addConflictPolicy;
        return this;
    }
    public String getAddConflictPolicy() {
        return this.addConflictPolicy;
    }

    public GetUploadInfoRequest setCallerRegion(String callerRegion) {
        this.callerRegion = callerRegion;
        return this;
    }
    public String getCallerRegion() {
        return this.callerRegion;
    }

    public GetUploadInfoRequest setFileName(String fileName) {
        this.fileName = fileName;
        return this;
    }
    public String getFileName() {
        return this.fileName;
    }

    public GetUploadInfoRequest setFileSize(Long fileSize) {
        this.fileSize = fileSize;
        return this;
    }
    public Long getFileSize() {
        return this.fileSize;
    }

    public GetUploadInfoRequest setMd5(String md5) {
        this.md5 = md5;
        return this;
    }
    public String getMd5() {
        return this.md5;
    }

    public GetUploadInfoRequest setMediaId(String mediaId) {
        this.mediaId = mediaId;
        return this;
    }
    public String getMediaId() {
        return this.mediaId;
    }

    public GetUploadInfoRequest setUnionId(String unionId) {
        this.unionId = unionId;
        return this;
    }
    public String getUnionId() {
        return this.unionId;
    }

    public GetUploadInfoRequest setWithInternalEndPoint(Boolean withInternalEndPoint) {
        this.withInternalEndPoint = withInternalEndPoint;
        return this;
    }
    public Boolean getWithInternalEndPoint() {
        return this.withInternalEndPoint;
    }

    public GetUploadInfoRequest setWithRegion(Boolean withRegion) {
        this.withRegion = withRegion;
        return this;
    }
    public Boolean getWithRegion() {
        return this.withRegion;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy