![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalklink_1_0.models.SendInteractiveOTOMessageRequest 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.dingtalklink_1_0.models;
import com.aliyun.tea.*;
public class SendInteractiveOTOMessageRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("detail")
public SendInteractiveOTOMessageRequestDetail detail;
public static SendInteractiveOTOMessageRequest build(java.util.Map map) throws Exception {
SendInteractiveOTOMessageRequest self = new SendInteractiveOTOMessageRequest();
return TeaModel.build(map, self);
}
public SendInteractiveOTOMessageRequest setDetail(SendInteractiveOTOMessageRequestDetail detail) {
this.detail = detail;
return this;
}
public SendInteractiveOTOMessageRequestDetail getDetail() {
return this.detail;
}
public static class SendInteractiveOTOMessageRequestDetail extends TeaModel {
/**
* example:
* https://www.youurl.com/callback/card
*/
@NameInMap("callbackUrl")
public String callbackUrl;
/**
* This parameter is required.
*
* example:
* service-card-20220824-001
*/
@NameInMap("cardBizId")
public String cardBizId;
/**
* This parameter is required.
*/
@NameInMap("cardData")
public String cardData;
/**
* This parameter is required.
*
* example:
* 3erkfi-42b0-4c83-bc56-ffhssde43
*/
@NameInMap("cardTemplateId")
public String cardTemplateId;
/**
* This parameter is required.
*
* example:
* user0001
*/
@NameInMap("userId")
public String userId;
/**
* example:
* {"user001":""}
*/
@NameInMap("userIdPrivateDataMap")
public String userIdPrivateDataMap;
public static SendInteractiveOTOMessageRequestDetail build(java.util.Map map) throws Exception {
SendInteractiveOTOMessageRequestDetail self = new SendInteractiveOTOMessageRequestDetail();
return TeaModel.build(map, self);
}
public SendInteractiveOTOMessageRequestDetail setCallbackUrl(String callbackUrl) {
this.callbackUrl = callbackUrl;
return this;
}
public String getCallbackUrl() {
return this.callbackUrl;
}
public SendInteractiveOTOMessageRequestDetail setCardBizId(String cardBizId) {
this.cardBizId = cardBizId;
return this;
}
public String getCardBizId() {
return this.cardBizId;
}
public SendInteractiveOTOMessageRequestDetail setCardData(String cardData) {
this.cardData = cardData;
return this;
}
public String getCardData() {
return this.cardData;
}
public SendInteractiveOTOMessageRequestDetail setCardTemplateId(String cardTemplateId) {
this.cardTemplateId = cardTemplateId;
return this;
}
public String getCardTemplateId() {
return this.cardTemplateId;
}
public SendInteractiveOTOMessageRequestDetail setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public SendInteractiveOTOMessageRequestDetail setUserIdPrivateDataMap(String userIdPrivateDataMap) {
this.userIdPrivateDataMap = userIdPrivateDataMap;
return this;
}
public String getUserIdPrivateDataMap() {
return this.userIdPrivateDataMap;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy