All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkservice_group_1_0.models.SendServiceGroupMessageRequest 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 SendServiceGroupMessageRequest extends TeaModel {
    @NameInMap("atDingtalkIds")
    public java.util.List atDingtalkIds;

    @NameInMap("atMobiles")
    public java.util.List atMobiles;

    @NameInMap("atUnionIds")
    public java.util.List atUnionIds;

    /**
     * example:
     * 

0

*/ @NameInMap("btnOrientation") public String btnOrientation; @NameInMap("btns") public java.util.List btns; /** *

This parameter is required.

* * example: *

你有新的任务待审批

*/ @NameInMap("content") public String content; /** * example: *

false

*/ @NameInMap("hasContentLinks") public Boolean hasContentLinks; /** * example: *

false

*/ @NameInMap("isAtAll") public Boolean isAtAll; /** *

This parameter is required.

* * example: *

MARKDOWN

*/ @NameInMap("messageType") public String messageType; @NameInMap("receiverDingtalkIds") public java.util.List receiverDingtalkIds; @NameInMap("receiverMobiles") public java.util.List receiverMobiles; @NameInMap("receiverUnionIds") public java.util.List receiverUnionIds; /** *

This parameter is required.

* * example: *

cidxxxxx==

*/ @NameInMap("targetOpenConversationId") public String targetOpenConversationId; /** *

This parameter is required.

* * example: *

服务提醒

*/ @NameInMap("title") public String title; public static SendServiceGroupMessageRequest build(java.util.Map map) throws Exception { SendServiceGroupMessageRequest self = new SendServiceGroupMessageRequest(); return TeaModel.build(map, self); } public SendServiceGroupMessageRequest setAtDingtalkIds(java.util.List atDingtalkIds) { this.atDingtalkIds = atDingtalkIds; return this; } public java.util.List getAtDingtalkIds() { return this.atDingtalkIds; } public SendServiceGroupMessageRequest setAtMobiles(java.util.List atMobiles) { this.atMobiles = atMobiles; return this; } public java.util.List getAtMobiles() { return this.atMobiles; } public SendServiceGroupMessageRequest setAtUnionIds(java.util.List atUnionIds) { this.atUnionIds = atUnionIds; return this; } public java.util.List getAtUnionIds() { return this.atUnionIds; } public SendServiceGroupMessageRequest setBtnOrientation(String btnOrientation) { this.btnOrientation = btnOrientation; return this; } public String getBtnOrientation() { return this.btnOrientation; } public SendServiceGroupMessageRequest setBtns(java.util.List btns) { this.btns = btns; return this; } public java.util.List getBtns() { return this.btns; } public SendServiceGroupMessageRequest setContent(String content) { this.content = content; return this; } public String getContent() { return this.content; } public SendServiceGroupMessageRequest setHasContentLinks(Boolean hasContentLinks) { this.hasContentLinks = hasContentLinks; return this; } public Boolean getHasContentLinks() { return this.hasContentLinks; } public SendServiceGroupMessageRequest setIsAtAll(Boolean isAtAll) { this.isAtAll = isAtAll; return this; } public Boolean getIsAtAll() { return this.isAtAll; } public SendServiceGroupMessageRequest setMessageType(String messageType) { this.messageType = messageType; return this; } public String getMessageType() { return this.messageType; } public SendServiceGroupMessageRequest setReceiverDingtalkIds(java.util.List receiverDingtalkIds) { this.receiverDingtalkIds = receiverDingtalkIds; return this; } public java.util.List getReceiverDingtalkIds() { return this.receiverDingtalkIds; } public SendServiceGroupMessageRequest setReceiverMobiles(java.util.List receiverMobiles) { this.receiverMobiles = receiverMobiles; return this; } public java.util.List getReceiverMobiles() { return this.receiverMobiles; } public SendServiceGroupMessageRequest setReceiverUnionIds(java.util.List receiverUnionIds) { this.receiverUnionIds = receiverUnionIds; return this; } public java.util.List getReceiverUnionIds() { return this.receiverUnionIds; } public SendServiceGroupMessageRequest setTargetOpenConversationId(String targetOpenConversationId) { this.targetOpenConversationId = targetOpenConversationId; return this; } public String getTargetOpenConversationId() { return this.targetOpenConversationId; } public SendServiceGroupMessageRequest setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } public static class SendServiceGroupMessageRequestBtns extends TeaModel { /** * example: *

http://www.dingtalk.com

*/ @NameInMap("actionURL") public String actionURL; /** * example: *

测试按钮

*/ @NameInMap("title") public String title; public static SendServiceGroupMessageRequestBtns build(java.util.Map map) throws Exception { SendServiceGroupMessageRequestBtns self = new SendServiceGroupMessageRequestBtns(); return TeaModel.build(map, self); } public SendServiceGroupMessageRequestBtns setActionURL(String actionURL) { this.actionURL = actionURL; return this; } public String getActionURL() { return this.actionURL; } public SendServiceGroupMessageRequestBtns setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy