com.aliyun.dingtalkimpaas_1_0.models.SendRobotMessageRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkimpaas_1_0.models;
import com.aliyun.tea.*;
public class SendRobotMessageRequest extends TeaModel {
/**
* example:
* false
*/
@NameInMap("atAll")
public Boolean atAll;
@NameInMap("atAppUids")
public java.util.List atAppUids;
@NameInMap("atMobiles")
public java.util.List atMobiles;
@NameInMap("atUnionIds")
public java.util.List atUnionIds;
@NameInMap("atUsers")
public java.util.List atUsers;
/**
* example:
* 123
*/
@NameInMap("channel")
public String channel;
/**
* example:
* {"pic1":"@123","pic2":"@456"}
*/
@NameInMap("msgMediaIdParamMap")
public java.util.Map msgMediaIdParamMap;
/**
* example:
* {"text1":"hello","text2":"world"}
*/
@NameInMap("msgParamMap")
public java.util.Map msgParamMap;
/**
* example:
* 123
*/
@NameInMap("msgTemplateId")
public String msgTemplateId;
@NameInMap("receiverAppUids")
public java.util.List receiverAppUids;
@NameInMap("receiverMobiles")
public java.util.List receiverMobiles;
@NameInMap("receiverUnionIds")
public java.util.List receiverUnionIds;
@NameInMap("receiverUserIds")
public java.util.List receiverUserIds;
/**
* example:
* 123
*/
@NameInMap("robotCode")
public String robotCode;
/**
* example:
* 123
*/
@NameInMap("targetOpenConversationId")
public String targetOpenConversationId;
public static SendRobotMessageRequest build(java.util.Map map) throws Exception {
SendRobotMessageRequest self = new SendRobotMessageRequest();
return TeaModel.build(map, self);
}
public SendRobotMessageRequest setAtAll(Boolean atAll) {
this.atAll = atAll;
return this;
}
public Boolean getAtAll() {
return this.atAll;
}
public SendRobotMessageRequest setAtAppUids(java.util.List atAppUids) {
this.atAppUids = atAppUids;
return this;
}
public java.util.List getAtAppUids() {
return this.atAppUids;
}
public SendRobotMessageRequest setAtMobiles(java.util.List atMobiles) {
this.atMobiles = atMobiles;
return this;
}
public java.util.List getAtMobiles() {
return this.atMobiles;
}
public SendRobotMessageRequest setAtUnionIds(java.util.List atUnionIds) {
this.atUnionIds = atUnionIds;
return this;
}
public java.util.List getAtUnionIds() {
return this.atUnionIds;
}
public SendRobotMessageRequest setAtUsers(java.util.List atUsers) {
this.atUsers = atUsers;
return this;
}
public java.util.List getAtUsers() {
return this.atUsers;
}
public SendRobotMessageRequest setChannel(String channel) {
this.channel = channel;
return this;
}
public String getChannel() {
return this.channel;
}
public SendRobotMessageRequest setMsgMediaIdParamMap(java.util.Map msgMediaIdParamMap) {
this.msgMediaIdParamMap = msgMediaIdParamMap;
return this;
}
public java.util.Map getMsgMediaIdParamMap() {
return this.msgMediaIdParamMap;
}
public SendRobotMessageRequest setMsgParamMap(java.util.Map msgParamMap) {
this.msgParamMap = msgParamMap;
return this;
}
public java.util.Map getMsgParamMap() {
return this.msgParamMap;
}
public SendRobotMessageRequest setMsgTemplateId(String msgTemplateId) {
this.msgTemplateId = msgTemplateId;
return this;
}
public String getMsgTemplateId() {
return this.msgTemplateId;
}
public SendRobotMessageRequest setReceiverAppUids(java.util.List receiverAppUids) {
this.receiverAppUids = receiverAppUids;
return this;
}
public java.util.List getReceiverAppUids() {
return this.receiverAppUids;
}
public SendRobotMessageRequest setReceiverMobiles(java.util.List receiverMobiles) {
this.receiverMobiles = receiverMobiles;
return this;
}
public java.util.List getReceiverMobiles() {
return this.receiverMobiles;
}
public SendRobotMessageRequest setReceiverUnionIds(java.util.List receiverUnionIds) {
this.receiverUnionIds = receiverUnionIds;
return this;
}
public java.util.List getReceiverUnionIds() {
return this.receiverUnionIds;
}
public SendRobotMessageRequest setReceiverUserIds(java.util.List receiverUserIds) {
this.receiverUserIds = receiverUserIds;
return this;
}
public java.util.List getReceiverUserIds() {
return this.receiverUserIds;
}
public SendRobotMessageRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
public SendRobotMessageRequest setTargetOpenConversationId(String targetOpenConversationId) {
this.targetOpenConversationId = targetOpenConversationId;
return this;
}
public String getTargetOpenConversationId() {
return this.targetOpenConversationId;
}
}