com.aliyun.dingtalkservice_group_1_0.models.GetOssTempUrlRequest 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.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class GetOssTempUrlRequest extends TeaModel {
// 访问模式 AUTO(自动,例如在浏览器中如果是图片,PDF等可以在线直接查看,不能在线看时自动下载)、DOWNLOAD(直接下载)
@NameInMap("fetchMode")
public String fetchMode;
// 文件名
@NameInMap("fileName")
public String fileName;
// oss文件key
@NameInMap("key")
public String key;
// 团队开放ID
@NameInMap("openTeamId")
public String openTeamId;
public static GetOssTempUrlRequest build(java.util.Map map) throws Exception {
GetOssTempUrlRequest self = new GetOssTempUrlRequest();
return TeaModel.build(map, self);
}
public GetOssTempUrlRequest setFetchMode(String fetchMode) {
this.fetchMode = fetchMode;
return this;
}
public String getFetchMode() {
return this.fetchMode;
}
public GetOssTempUrlRequest setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public GetOssTempUrlRequest setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public GetOssTempUrlRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
}