com.aliyun.dingtalkim_1_0.models.InteractiveCardCreateInstanceRequest 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.dingtalkim_1_0.models;
import com.aliyun.tea.*;
public class InteractiveCardCreateInstanceRequest extends TeaModel {
@NameInMap("callbackRouteKey")
public String callbackRouteKey;
/**
* This parameter is required.
*/
@NameInMap("cardData")
public InteractiveCardCreateInstanceRequestCardData cardData;
/**
* This parameter is required.
*/
@NameInMap("cardTemplateId")
public String cardTemplateId;
@NameInMap("chatBotId")
public String chatBotId;
/**
* This parameter is required.
*/
@NameInMap("conversationType")
public Integer conversationType;
@NameInMap("openConversationId")
public String openConversationId;
/**
* This parameter is required.
*/
@NameInMap("outTrackId")
public String outTrackId;
@NameInMap("privateData")
public java.util.Map privateData;
@NameInMap("pullStrategy")
public Boolean pullStrategy;
@NameInMap("receiverUserIdList")
public java.util.List receiverUserIdList;
@NameInMap("robotCode")
public String robotCode;
@NameInMap("userIdType")
public Integer userIdType;
public static InteractiveCardCreateInstanceRequest build(java.util.Map map) throws Exception {
InteractiveCardCreateInstanceRequest self = new InteractiveCardCreateInstanceRequest();
return TeaModel.build(map, self);
}
public InteractiveCardCreateInstanceRequest setCallbackRouteKey(String callbackRouteKey) {
this.callbackRouteKey = callbackRouteKey;
return this;
}
public String getCallbackRouteKey() {
return this.callbackRouteKey;
}
public InteractiveCardCreateInstanceRequest setCardData(InteractiveCardCreateInstanceRequestCardData cardData) {
this.cardData = cardData;
return this;
}
public InteractiveCardCreateInstanceRequestCardData getCardData() {
return this.cardData;
}
public InteractiveCardCreateInstanceRequest setCardTemplateId(String cardTemplateId) {
this.cardTemplateId = cardTemplateId;
return this;
}
public String getCardTemplateId() {
return this.cardTemplateId;
}
public InteractiveCardCreateInstanceRequest setChatBotId(String chatBotId) {
this.chatBotId = chatBotId;
return this;
}
public String getChatBotId() {
return this.chatBotId;
}
public InteractiveCardCreateInstanceRequest setConversationType(Integer conversationType) {
this.conversationType = conversationType;
return this;
}
public Integer getConversationType() {
return this.conversationType;
}
public InteractiveCardCreateInstanceRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public InteractiveCardCreateInstanceRequest setOutTrackId(String outTrackId) {
this.outTrackId = outTrackId;
return this;
}
public String getOutTrackId() {
return this.outTrackId;
}
public InteractiveCardCreateInstanceRequest setPrivateData(java.util.Map privateData) {
this.privateData = privateData;
return this;
}
public java.util.Map getPrivateData() {
return this.privateData;
}
public InteractiveCardCreateInstanceRequest setPullStrategy(Boolean pullStrategy) {
this.pullStrategy = pullStrategy;
return this;
}
public Boolean getPullStrategy() {
return this.pullStrategy;
}
public InteractiveCardCreateInstanceRequest setReceiverUserIdList(java.util.List receiverUserIdList) {
this.receiverUserIdList = receiverUserIdList;
return this;
}
public java.util.List getReceiverUserIdList() {
return this.receiverUserIdList;
}
public InteractiveCardCreateInstanceRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
public InteractiveCardCreateInstanceRequest setUserIdType(Integer userIdType) {
this.userIdType = userIdType;
return this;
}
public Integer getUserIdType() {
return this.userIdType;
}
public static class InteractiveCardCreateInstanceRequestCardData extends TeaModel {
@NameInMap("cardMediaIdParamMap")
public java.util.Map cardMediaIdParamMap;
@NameInMap("cardParamMap")
public java.util.Map cardParamMap;
public static InteractiveCardCreateInstanceRequestCardData build(java.util.Map map) throws Exception {
InteractiveCardCreateInstanceRequestCardData self = new InteractiveCardCreateInstanceRequestCardData();
return TeaModel.build(map, self);
}
public InteractiveCardCreateInstanceRequestCardData setCardMediaIdParamMap(java.util.Map cardMediaIdParamMap) {
this.cardMediaIdParamMap = cardMediaIdParamMap;
return this;
}
public java.util.Map getCardMediaIdParamMap() {
return this.cardMediaIdParamMap;
}
public InteractiveCardCreateInstanceRequestCardData setCardParamMap(java.util.Map cardParamMap) {
this.cardParamMap = cardParamMap;
return this;
}
public java.util.Map getCardParamMap() {
return this.cardParamMap;
}
}
}