
com.aliyun.dingtalkservice_group_1_0.models.SendMsgByTaskSupportInviteJoinOrgRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class SendMsgByTaskSupportInviteJoinOrgRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("messageContent")
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContent messageContent;
/**
* This parameter is required.
*/
@NameInMap("mobilePhones")
public java.util.List mobilePhones;
/**
* This parameter is required.
*
* example:
* true
*/
@NameInMap("needUrlTrack")
public Boolean needUrlTrack;
/**
* This parameter is required.
*
* example:
* 88888
*/
@NameInMap("openTeamId")
public String openTeamId;
/**
* This parameter is required.
*
* example:
* 发送渠道 * 工作通知:WORK_NOTICE * 机器人:SINGLE_ROBOT
*/
@NameInMap("sendChannel")
public String sendChannel;
/**
* This parameter is required.
*
* example:
* 群发任务
*/
@NameInMap("taskName")
public String taskName;
public static SendMsgByTaskSupportInviteJoinOrgRequest build(java.util.Map map) throws Exception {
SendMsgByTaskSupportInviteJoinOrgRequest self = new SendMsgByTaskSupportInviteJoinOrgRequest();
return TeaModel.build(map, self);
}
public SendMsgByTaskSupportInviteJoinOrgRequest setMessageContent(SendMsgByTaskSupportInviteJoinOrgRequestMessageContent messageContent) {
this.messageContent = messageContent;
return this;
}
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContent getMessageContent() {
return this.messageContent;
}
public SendMsgByTaskSupportInviteJoinOrgRequest setMobilePhones(java.util.List mobilePhones) {
this.mobilePhones = mobilePhones;
return this;
}
public java.util.List getMobilePhones() {
return this.mobilePhones;
}
public SendMsgByTaskSupportInviteJoinOrgRequest setNeedUrlTrack(Boolean needUrlTrack) {
this.needUrlTrack = needUrlTrack;
return this;
}
public Boolean getNeedUrlTrack() {
return this.needUrlTrack;
}
public SendMsgByTaskSupportInviteJoinOrgRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public SendMsgByTaskSupportInviteJoinOrgRequest setSendChannel(String sendChannel) {
this.sendChannel = sendChannel;
return this;
}
public String getSendChannel() {
return this.sendChannel;
}
public SendMsgByTaskSupportInviteJoinOrgRequest setTaskName(String taskName) {
this.taskName = taskName;
return this;
}
public String getTaskName() {
return this.taskName;
}
public static class SendMsgByTaskSupportInviteJoinOrgRequestMessageContentBtns extends TeaModel {
/**
* example:
*
*/
@NameInMap("actionURL")
public String actionURL;
/**
* example:
* 按钮标题
*/
@NameInMap("title")
public String title;
public static SendMsgByTaskSupportInviteJoinOrgRequestMessageContentBtns build(java.util.Map map) throws Exception {
SendMsgByTaskSupportInviteJoinOrgRequestMessageContentBtns self = new SendMsgByTaskSupportInviteJoinOrgRequestMessageContentBtns();
return TeaModel.build(map, self);
}
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContentBtns setActionURL(String actionURL) {
this.actionURL = actionURL;
return this;
}
public String getActionURL() {
return this.actionURL;
}
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContentBtns setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
public static class SendMsgByTaskSupportInviteJoinOrgRequestMessageContent extends TeaModel {
@NameInMap("btns")
public java.util.List btns;
/**
* This parameter is required.
*
* example:
* 内容
*/
@NameInMap("content")
public String content;
/**
* This parameter is required.
*
* example:
* ACTIONCARD:卡片消息
*/
@NameInMap("messageType")
public String messageType;
/**
* This parameter is required.
*
* example:
* 标题内容
*/
@NameInMap("title")
public String title;
public static SendMsgByTaskSupportInviteJoinOrgRequestMessageContent build(java.util.Map map) throws Exception {
SendMsgByTaskSupportInviteJoinOrgRequestMessageContent self = new SendMsgByTaskSupportInviteJoinOrgRequestMessageContent();
return TeaModel.build(map, self);
}
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContent setBtns(java.util.List btns) {
this.btns = btns;
return this;
}
public java.util.List getBtns() {
return this.btns;
}
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContent setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContent setMessageType(String messageType) {
this.messageType = messageType;
return this;
}
public String getMessageType() {
return this.messageType;
}
public SendMsgByTaskSupportInviteJoinOrgRequestMessageContent setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy