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

com.aliyun.dingtalkim_1_0.models.SendRobotInteractiveCardRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkim_1_0.models;

import com.aliyun.tea.*;

public class SendRobotInteractiveCardRequest extends TeaModel {
    /**
     * example:
     * 

https://xxx

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

This parameter is required.

* * example: *

cardXXXX01

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

This parameter is required.

* * example: *

根据具体的cardTemplateId参考文档格式

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

This parameter is required.

* * example: *

xxxxxxxx

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

cidXXXX

*/ @NameInMap("openConversationId") public String openConversationId; @NameInMap("pullStrategy") public Boolean pullStrategy; /** *

This parameter is required.

* * example: *

xxxxxx

*/ @NameInMap("robotCode") public String robotCode; @NameInMap("sendOptions") public SendRobotInteractiveCardRequestSendOptions sendOptions; /** * example: *

以userId为例:{"userId":"userId0001"};以unionId为例{"unionId":"unionId001"}

*/ @NameInMap("singleChatReceiver") public String singleChatReceiver; @NameInMap("unionIdPrivateDataMap") public String unionIdPrivateDataMap; @NameInMap("userIdPrivateDataMap") public String userIdPrivateDataMap; public static SendRobotInteractiveCardRequest build(java.util.Map map) throws Exception { SendRobotInteractiveCardRequest self = new SendRobotInteractiveCardRequest(); return TeaModel.build(map, self); } public SendRobotInteractiveCardRequest setCallbackUrl(String callbackUrl) { this.callbackUrl = callbackUrl; return this; } public String getCallbackUrl() { return this.callbackUrl; } public SendRobotInteractiveCardRequest setCardBizId(String cardBizId) { this.cardBizId = cardBizId; return this; } public String getCardBizId() { return this.cardBizId; } public SendRobotInteractiveCardRequest setCardData(String cardData) { this.cardData = cardData; return this; } public String getCardData() { return this.cardData; } public SendRobotInteractiveCardRequest setCardTemplateId(String cardTemplateId) { this.cardTemplateId = cardTemplateId; return this; } public String getCardTemplateId() { return this.cardTemplateId; } public SendRobotInteractiveCardRequest setOpenConversationId(String openConversationId) { this.openConversationId = openConversationId; return this; } public String getOpenConversationId() { return this.openConversationId; } public SendRobotInteractiveCardRequest setPullStrategy(Boolean pullStrategy) { this.pullStrategy = pullStrategy; return this; } public Boolean getPullStrategy() { return this.pullStrategy; } public SendRobotInteractiveCardRequest setRobotCode(String robotCode) { this.robotCode = robotCode; return this; } public String getRobotCode() { return this.robotCode; } public SendRobotInteractiveCardRequest setSendOptions(SendRobotInteractiveCardRequestSendOptions sendOptions) { this.sendOptions = sendOptions; return this; } public SendRobotInteractiveCardRequestSendOptions getSendOptions() { return this.sendOptions; } public SendRobotInteractiveCardRequest setSingleChatReceiver(String singleChatReceiver) { this.singleChatReceiver = singleChatReceiver; return this; } public String getSingleChatReceiver() { return this.singleChatReceiver; } public SendRobotInteractiveCardRequest setUnionIdPrivateDataMap(String unionIdPrivateDataMap) { this.unionIdPrivateDataMap = unionIdPrivateDataMap; return this; } public String getUnionIdPrivateDataMap() { return this.unionIdPrivateDataMap; } public SendRobotInteractiveCardRequest setUserIdPrivateDataMap(String userIdPrivateDataMap) { this.userIdPrivateDataMap = userIdPrivateDataMap; return this; } public String getUserIdPrivateDataMap() { return this.userIdPrivateDataMap; } public static class SendRobotInteractiveCardRequestSendOptions extends TeaModel { /** * example: *

true

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

[{"nickName":"张三","userId":"userId0001"},{"nickName":"李四","unionId":"unionId001"}]

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

{}

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

[{"userId":"userId0001"},{"unionId":"unionId001"}]

*/ @NameInMap("receiverListJson") public String receiverListJson; public static SendRobotInteractiveCardRequestSendOptions build(java.util.Map map) throws Exception { SendRobotInteractiveCardRequestSendOptions self = new SendRobotInteractiveCardRequestSendOptions(); return TeaModel.build(map, self); } public SendRobotInteractiveCardRequestSendOptions setAtAll(Boolean atAll) { this.atAll = atAll; return this; } public Boolean getAtAll() { return this.atAll; } public SendRobotInteractiveCardRequestSendOptions setAtUserListJson(String atUserListJson) { this.atUserListJson = atUserListJson; return this; } public String getAtUserListJson() { return this.atUserListJson; } public SendRobotInteractiveCardRequestSendOptions setCardPropertyJson(String cardPropertyJson) { this.cardPropertyJson = cardPropertyJson; return this; } public String getCardPropertyJson() { return this.cardPropertyJson; } public SendRobotInteractiveCardRequestSendOptions setReceiverListJson(String receiverListJson) { this.receiverListJson = receiverListJson; return this; } public String getReceiverListJson() { return this.receiverListJson; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy