com.aliyun.dingtalkcard_1_0.models.CreateAndDeliverRequest 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.dingtalkcard_1_0.models;
import com.aliyun.tea.*;
public class CreateAndDeliverRequest extends TeaModel {
@NameInMap("callbackRouteKey")
public String callbackRouteKey;
/**
* example:
* STREAM
*/
@NameInMap("callbackType")
public String callbackType;
/**
* This parameter is required.
*/
@NameInMap("cardData")
public CreateAndDeliverRequestCardData cardData;
/**
* This parameter is required.
*/
@NameInMap("cardTemplateId")
public String cardTemplateId;
@NameInMap("coFeedOpenDeliverModel")
public CreateAndDeliverRequestCoFeedOpenDeliverModel coFeedOpenDeliverModel;
@NameInMap("coFeedOpenSpaceModel")
public CreateAndDeliverRequestCoFeedOpenSpaceModel coFeedOpenSpaceModel;
@NameInMap("docOpenDeliverModel")
public CreateAndDeliverRequestDocOpenDeliverModel docOpenDeliverModel;
@NameInMap("imGroupOpenDeliverModel")
public CreateAndDeliverRequestImGroupOpenDeliverModel imGroupOpenDeliverModel;
@NameInMap("imGroupOpenSpaceModel")
public CreateAndDeliverRequestImGroupOpenSpaceModel imGroupOpenSpaceModel;
@NameInMap("imRobotOpenDeliverModel")
public CreateAndDeliverRequestImRobotOpenDeliverModel imRobotOpenDeliverModel;
@NameInMap("imRobotOpenSpaceModel")
public CreateAndDeliverRequestImRobotOpenSpaceModel imRobotOpenSpaceModel;
@NameInMap("imSingleOpenDeliverModel")
public CreateAndDeliverRequestImSingleOpenDeliverModel imSingleOpenDeliverModel;
@NameInMap("imSingleOpenSpaceModel")
public CreateAndDeliverRequestImSingleOpenSpaceModel imSingleOpenSpaceModel;
@NameInMap("openDynamicDataConfig")
public CreateAndDeliverRequestOpenDynamicDataConfig openDynamicDataConfig;
/**
* This parameter is required.
*
* example:
* dtv1.card//im_group.cidp4GhVCQ==;im_robot.manager67;im_robot.staff89;co_feed.manager67;one_box.cidp4Gh****VCQ==;
*/
@NameInMap("openSpaceId")
public String openSpaceId;
/**
* This parameter is required.
*/
@NameInMap("outTrackId")
public String outTrackId;
@NameInMap("privateData")
public java.util.Map privateData;
@NameInMap("topOpenDeliverModel")
public CreateAndDeliverRequestTopOpenDeliverModel topOpenDeliverModel;
@NameInMap("topOpenSpaceModel")
public CreateAndDeliverRequestTopOpenSpaceModel topOpenSpaceModel;
@NameInMap("userId")
public String userId;
@NameInMap("userIdType")
public Integer userIdType;
public static CreateAndDeliverRequest build(java.util.Map map) throws Exception {
CreateAndDeliverRequest self = new CreateAndDeliverRequest();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequest setCallbackRouteKey(String callbackRouteKey) {
this.callbackRouteKey = callbackRouteKey;
return this;
}
public String getCallbackRouteKey() {
return this.callbackRouteKey;
}
public CreateAndDeliverRequest setCallbackType(String callbackType) {
this.callbackType = callbackType;
return this;
}
public String getCallbackType() {
return this.callbackType;
}
public CreateAndDeliverRequest setCardData(CreateAndDeliverRequestCardData cardData) {
this.cardData = cardData;
return this;
}
public CreateAndDeliverRequestCardData getCardData() {
return this.cardData;
}
public CreateAndDeliverRequest setCardTemplateId(String cardTemplateId) {
this.cardTemplateId = cardTemplateId;
return this;
}
public String getCardTemplateId() {
return this.cardTemplateId;
}
public CreateAndDeliverRequest setCoFeedOpenDeliverModel(CreateAndDeliverRequestCoFeedOpenDeliverModel coFeedOpenDeliverModel) {
this.coFeedOpenDeliverModel = coFeedOpenDeliverModel;
return this;
}
public CreateAndDeliverRequestCoFeedOpenDeliverModel getCoFeedOpenDeliverModel() {
return this.coFeedOpenDeliverModel;
}
public CreateAndDeliverRequest setCoFeedOpenSpaceModel(CreateAndDeliverRequestCoFeedOpenSpaceModel coFeedOpenSpaceModel) {
this.coFeedOpenSpaceModel = coFeedOpenSpaceModel;
return this;
}
public CreateAndDeliverRequestCoFeedOpenSpaceModel getCoFeedOpenSpaceModel() {
return this.coFeedOpenSpaceModel;
}
public CreateAndDeliverRequest setDocOpenDeliverModel(CreateAndDeliverRequestDocOpenDeliverModel docOpenDeliverModel) {
this.docOpenDeliverModel = docOpenDeliverModel;
return this;
}
public CreateAndDeliverRequestDocOpenDeliverModel getDocOpenDeliverModel() {
return this.docOpenDeliverModel;
}
public CreateAndDeliverRequest setImGroupOpenDeliverModel(CreateAndDeliverRequestImGroupOpenDeliverModel imGroupOpenDeliverModel) {
this.imGroupOpenDeliverModel = imGroupOpenDeliverModel;
return this;
}
public CreateAndDeliverRequestImGroupOpenDeliverModel getImGroupOpenDeliverModel() {
return this.imGroupOpenDeliverModel;
}
public CreateAndDeliverRequest setImGroupOpenSpaceModel(CreateAndDeliverRequestImGroupOpenSpaceModel imGroupOpenSpaceModel) {
this.imGroupOpenSpaceModel = imGroupOpenSpaceModel;
return this;
}
public CreateAndDeliverRequestImGroupOpenSpaceModel getImGroupOpenSpaceModel() {
return this.imGroupOpenSpaceModel;
}
public CreateAndDeliverRequest setImRobotOpenDeliverModel(CreateAndDeliverRequestImRobotOpenDeliverModel imRobotOpenDeliverModel) {
this.imRobotOpenDeliverModel = imRobotOpenDeliverModel;
return this;
}
public CreateAndDeliverRequestImRobotOpenDeliverModel getImRobotOpenDeliverModel() {
return this.imRobotOpenDeliverModel;
}
public CreateAndDeliverRequest setImRobotOpenSpaceModel(CreateAndDeliverRequestImRobotOpenSpaceModel imRobotOpenSpaceModel) {
this.imRobotOpenSpaceModel = imRobotOpenSpaceModel;
return this;
}
public CreateAndDeliverRequestImRobotOpenSpaceModel getImRobotOpenSpaceModel() {
return this.imRobotOpenSpaceModel;
}
public CreateAndDeliverRequest setImSingleOpenDeliverModel(CreateAndDeliverRequestImSingleOpenDeliverModel imSingleOpenDeliverModel) {
this.imSingleOpenDeliverModel = imSingleOpenDeliverModel;
return this;
}
public CreateAndDeliverRequestImSingleOpenDeliverModel getImSingleOpenDeliverModel() {
return this.imSingleOpenDeliverModel;
}
public CreateAndDeliverRequest setImSingleOpenSpaceModel(CreateAndDeliverRequestImSingleOpenSpaceModel imSingleOpenSpaceModel) {
this.imSingleOpenSpaceModel = imSingleOpenSpaceModel;
return this;
}
public CreateAndDeliverRequestImSingleOpenSpaceModel getImSingleOpenSpaceModel() {
return this.imSingleOpenSpaceModel;
}
public CreateAndDeliverRequest setOpenDynamicDataConfig(CreateAndDeliverRequestOpenDynamicDataConfig openDynamicDataConfig) {
this.openDynamicDataConfig = openDynamicDataConfig;
return this;
}
public CreateAndDeliverRequestOpenDynamicDataConfig getOpenDynamicDataConfig() {
return this.openDynamicDataConfig;
}
public CreateAndDeliverRequest setOpenSpaceId(String openSpaceId) {
this.openSpaceId = openSpaceId;
return this;
}
public String getOpenSpaceId() {
return this.openSpaceId;
}
public CreateAndDeliverRequest setOutTrackId(String outTrackId) {
this.outTrackId = outTrackId;
return this;
}
public String getOutTrackId() {
return this.outTrackId;
}
public CreateAndDeliverRequest setPrivateData(java.util.Map privateData) {
this.privateData = privateData;
return this;
}
public java.util.Map getPrivateData() {
return this.privateData;
}
public CreateAndDeliverRequest setTopOpenDeliverModel(CreateAndDeliverRequestTopOpenDeliverModel topOpenDeliverModel) {
this.topOpenDeliverModel = topOpenDeliverModel;
return this;
}
public CreateAndDeliverRequestTopOpenDeliverModel getTopOpenDeliverModel() {
return this.topOpenDeliverModel;
}
public CreateAndDeliverRequest setTopOpenSpaceModel(CreateAndDeliverRequestTopOpenSpaceModel topOpenSpaceModel) {
this.topOpenSpaceModel = topOpenSpaceModel;
return this;
}
public CreateAndDeliverRequestTopOpenSpaceModel getTopOpenSpaceModel() {
return this.topOpenSpaceModel;
}
public CreateAndDeliverRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public CreateAndDeliverRequest setUserIdType(Integer userIdType) {
this.userIdType = userIdType;
return this;
}
public Integer getUserIdType() {
return this.userIdType;
}
public static class CreateAndDeliverRequestCardData extends TeaModel {
@NameInMap("cardParamMap")
public java.util.Map cardParamMap;
public static CreateAndDeliverRequestCardData build(java.util.Map map) throws Exception {
CreateAndDeliverRequestCardData self = new CreateAndDeliverRequestCardData();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestCardData setCardParamMap(java.util.Map cardParamMap) {
this.cardParamMap = cardParamMap;
return this;
}
public java.util.Map getCardParamMap() {
return this.cardParamMap;
}
}
public static class CreateAndDeliverRequestCoFeedOpenDeliverModel extends TeaModel {
/**
* example:
* xxx_biz_tag
*/
@NameInMap("bizTag")
public String bizTag;
/**
* example:
* 1665473229000
*/
@NameInMap("gmtTimeLine")
public Long gmtTimeLine;
public static CreateAndDeliverRequestCoFeedOpenDeliverModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestCoFeedOpenDeliverModel self = new CreateAndDeliverRequestCoFeedOpenDeliverModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestCoFeedOpenDeliverModel setBizTag(String bizTag) {
this.bizTag = bizTag;
return this;
}
public String getBizTag() {
return this.bizTag;
}
public CreateAndDeliverRequestCoFeedOpenDeliverModel setGmtTimeLine(Long gmtTimeLine) {
this.gmtTimeLine = gmtTimeLine;
return this;
}
public Long getGmtTimeLine() {
return this.gmtTimeLine;
}
}
public static class CreateAndDeliverRequestCoFeedOpenSpaceModel extends TeaModel {
/**
* example:
* coolAppCode123
*/
@NameInMap("coolAppCode")
public String coolAppCode;
/**
* example:
* xxxx卡片
*/
@NameInMap("title")
public String title;
public static CreateAndDeliverRequestCoFeedOpenSpaceModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestCoFeedOpenSpaceModel self = new CreateAndDeliverRequestCoFeedOpenSpaceModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestCoFeedOpenSpaceModel setCoolAppCode(String coolAppCode) {
this.coolAppCode = coolAppCode;
return this;
}
public String getCoolAppCode() {
return this.coolAppCode;
}
public CreateAndDeliverRequestCoFeedOpenSpaceModel setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
public static class CreateAndDeliverRequestDocOpenDeliverModel extends TeaModel {
/**
* example:
* xxx_biz_tag
*/
@NameInMap("userId")
public String userId;
public static CreateAndDeliverRequestDocOpenDeliverModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestDocOpenDeliverModel self = new CreateAndDeliverRequestDocOpenDeliverModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestDocOpenDeliverModel setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class CreateAndDeliverRequestImGroupOpenDeliverModel extends TeaModel {
@NameInMap("atUserIds")
public java.util.Map atUserIds;
@NameInMap("extension")
public java.util.Map extension;
@NameInMap("recipients")
public java.util.List recipients;
/**
* example:
* dingg3xmqdkpaojuakm8
*/
@NameInMap("robotCode")
public String robotCode;
public static CreateAndDeliverRequestImGroupOpenDeliverModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImGroupOpenDeliverModel self = new CreateAndDeliverRequestImGroupOpenDeliverModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImGroupOpenDeliverModel setAtUserIds(java.util.Map atUserIds) {
this.atUserIds = atUserIds;
return this;
}
public java.util.Map getAtUserIds() {
return this.atUserIds;
}
public CreateAndDeliverRequestImGroupOpenDeliverModel setExtension(java.util.Map extension) {
this.extension = extension;
return this;
}
public java.util.Map getExtension() {
return this.extension;
}
public CreateAndDeliverRequestImGroupOpenDeliverModel setRecipients(java.util.List recipients) {
this.recipients = recipients;
return this;
}
public java.util.List getRecipients() {
return this.recipients;
}
public CreateAndDeliverRequestImGroupOpenDeliverModel setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
}
public static class CreateAndDeliverRequestImGroupOpenSpaceModelNotification extends TeaModel {
/**
* example:
* 你收到了一个卡片消息
*/
@NameInMap("alertContent")
public String alertContent;
@NameInMap("notificationOff")
public Boolean notificationOff;
public static CreateAndDeliverRequestImGroupOpenSpaceModelNotification build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImGroupOpenSpaceModelNotification self = new CreateAndDeliverRequestImGroupOpenSpaceModelNotification();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImGroupOpenSpaceModelNotification setAlertContent(String alertContent) {
this.alertContent = alertContent;
return this;
}
public String getAlertContent() {
return this.alertContent;
}
public CreateAndDeliverRequestImGroupOpenSpaceModelNotification setNotificationOff(Boolean notificationOff) {
this.notificationOff = notificationOff;
return this;
}
public Boolean getNotificationOff() {
return this.notificationOff;
}
}
public static class CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport extends TeaModel {
/**
* example:
* 卡片的具体描述
*/
@NameInMap("searchDesc")
public String searchDesc;
/**
* example:
* @lALPDgQ9q8hFhlHNAXzNAqI
*/
@NameInMap("searchIcon")
public String searchIcon;
/**
* example:
* {"zh_CN":"待办","zh_TW":"待辦","en_US":"ToDo"}
*/
@NameInMap("searchTypeName")
public String searchTypeName;
public static CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport self = new CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport setSearchDesc(String searchDesc) {
this.searchDesc = searchDesc;
return this;
}
public String getSearchDesc() {
return this.searchDesc;
}
public CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport setSearchIcon(String searchIcon) {
this.searchIcon = searchIcon;
return this;
}
public String getSearchIcon() {
return this.searchIcon;
}
public CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport setSearchTypeName(String searchTypeName) {
this.searchTypeName = searchTypeName;
return this;
}
public String getSearchTypeName() {
return this.searchTypeName;
}
}
public static class CreateAndDeliverRequestImGroupOpenSpaceModel extends TeaModel {
@NameInMap("lastMessageI18n")
public java.util.Map lastMessageI18n;
@NameInMap("notification")
public CreateAndDeliverRequestImGroupOpenSpaceModelNotification notification;
@NameInMap("searchSupport")
public CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport searchSupport;
@NameInMap("supportForward")
public Boolean supportForward;
public static CreateAndDeliverRequestImGroupOpenSpaceModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImGroupOpenSpaceModel self = new CreateAndDeliverRequestImGroupOpenSpaceModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImGroupOpenSpaceModel setLastMessageI18n(java.util.Map lastMessageI18n) {
this.lastMessageI18n = lastMessageI18n;
return this;
}
public java.util.Map getLastMessageI18n() {
return this.lastMessageI18n;
}
public CreateAndDeliverRequestImGroupOpenSpaceModel setNotification(CreateAndDeliverRequestImGroupOpenSpaceModelNotification notification) {
this.notification = notification;
return this;
}
public CreateAndDeliverRequestImGroupOpenSpaceModelNotification getNotification() {
return this.notification;
}
public CreateAndDeliverRequestImGroupOpenSpaceModel setSearchSupport(CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport searchSupport) {
this.searchSupport = searchSupport;
return this;
}
public CreateAndDeliverRequestImGroupOpenSpaceModelSearchSupport getSearchSupport() {
return this.searchSupport;
}
public CreateAndDeliverRequestImGroupOpenSpaceModel setSupportForward(Boolean supportForward) {
this.supportForward = supportForward;
return this;
}
public Boolean getSupportForward() {
return this.supportForward;
}
}
public static class CreateAndDeliverRequestImRobotOpenDeliverModel extends TeaModel {
@NameInMap("extension")
public java.util.Map extension;
/**
* example:
* dingg3xmqdkpaojuakm8
*/
@NameInMap("robotCode")
public String robotCode;
@NameInMap("spaceType")
public String spaceType;
public static CreateAndDeliverRequestImRobotOpenDeliverModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImRobotOpenDeliverModel self = new CreateAndDeliverRequestImRobotOpenDeliverModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImRobotOpenDeliverModel setExtension(java.util.Map extension) {
this.extension = extension;
return this;
}
public java.util.Map getExtension() {
return this.extension;
}
public CreateAndDeliverRequestImRobotOpenDeliverModel setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
public CreateAndDeliverRequestImRobotOpenDeliverModel setSpaceType(String spaceType) {
this.spaceType = spaceType;
return this;
}
public String getSpaceType() {
return this.spaceType;
}
}
public static class CreateAndDeliverRequestImRobotOpenSpaceModelNotification extends TeaModel {
/**
* example:
* 你收到了一个卡片消息
*/
@NameInMap("alertContent")
public String alertContent;
@NameInMap("notificationOff")
public Boolean notificationOff;
public static CreateAndDeliverRequestImRobotOpenSpaceModelNotification build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImRobotOpenSpaceModelNotification self = new CreateAndDeliverRequestImRobotOpenSpaceModelNotification();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImRobotOpenSpaceModelNotification setAlertContent(String alertContent) {
this.alertContent = alertContent;
return this;
}
public String getAlertContent() {
return this.alertContent;
}
public CreateAndDeliverRequestImRobotOpenSpaceModelNotification setNotificationOff(Boolean notificationOff) {
this.notificationOff = notificationOff;
return this;
}
public Boolean getNotificationOff() {
return this.notificationOff;
}
}
public static class CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport extends TeaModel {
/**
* example:
* 卡片的具体描述
*/
@NameInMap("searchDesc")
public String searchDesc;
/**
* example:
* @lALPDgQ9q8hFhlHNAXzNAqI
*/
@NameInMap("searchIcon")
public String searchIcon;
/**
* example:
* {"zh_CN":"待办","zh_TW":"待辦","en_US":"ToDo"}
*/
@NameInMap("searchTypeName")
public String searchTypeName;
public static CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport self = new CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport setSearchDesc(String searchDesc) {
this.searchDesc = searchDesc;
return this;
}
public String getSearchDesc() {
return this.searchDesc;
}
public CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport setSearchIcon(String searchIcon) {
this.searchIcon = searchIcon;
return this;
}
public String getSearchIcon() {
return this.searchIcon;
}
public CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport setSearchTypeName(String searchTypeName) {
this.searchTypeName = searchTypeName;
return this;
}
public String getSearchTypeName() {
return this.searchTypeName;
}
}
public static class CreateAndDeliverRequestImRobotOpenSpaceModel extends TeaModel {
@NameInMap("lastMessageI18n")
public java.util.Map lastMessageI18n;
@NameInMap("notification")
public CreateAndDeliverRequestImRobotOpenSpaceModelNotification notification;
@NameInMap("searchSupport")
public CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport searchSupport;
@NameInMap("supportForward")
public Boolean supportForward;
public static CreateAndDeliverRequestImRobotOpenSpaceModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImRobotOpenSpaceModel self = new CreateAndDeliverRequestImRobotOpenSpaceModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImRobotOpenSpaceModel setLastMessageI18n(java.util.Map lastMessageI18n) {
this.lastMessageI18n = lastMessageI18n;
return this;
}
public java.util.Map getLastMessageI18n() {
return this.lastMessageI18n;
}
public CreateAndDeliverRequestImRobotOpenSpaceModel setNotification(CreateAndDeliverRequestImRobotOpenSpaceModelNotification notification) {
this.notification = notification;
return this;
}
public CreateAndDeliverRequestImRobotOpenSpaceModelNotification getNotification() {
return this.notification;
}
public CreateAndDeliverRequestImRobotOpenSpaceModel setSearchSupport(CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport searchSupport) {
this.searchSupport = searchSupport;
return this;
}
public CreateAndDeliverRequestImRobotOpenSpaceModelSearchSupport getSearchSupport() {
return this.searchSupport;
}
public CreateAndDeliverRequestImRobotOpenSpaceModel setSupportForward(Boolean supportForward) {
this.supportForward = supportForward;
return this;
}
public Boolean getSupportForward() {
return this.supportForward;
}
}
public static class CreateAndDeliverRequestImSingleOpenDeliverModel extends TeaModel {
@NameInMap("atUserIds")
public java.util.Map atUserIds;
@NameInMap("extension")
public java.util.Map extension;
public static CreateAndDeliverRequestImSingleOpenDeliverModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImSingleOpenDeliverModel self = new CreateAndDeliverRequestImSingleOpenDeliverModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImSingleOpenDeliverModel setAtUserIds(java.util.Map atUserIds) {
this.atUserIds = atUserIds;
return this;
}
public java.util.Map getAtUserIds() {
return this.atUserIds;
}
public CreateAndDeliverRequestImSingleOpenDeliverModel setExtension(java.util.Map extension) {
this.extension = extension;
return this;
}
public java.util.Map getExtension() {
return this.extension;
}
}
public static class CreateAndDeliverRequestImSingleOpenSpaceModelNotification extends TeaModel {
/**
* example:
* 你收到了一个卡片消息
*/
@NameInMap("alertContent")
public String alertContent;
@NameInMap("notificationOff")
public Boolean notificationOff;
public static CreateAndDeliverRequestImSingleOpenSpaceModelNotification build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImSingleOpenSpaceModelNotification self = new CreateAndDeliverRequestImSingleOpenSpaceModelNotification();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImSingleOpenSpaceModelNotification setAlertContent(String alertContent) {
this.alertContent = alertContent;
return this;
}
public String getAlertContent() {
return this.alertContent;
}
public CreateAndDeliverRequestImSingleOpenSpaceModelNotification setNotificationOff(Boolean notificationOff) {
this.notificationOff = notificationOff;
return this;
}
public Boolean getNotificationOff() {
return this.notificationOff;
}
}
public static class CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport extends TeaModel {
/**
* example:
* 卡片的具体描述
*/
@NameInMap("searchDesc")
public String searchDesc;
/**
* example:
* @lALPDgQ9q8hFhlHNAXzNAqI
*/
@NameInMap("searchIcon")
public String searchIcon;
/**
* example:
* {"zh_CN":"待办","zh_TW":"待辦","en_US":"ToDo"}
*/
@NameInMap("searchTypeName")
public String searchTypeName;
public static CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport self = new CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport setSearchDesc(String searchDesc) {
this.searchDesc = searchDesc;
return this;
}
public String getSearchDesc() {
return this.searchDesc;
}
public CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport setSearchIcon(String searchIcon) {
this.searchIcon = searchIcon;
return this;
}
public String getSearchIcon() {
return this.searchIcon;
}
public CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport setSearchTypeName(String searchTypeName) {
this.searchTypeName = searchTypeName;
return this;
}
public String getSearchTypeName() {
return this.searchTypeName;
}
}
public static class CreateAndDeliverRequestImSingleOpenSpaceModel extends TeaModel {
@NameInMap("lastMessageI18n")
public java.util.Map lastMessageI18n;
@NameInMap("notification")
public CreateAndDeliverRequestImSingleOpenSpaceModelNotification notification;
@NameInMap("searchSupport")
public CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport searchSupport;
@NameInMap("supportForward")
public Boolean supportForward;
public static CreateAndDeliverRequestImSingleOpenSpaceModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestImSingleOpenSpaceModel self = new CreateAndDeliverRequestImSingleOpenSpaceModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestImSingleOpenSpaceModel setLastMessageI18n(java.util.Map lastMessageI18n) {
this.lastMessageI18n = lastMessageI18n;
return this;
}
public java.util.Map getLastMessageI18n() {
return this.lastMessageI18n;
}
public CreateAndDeliverRequestImSingleOpenSpaceModel setNotification(CreateAndDeliverRequestImSingleOpenSpaceModelNotification notification) {
this.notification = notification;
return this;
}
public CreateAndDeliverRequestImSingleOpenSpaceModelNotification getNotification() {
return this.notification;
}
public CreateAndDeliverRequestImSingleOpenSpaceModel setSearchSupport(CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport searchSupport) {
this.searchSupport = searchSupport;
return this;
}
public CreateAndDeliverRequestImSingleOpenSpaceModelSearchSupport getSearchSupport() {
return this.searchSupport;
}
public CreateAndDeliverRequestImSingleOpenSpaceModel setSupportForward(Boolean supportForward) {
this.supportForward = supportForward;
return this;
}
public Boolean getSupportForward() {
return this.supportForward;
}
}
public static class CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig extends TeaModel {
@NameInMap("interval")
public Integer interval;
@NameInMap("pullStrategy")
public String pullStrategy;
@NameInMap("timeUnit")
public String timeUnit;
public static CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig build(java.util.Map map) throws Exception {
CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig self = new CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig setInterval(Integer interval) {
this.interval = interval;
return this;
}
public Integer getInterval() {
return this.interval;
}
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig setPullStrategy(String pullStrategy) {
this.pullStrategy = pullStrategy;
return this;
}
public String getPullStrategy() {
return this.pullStrategy;
}
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig setTimeUnit(String timeUnit) {
this.timeUnit = timeUnit;
return this;
}
public String getTimeUnit() {
return this.timeUnit;
}
}
public static class CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigs extends TeaModel {
@NameInMap("constParams")
public java.util.Map constParams;
@NameInMap("dynamicDataSourceId")
public String dynamicDataSourceId;
@NameInMap("pullConfig")
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig pullConfig;
public static CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigs build(java.util.Map map) throws Exception {
CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigs self = new CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigs();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigs setConstParams(java.util.Map constParams) {
this.constParams = constParams;
return this;
}
public java.util.Map getConstParams() {
return this.constParams;
}
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigs setDynamicDataSourceId(String dynamicDataSourceId) {
this.dynamicDataSourceId = dynamicDataSourceId;
return this;
}
public String getDynamicDataSourceId() {
return this.dynamicDataSourceId;
}
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigs setPullConfig(CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig pullConfig) {
this.pullConfig = pullConfig;
return this;
}
public CreateAndDeliverRequestOpenDynamicDataConfigDynamicDataSourceConfigsPullConfig getPullConfig() {
return this.pullConfig;
}
}
public static class CreateAndDeliverRequestOpenDynamicDataConfig extends TeaModel {
@NameInMap("dynamicDataSourceConfigs")
public java.util.List dynamicDataSourceConfigs;
public static CreateAndDeliverRequestOpenDynamicDataConfig build(java.util.Map map) throws Exception {
CreateAndDeliverRequestOpenDynamicDataConfig self = new CreateAndDeliverRequestOpenDynamicDataConfig();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestOpenDynamicDataConfig setDynamicDataSourceConfigs(java.util.List dynamicDataSourceConfigs) {
this.dynamicDataSourceConfigs = dynamicDataSourceConfigs;
return this;
}
public java.util.List getDynamicDataSourceConfigs() {
return this.dynamicDataSourceConfigs;
}
}
public static class CreateAndDeliverRequestTopOpenDeliverModel extends TeaModel {
/**
* example:
* 1665473229000
*/
@NameInMap("expiredTimeMillis")
public Long expiredTimeMillis;
@NameInMap("platforms")
public java.util.List platforms;
@NameInMap("userIds")
public java.util.List userIds;
public static CreateAndDeliverRequestTopOpenDeliverModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestTopOpenDeliverModel self = new CreateAndDeliverRequestTopOpenDeliverModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestTopOpenDeliverModel setExpiredTimeMillis(Long expiredTimeMillis) {
this.expiredTimeMillis = expiredTimeMillis;
return this;
}
public Long getExpiredTimeMillis() {
return this.expiredTimeMillis;
}
public CreateAndDeliverRequestTopOpenDeliverModel setPlatforms(java.util.List platforms) {
this.platforms = platforms;
return this;
}
public java.util.List getPlatforms() {
return this.platforms;
}
public CreateAndDeliverRequestTopOpenDeliverModel setUserIds(java.util.List userIds) {
this.userIds = userIds;
return this;
}
public java.util.List getUserIds() {
return this.userIds;
}
}
public static class CreateAndDeliverRequestTopOpenSpaceModel extends TeaModel {
/**
* example:
* ONE_BOX
*/
@NameInMap("spaceType")
public String spaceType;
public static CreateAndDeliverRequestTopOpenSpaceModel build(java.util.Map map) throws Exception {
CreateAndDeliverRequestTopOpenSpaceModel self = new CreateAndDeliverRequestTopOpenSpaceModel();
return TeaModel.build(map, self);
}
public CreateAndDeliverRequestTopOpenSpaceModel setSpaceType(String spaceType) {
this.spaceType = spaceType;
return this;
}
public String getSpaceType() {
return this.spaceType;
}
}
}