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

com.aliyun.dingtalkim_1_0.models.SendOTOInteractiveCardRequest 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 SendOTOInteractiveCardRequest extends TeaModel {
    @NameInMap("atOpenIds")
    public java.util.Map atOpenIds;

    @NameInMap("callbackRouteKey")
    public String callbackRouteKey;

    /**
     * 

This parameter is required.

*/ @NameInMap("cardData") public SendOTOInteractiveCardRequestCardData cardData; @NameInMap("cardOptions") public SendOTOInteractiveCardRequestCardOptions cardOptions; /** *

This parameter is required.

*/ @NameInMap("cardTemplateId") public String cardTemplateId; @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 SendOTOInteractiveCardRequest build(java.util.Map map) throws Exception { SendOTOInteractiveCardRequest self = new SendOTOInteractiveCardRequest(); return TeaModel.build(map, self); } public SendOTOInteractiveCardRequest setAtOpenIds(java.util.Map atOpenIds) { this.atOpenIds = atOpenIds; return this; } public java.util.Map getAtOpenIds() { return this.atOpenIds; } public SendOTOInteractiveCardRequest setCallbackRouteKey(String callbackRouteKey) { this.callbackRouteKey = callbackRouteKey; return this; } public String getCallbackRouteKey() { return this.callbackRouteKey; } public SendOTOInteractiveCardRequest setCardData(SendOTOInteractiveCardRequestCardData cardData) { this.cardData = cardData; return this; } public SendOTOInteractiveCardRequestCardData getCardData() { return this.cardData; } public SendOTOInteractiveCardRequest setCardOptions(SendOTOInteractiveCardRequestCardOptions cardOptions) { this.cardOptions = cardOptions; return this; } public SendOTOInteractiveCardRequestCardOptions getCardOptions() { return this.cardOptions; } public SendOTOInteractiveCardRequest setCardTemplateId(String cardTemplateId) { this.cardTemplateId = cardTemplateId; return this; } public String getCardTemplateId() { return this.cardTemplateId; } public SendOTOInteractiveCardRequest setOpenConversationId(String openConversationId) { this.openConversationId = openConversationId; return this; } public String getOpenConversationId() { return this.openConversationId; } public SendOTOInteractiveCardRequest setOutTrackId(String outTrackId) { this.outTrackId = outTrackId; return this; } public String getOutTrackId() { return this.outTrackId; } public SendOTOInteractiveCardRequest setPrivateData(java.util.Map privateData) { this.privateData = privateData; return this; } public java.util.Map getPrivateData() { return this.privateData; } public SendOTOInteractiveCardRequest setPullStrategy(Boolean pullStrategy) { this.pullStrategy = pullStrategy; return this; } public Boolean getPullStrategy() { return this.pullStrategy; } public SendOTOInteractiveCardRequest setReceiverUserIdList(java.util.List receiverUserIdList) { this.receiverUserIdList = receiverUserIdList; return this; } public java.util.List getReceiverUserIdList() { return this.receiverUserIdList; } public SendOTOInteractiveCardRequest setRobotCode(String robotCode) { this.robotCode = robotCode; return this; } public String getRobotCode() { return this.robotCode; } public SendOTOInteractiveCardRequest setUserIdType(Integer userIdType) { this.userIdType = userIdType; return this; } public Integer getUserIdType() { return this.userIdType; } public static class SendOTOInteractiveCardRequestCardData extends TeaModel { @NameInMap("cardParamMap") public java.util.Map cardParamMap; public static SendOTOInteractiveCardRequestCardData build(java.util.Map map) throws Exception { SendOTOInteractiveCardRequestCardData self = new SendOTOInteractiveCardRequestCardData(); return TeaModel.build(map, self); } public SendOTOInteractiveCardRequestCardData setCardParamMap(java.util.Map cardParamMap) { this.cardParamMap = cardParamMap; return this; } public java.util.Map getCardParamMap() { return this.cardParamMap; } } public static class SendOTOInteractiveCardRequestCardOptions extends TeaModel { @NameInMap("supportForward") public Boolean supportForward; public static SendOTOInteractiveCardRequestCardOptions build(java.util.Map map) throws Exception { SendOTOInteractiveCardRequestCardOptions self = new SendOTOInteractiveCardRequestCardOptions(); return TeaModel.build(map, self); } public SendOTOInteractiveCardRequestCardOptions setSupportForward(Boolean supportForward) { this.supportForward = supportForward; return this; } public Boolean getSupportForward() { return this.supportForward; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy