com.aliyun.dingtalkyida_1_0.models.GetOpenUrlRequest 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.dingtalkyida_1_0.models;
import com.aliyun.tea.*;
public class GetOpenUrlRequest extends TeaModel {
// 宜搭附件地址
@NameInMap("fileUrl")
public String fileUrl;
// 语言
@NameInMap("language")
public String language;
// 应用秘钥
@NameInMap("systemToken")
public String systemToken;
// 临时地址多久失效,单位毫秒
@NameInMap("timeout")
public Long timeout;
// 钉钉的userId
@NameInMap("userId")
public String userId;
public static GetOpenUrlRequest build(java.util.Map map) throws Exception {
GetOpenUrlRequest self = new GetOpenUrlRequest();
return TeaModel.build(map, self);
}
public GetOpenUrlRequest setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
return this;
}
public String getFileUrl() {
return this.fileUrl;
}
public GetOpenUrlRequest setLanguage(String language) {
this.language = language;
return this;
}
public String getLanguage() {
return this.language;
}
public GetOpenUrlRequest setSystemToken(String systemToken) {
this.systemToken = systemToken;
return this;
}
public String getSystemToken() {
return this.systemToken;
}
public GetOpenUrlRequest setTimeout(Long timeout) {
this.timeout = timeout;
return this;
}
public Long getTimeout() {
return this.timeout;
}
public GetOpenUrlRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}