com.aliyun.dingtalkim_2_0.models.CreateTopboxRequest 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_2_0.models;
import com.aliyun.tea.*;
public class CreateTopboxRequest extends TeaModel {
/**
* example:
* abcxxx
*/
@NameInMap("callbackRouteKey")
public String callbackRouteKey;
/**
* This parameter is required.
*/
@NameInMap("cardData")
public CreateTopboxRequestCardData cardData;
@NameInMap("cardSettings")
public CreateTopboxRequestCardSettings cardSettings;
/**
* This parameter is required.
*
* example:
* 56xxx-xxx
*/
@NameInMap("cardTemplateId")
public String cardTemplateId;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("conversationType")
public Integer conversationType;
/**
* example:
* COOLAPP-x-xxx
*/
@NameInMap("coolAppCode")
public String coolAppCode;
/**
* example:
* 1850042969000
*/
@NameInMap("expiredTime")
public Long expiredTime;
/**
* example:
* xxx-xxx-xxx
*/
@NameInMap("groupTemplateId")
public String groupTemplateId;
/**
* example:
* cidxxxxx==
*/
@NameInMap("openConversationId")
public String openConversationId;
/**
* This parameter is required.
*
* example:
* 123xxx
*/
@NameInMap("outTrackId")
public String outTrackId;
/**
* example:
* ios|win
*/
@NameInMap("platforms")
public String platforms;
@NameInMap("receiverUnionIdList")
public java.util.List receiverUnionIdList;
@NameInMap("receiverUserIdList")
public java.util.List receiverUserIdList;
/**
* example:
* dingxxx
*/
@NameInMap("robotCode")
public String robotCode;
@NameInMap("unionIdPrivateDataMap")
public java.util.Map unionIdPrivateDataMap;
/**
* example:
* jHsR7xxx
*/
@NameInMap("unoinId")
public String unoinId;
/**
* example:
* 011xxx
*/
@NameInMap("userId")
public String userId;
@NameInMap("userIdPrivateDataMap")
public java.util.Map userIdPrivateDataMap;
public static CreateTopboxRequest build(java.util.Map map) throws Exception {
CreateTopboxRequest self = new CreateTopboxRequest();
return TeaModel.build(map, self);
}
public CreateTopboxRequest setCallbackRouteKey(String callbackRouteKey) {
this.callbackRouteKey = callbackRouteKey;
return this;
}
public String getCallbackRouteKey() {
return this.callbackRouteKey;
}
public CreateTopboxRequest setCardData(CreateTopboxRequestCardData cardData) {
this.cardData = cardData;
return this;
}
public CreateTopboxRequestCardData getCardData() {
return this.cardData;
}
public CreateTopboxRequest setCardSettings(CreateTopboxRequestCardSettings cardSettings) {
this.cardSettings = cardSettings;
return this;
}
public CreateTopboxRequestCardSettings getCardSettings() {
return this.cardSettings;
}
public CreateTopboxRequest setCardTemplateId(String cardTemplateId) {
this.cardTemplateId = cardTemplateId;
return this;
}
public String getCardTemplateId() {
return this.cardTemplateId;
}
public CreateTopboxRequest setConversationType(Integer conversationType) {
this.conversationType = conversationType;
return this;
}
public Integer getConversationType() {
return this.conversationType;
}
public CreateTopboxRequest setCoolAppCode(String coolAppCode) {
this.coolAppCode = coolAppCode;
return this;
}
public String getCoolAppCode() {
return this.coolAppCode;
}
public CreateTopboxRequest setExpiredTime(Long expiredTime) {
this.expiredTime = expiredTime;
return this;
}
public Long getExpiredTime() {
return this.expiredTime;
}
public CreateTopboxRequest setGroupTemplateId(String groupTemplateId) {
this.groupTemplateId = groupTemplateId;
return this;
}
public String getGroupTemplateId() {
return this.groupTemplateId;
}
public CreateTopboxRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public CreateTopboxRequest setOutTrackId(String outTrackId) {
this.outTrackId = outTrackId;
return this;
}
public String getOutTrackId() {
return this.outTrackId;
}
public CreateTopboxRequest setPlatforms(String platforms) {
this.platforms = platforms;
return this;
}
public String getPlatforms() {
return this.platforms;
}
public CreateTopboxRequest setReceiverUnionIdList(java.util.List receiverUnionIdList) {
this.receiverUnionIdList = receiverUnionIdList;
return this;
}
public java.util.List getReceiverUnionIdList() {
return this.receiverUnionIdList;
}
public CreateTopboxRequest setReceiverUserIdList(java.util.List receiverUserIdList) {
this.receiverUserIdList = receiverUserIdList;
return this;
}
public java.util.List getReceiverUserIdList() {
return this.receiverUserIdList;
}
public CreateTopboxRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
public CreateTopboxRequest setUnionIdPrivateDataMap(java.util.Map unionIdPrivateDataMap) {
this.unionIdPrivateDataMap = unionIdPrivateDataMap;
return this;
}
public java.util.Map getUnionIdPrivateDataMap() {
return this.unionIdPrivateDataMap;
}
public CreateTopboxRequest setUnoinId(String unoinId) {
this.unoinId = unoinId;
return this;
}
public String getUnoinId() {
return this.unoinId;
}
public CreateTopboxRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public CreateTopboxRequest setUserIdPrivateDataMap(java.util.Map userIdPrivateDataMap) {
this.userIdPrivateDataMap = userIdPrivateDataMap;
return this;
}
public java.util.Map getUserIdPrivateDataMap() {
return this.userIdPrivateDataMap;
}
public static class CreateTopboxRequestCardData extends TeaModel {
@NameInMap("cardParamMap")
public java.util.Map cardParamMap;
public static CreateTopboxRequestCardData build(java.util.Map map) throws Exception {
CreateTopboxRequestCardData self = new CreateTopboxRequestCardData();
return TeaModel.build(map, self);
}
public CreateTopboxRequestCardData setCardParamMap(java.util.Map cardParamMap) {
this.cardParamMap = cardParamMap;
return this;
}
public java.util.Map getCardParamMap() {
return this.cardParamMap;
}
}
public static class CreateTopboxRequestCardSettings extends TeaModel {
@NameInMap("pullStrategy")
public Boolean pullStrategy;
public static CreateTopboxRequestCardSettings build(java.util.Map map) throws Exception {
CreateTopboxRequestCardSettings self = new CreateTopboxRequestCardSettings();
return TeaModel.build(map, self);
}
public CreateTopboxRequestCardSettings setPullStrategy(Boolean pullStrategy) {
this.pullStrategy = pullStrategy;
return this;
}
public Boolean getPullStrategy() {
return this.pullStrategy;
}
}
}