com.aliyun.dingtalkh3yun_1_0.models.GetAttachmentTemporaryUrlResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkh3yun_1_0.models;
import com.aliyun.tea.*;
public class GetAttachmentTemporaryUrlResponseBody extends TeaModel {
// 状态码
@NameInMap("code")
public String code;
// 业务响应结果
@NameInMap("data")
public GetAttachmentTemporaryUrlResponseBodyData data;
// 提示信息
@NameInMap("message")
public String message;
public static GetAttachmentTemporaryUrlResponseBody build(java.util.Map map) throws Exception {
GetAttachmentTemporaryUrlResponseBody self = new GetAttachmentTemporaryUrlResponseBody();
return TeaModel.build(map, self);
}
public GetAttachmentTemporaryUrlResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public GetAttachmentTemporaryUrlResponseBody setData(GetAttachmentTemporaryUrlResponseBodyData data) {
this.data = data;
return this;
}
public GetAttachmentTemporaryUrlResponseBodyData getData() {
return this.data;
}
public GetAttachmentTemporaryUrlResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public static class GetAttachmentTemporaryUrlResponseBodyData extends TeaModel {
// 附件临时免登地址。有效期为30分钟
@NameInMap("attachmentUrl")
public String attachmentUrl;
public static GetAttachmentTemporaryUrlResponseBodyData build(java.util.Map map) throws Exception {
GetAttachmentTemporaryUrlResponseBodyData self = new GetAttachmentTemporaryUrlResponseBodyData();
return TeaModel.build(map, self);
}
public GetAttachmentTemporaryUrlResponseBodyData setAttachmentUrl(String attachmentUrl) {
this.attachmentUrl = attachmentUrl;
return this;
}
public String getAttachmentUrl() {
return this.attachmentUrl;
}
}
}