com.aliyun.dingtalkconv_file_1_0.models.SendRequest 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.dingtalkconv_file_1_0.models;
import com.aliyun.tea.*;
public class SendRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* file_id
*/
@NameInMap("dentryId")
public String dentryId;
/**
* This parameter is required.
*
* example:
* open_conversation_id
*/
@NameInMap("openConversationId")
public String openConversationId;
/**
* This parameter is required.
*
* example:
* space_id
*/
@NameInMap("spaceId")
public String spaceId;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("unionId")
public String unionId;
public static SendRequest build(java.util.Map map) throws Exception {
SendRequest self = new SendRequest();
return TeaModel.build(map, self);
}
public SendRequest setDentryId(String dentryId) {
this.dentryId = dentryId;
return this;
}
public String getDentryId() {
return this.dentryId;
}
public SendRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public SendRequest setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public SendRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
}