com.aliyun.dingtalkcard_1_0.models.AppendSpaceRequest 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 AppendSpaceRequest extends TeaModel {
@NameInMap("coFeedOpenSpaceModel")
public AppendSpaceRequestCoFeedOpenSpaceModel coFeedOpenSpaceModel;
@NameInMap("imGroupOpenSpaceModel")
public AppendSpaceRequestImGroupOpenSpaceModel imGroupOpenSpaceModel;
@NameInMap("imRobotOpenSpaceModel")
public AppendSpaceRequestImRobotOpenSpaceModel imRobotOpenSpaceModel;
/**
* This parameter is required.
*
* example:
* xxx_yyyy_123456
*/
@NameInMap("outTrackId")
public String outTrackId;
@NameInMap("topOpenSpaceModel")
public AppendSpaceRequestTopOpenSpaceModel topOpenSpaceModel;
public static AppendSpaceRequest build(java.util.Map map) throws Exception {
AppendSpaceRequest self = new AppendSpaceRequest();
return TeaModel.build(map, self);
}
public AppendSpaceRequest setCoFeedOpenSpaceModel(AppendSpaceRequestCoFeedOpenSpaceModel coFeedOpenSpaceModel) {
this.coFeedOpenSpaceModel = coFeedOpenSpaceModel;
return this;
}
public AppendSpaceRequestCoFeedOpenSpaceModel getCoFeedOpenSpaceModel() {
return this.coFeedOpenSpaceModel;
}
public AppendSpaceRequest setImGroupOpenSpaceModel(AppendSpaceRequestImGroupOpenSpaceModel imGroupOpenSpaceModel) {
this.imGroupOpenSpaceModel = imGroupOpenSpaceModel;
return this;
}
public AppendSpaceRequestImGroupOpenSpaceModel getImGroupOpenSpaceModel() {
return this.imGroupOpenSpaceModel;
}
public AppendSpaceRequest setImRobotOpenSpaceModel(AppendSpaceRequestImRobotOpenSpaceModel imRobotOpenSpaceModel) {
this.imRobotOpenSpaceModel = imRobotOpenSpaceModel;
return this;
}
public AppendSpaceRequestImRobotOpenSpaceModel getImRobotOpenSpaceModel() {
return this.imRobotOpenSpaceModel;
}
public AppendSpaceRequest setOutTrackId(String outTrackId) {
this.outTrackId = outTrackId;
return this;
}
public String getOutTrackId() {
return this.outTrackId;
}
public AppendSpaceRequest setTopOpenSpaceModel(AppendSpaceRequestTopOpenSpaceModel topOpenSpaceModel) {
this.topOpenSpaceModel = topOpenSpaceModel;
return this;
}
public AppendSpaceRequestTopOpenSpaceModel getTopOpenSpaceModel() {
return this.topOpenSpaceModel;
}
public static class AppendSpaceRequestCoFeedOpenSpaceModel extends TeaModel {
/**
* example:
* xxxx卡片
*/
@NameInMap("title")
public String title;
public static AppendSpaceRequestCoFeedOpenSpaceModel build(java.util.Map map) throws Exception {
AppendSpaceRequestCoFeedOpenSpaceModel self = new AppendSpaceRequestCoFeedOpenSpaceModel();
return TeaModel.build(map, self);
}
public AppendSpaceRequestCoFeedOpenSpaceModel setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
public static class AppendSpaceRequestImGroupOpenSpaceModelNotification extends TeaModel {
/**
* example:
* 你收到了一个卡片消息
*/
@NameInMap("alertContent")
public String alertContent;
@NameInMap("notificationOff")
public Boolean notificationOff;
public static AppendSpaceRequestImGroupOpenSpaceModelNotification build(java.util.Map map) throws Exception {
AppendSpaceRequestImGroupOpenSpaceModelNotification self = new AppendSpaceRequestImGroupOpenSpaceModelNotification();
return TeaModel.build(map, self);
}
public AppendSpaceRequestImGroupOpenSpaceModelNotification setAlertContent(String alertContent) {
this.alertContent = alertContent;
return this;
}
public String getAlertContent() {
return this.alertContent;
}
public AppendSpaceRequestImGroupOpenSpaceModelNotification setNotificationOff(Boolean notificationOff) {
this.notificationOff = notificationOff;
return this;
}
public Boolean getNotificationOff() {
return this.notificationOff;
}
}
public static class AppendSpaceRequestImGroupOpenSpaceModelSearchSupport 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 AppendSpaceRequestImGroupOpenSpaceModelSearchSupport build(java.util.Map map) throws Exception {
AppendSpaceRequestImGroupOpenSpaceModelSearchSupport self = new AppendSpaceRequestImGroupOpenSpaceModelSearchSupport();
return TeaModel.build(map, self);
}
public AppendSpaceRequestImGroupOpenSpaceModelSearchSupport setSearchDesc(String searchDesc) {
this.searchDesc = searchDesc;
return this;
}
public String getSearchDesc() {
return this.searchDesc;
}
public AppendSpaceRequestImGroupOpenSpaceModelSearchSupport setSearchIcon(String searchIcon) {
this.searchIcon = searchIcon;
return this;
}
public String getSearchIcon() {
return this.searchIcon;
}
public AppendSpaceRequestImGroupOpenSpaceModelSearchSupport setSearchTypeName(String searchTypeName) {
this.searchTypeName = searchTypeName;
return this;
}
public String getSearchTypeName() {
return this.searchTypeName;
}
}
public static class AppendSpaceRequestImGroupOpenSpaceModel extends TeaModel {
@NameInMap("lastMessageI18n")
public java.util.Map lastMessageI18n;
@NameInMap("notification")
public AppendSpaceRequestImGroupOpenSpaceModelNotification notification;
@NameInMap("searchSupport")
public AppendSpaceRequestImGroupOpenSpaceModelSearchSupport searchSupport;
@NameInMap("supportForward")
public Boolean supportForward;
public static AppendSpaceRequestImGroupOpenSpaceModel build(java.util.Map map) throws Exception {
AppendSpaceRequestImGroupOpenSpaceModel self = new AppendSpaceRequestImGroupOpenSpaceModel();
return TeaModel.build(map, self);
}
public AppendSpaceRequestImGroupOpenSpaceModel setLastMessageI18n(java.util.Map lastMessageI18n) {
this.lastMessageI18n = lastMessageI18n;
return this;
}
public java.util.Map getLastMessageI18n() {
return this.lastMessageI18n;
}
public AppendSpaceRequestImGroupOpenSpaceModel setNotification(AppendSpaceRequestImGroupOpenSpaceModelNotification notification) {
this.notification = notification;
return this;
}
public AppendSpaceRequestImGroupOpenSpaceModelNotification getNotification() {
return this.notification;
}
public AppendSpaceRequestImGroupOpenSpaceModel setSearchSupport(AppendSpaceRequestImGroupOpenSpaceModelSearchSupport searchSupport) {
this.searchSupport = searchSupport;
return this;
}
public AppendSpaceRequestImGroupOpenSpaceModelSearchSupport getSearchSupport() {
return this.searchSupport;
}
public AppendSpaceRequestImGroupOpenSpaceModel setSupportForward(Boolean supportForward) {
this.supportForward = supportForward;
return this;
}
public Boolean getSupportForward() {
return this.supportForward;
}
}
public static class AppendSpaceRequestImRobotOpenSpaceModelNotification extends TeaModel {
/**
* example:
* 你收到了一个卡片消息
*/
@NameInMap("alertContent")
public String alertContent;
@NameInMap("notificationOff")
public Boolean notificationOff;
public static AppendSpaceRequestImRobotOpenSpaceModelNotification build(java.util.Map map) throws Exception {
AppendSpaceRequestImRobotOpenSpaceModelNotification self = new AppendSpaceRequestImRobotOpenSpaceModelNotification();
return TeaModel.build(map, self);
}
public AppendSpaceRequestImRobotOpenSpaceModelNotification setAlertContent(String alertContent) {
this.alertContent = alertContent;
return this;
}
public String getAlertContent() {
return this.alertContent;
}
public AppendSpaceRequestImRobotOpenSpaceModelNotification setNotificationOff(Boolean notificationOff) {
this.notificationOff = notificationOff;
return this;
}
public Boolean getNotificationOff() {
return this.notificationOff;
}
}
public static class AppendSpaceRequestImRobotOpenSpaceModelSearchSupport 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 AppendSpaceRequestImRobotOpenSpaceModelSearchSupport build(java.util.Map map) throws Exception {
AppendSpaceRequestImRobotOpenSpaceModelSearchSupport self = new AppendSpaceRequestImRobotOpenSpaceModelSearchSupport();
return TeaModel.build(map, self);
}
public AppendSpaceRequestImRobotOpenSpaceModelSearchSupport setSearchDesc(String searchDesc) {
this.searchDesc = searchDesc;
return this;
}
public String getSearchDesc() {
return this.searchDesc;
}
public AppendSpaceRequestImRobotOpenSpaceModelSearchSupport setSearchIcon(String searchIcon) {
this.searchIcon = searchIcon;
return this;
}
public String getSearchIcon() {
return this.searchIcon;
}
public AppendSpaceRequestImRobotOpenSpaceModelSearchSupport setSearchTypeName(String searchTypeName) {
this.searchTypeName = searchTypeName;
return this;
}
public String getSearchTypeName() {
return this.searchTypeName;
}
}
public static class AppendSpaceRequestImRobotOpenSpaceModel extends TeaModel {
@NameInMap("lastMessageI18n")
public java.util.Map lastMessageI18n;
@NameInMap("notification")
public AppendSpaceRequestImRobotOpenSpaceModelNotification notification;
@NameInMap("searchSupport")
public AppendSpaceRequestImRobotOpenSpaceModelSearchSupport searchSupport;
@NameInMap("supportForward")
public Boolean supportForward;
public static AppendSpaceRequestImRobotOpenSpaceModel build(java.util.Map map) throws Exception {
AppendSpaceRequestImRobotOpenSpaceModel self = new AppendSpaceRequestImRobotOpenSpaceModel();
return TeaModel.build(map, self);
}
public AppendSpaceRequestImRobotOpenSpaceModel setLastMessageI18n(java.util.Map lastMessageI18n) {
this.lastMessageI18n = lastMessageI18n;
return this;
}
public java.util.Map getLastMessageI18n() {
return this.lastMessageI18n;
}
public AppendSpaceRequestImRobotOpenSpaceModel setNotification(AppendSpaceRequestImRobotOpenSpaceModelNotification notification) {
this.notification = notification;
return this;
}
public AppendSpaceRequestImRobotOpenSpaceModelNotification getNotification() {
return this.notification;
}
public AppendSpaceRequestImRobotOpenSpaceModel setSearchSupport(AppendSpaceRequestImRobotOpenSpaceModelSearchSupport searchSupport) {
this.searchSupport = searchSupport;
return this;
}
public AppendSpaceRequestImRobotOpenSpaceModelSearchSupport getSearchSupport() {
return this.searchSupport;
}
public AppendSpaceRequestImRobotOpenSpaceModel setSupportForward(Boolean supportForward) {
this.supportForward = supportForward;
return this;
}
public Boolean getSupportForward() {
return this.supportForward;
}
}
public static class AppendSpaceRequestTopOpenSpaceModel extends TeaModel {
/**
* example:
* ONE_BOX
*/
@NameInMap("spaceType")
public String spaceType;
public static AppendSpaceRequestTopOpenSpaceModel build(java.util.Map map) throws Exception {
AppendSpaceRequestTopOpenSpaceModel self = new AppendSpaceRequestTopOpenSpaceModel();
return TeaModel.build(map, self);
}
public AppendSpaceRequestTopOpenSpaceModel setSpaceType(String spaceType) {
this.spaceType = spaceType;
return this;
}
public String getSpaceType() {
return this.spaceType;
}
}
}