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

com.aliyun.dingtalkcrm_1_0.models.ServiceWindowMessageBatchPushRequest 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.dingtalkcrm_1_0.models;

import com.aliyun.tea.*;

public class ServiceWindowMessageBatchPushRequest extends TeaModel {
    /**
     * if can be null:
     * 

true

*/ @NameInMap("bizId") public String bizId; /** *

This parameter is required.

*/ @NameInMap("detail") public ServiceWindowMessageBatchPushRequestDetail detail; public static ServiceWindowMessageBatchPushRequest build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequest self = new ServiceWindowMessageBatchPushRequest(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequest setBizId(String bizId) { this.bizId = bizId; return this; } public String getBizId() { return this.bizId; } public ServiceWindowMessageBatchPushRequest setDetail(ServiceWindowMessageBatchPushRequestDetail detail) { this.detail = detail; return this; } public ServiceWindowMessageBatchPushRequestDetail getDetail() { return this.detail; } public static class ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCardButtonList extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("actionUrl") public String actionUrl; /** *

This parameter is required.

*/ @NameInMap("title") public String title; public static ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCardButtonList build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCardButtonList self = new ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCardButtonList(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCardButtonList setActionUrl(String actionUrl) { this.actionUrl = actionUrl; return this; } public String getActionUrl() { return this.actionUrl; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCardButtonList setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } public static class ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard extends TeaModel { @NameInMap("buttonList") public java.util.List buttonList; @NameInMap("buttonOrientation") public String buttonOrientation; @NameInMap("markdown") public String markdown; @NameInMap("singleTitle") public String singleTitle; @NameInMap("singleUrl") public String singleUrl; @NameInMap("title") public String title; public static ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard self = new ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard setButtonList(java.util.List buttonList) { this.buttonList = buttonList; return this; } public java.util.List getButtonList() { return this.buttonList; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard setButtonOrientation(String buttonOrientation) { this.buttonOrientation = buttonOrientation; return this; } public String getButtonOrientation() { return this.buttonOrientation; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard setMarkdown(String markdown) { this.markdown = markdown; return this; } public String getMarkdown() { return this.markdown; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard setSingleTitle(String singleTitle) { this.singleTitle = singleTitle; return this; } public String getSingleTitle() { return this.singleTitle; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard setSingleUrl(String singleUrl) { this.singleUrl = singleUrl; return this; } public String getSingleUrl() { return this.singleUrl; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } public static class ServiceWindowMessageBatchPushRequestDetailMessageBodyLink extends TeaModel { @NameInMap("messageUrl") public String messageUrl; @NameInMap("picUrl") public String picUrl; @NameInMap("text") public String text; @NameInMap("title") public String title; public static ServiceWindowMessageBatchPushRequestDetailMessageBodyLink build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequestDetailMessageBodyLink self = new ServiceWindowMessageBatchPushRequestDetailMessageBodyLink(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequestDetailMessageBodyLink setMessageUrl(String messageUrl) { this.messageUrl = messageUrl; return this; } public String getMessageUrl() { return this.messageUrl; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyLink setPicUrl(String picUrl) { this.picUrl = picUrl; return this; } public String getPicUrl() { return this.picUrl; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyLink setText(String text) { this.text = text; return this; } public String getText() { return this.text; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyLink setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } public static class ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("text") public String text; /** *

This parameter is required.

*/ @NameInMap("title") public String title; public static ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown self = new ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown setText(String text) { this.text = text; return this; } public String getText() { return this.text; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } public static class ServiceWindowMessageBatchPushRequestDetailMessageBodyText extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("content") public String content; public static ServiceWindowMessageBatchPushRequestDetailMessageBodyText build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequestDetailMessageBodyText self = new ServiceWindowMessageBatchPushRequestDetailMessageBodyText(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequestDetailMessageBodyText setContent(String content) { this.content = content; return this; } public String getContent() { return this.content; } } public static class ServiceWindowMessageBatchPushRequestDetailMessageBody extends TeaModel { @NameInMap("actionCard") public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard actionCard; @NameInMap("link") public ServiceWindowMessageBatchPushRequestDetailMessageBodyLink link; @NameInMap("markdown") public ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown markdown; @NameInMap("text") public ServiceWindowMessageBatchPushRequestDetailMessageBodyText text; public static ServiceWindowMessageBatchPushRequestDetailMessageBody build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequestDetailMessageBody self = new ServiceWindowMessageBatchPushRequestDetailMessageBody(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequestDetailMessageBody setActionCard(ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard actionCard) { this.actionCard = actionCard; return this; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyActionCard getActionCard() { return this.actionCard; } public ServiceWindowMessageBatchPushRequestDetailMessageBody setLink(ServiceWindowMessageBatchPushRequestDetailMessageBodyLink link) { this.link = link; return this; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyLink getLink() { return this.link; } public ServiceWindowMessageBatchPushRequestDetailMessageBody setMarkdown(ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown markdown) { this.markdown = markdown; return this; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyMarkdown getMarkdown() { return this.markdown; } public ServiceWindowMessageBatchPushRequestDetailMessageBody setText(ServiceWindowMessageBatchPushRequestDetailMessageBodyText text) { this.text = text; return this; } public ServiceWindowMessageBatchPushRequestDetailMessageBodyText getText() { return this.text; } } public static class ServiceWindowMessageBatchPushRequestDetail extends TeaModel { /** * if can be null: *

false

*/ @NameInMap("bizRequestId") public String bizRequestId; /** *

This parameter is required.

*/ @NameInMap("messageBody") public ServiceWindowMessageBatchPushRequestDetailMessageBody messageBody; /** *

This parameter is required.

* * if can be null: *

true

*/ @NameInMap("msgType") public String msgType; @NameInMap("sendToAll") public Boolean sendToAll; /** *

This parameter is required.

*/ @NameInMap("userIdList") public java.util.List userIdList; /** *

This parameter is required.

* * if can be null: *

true

*/ @NameInMap("uuid") public String uuid; public static ServiceWindowMessageBatchPushRequestDetail build(java.util.Map map) throws Exception { ServiceWindowMessageBatchPushRequestDetail self = new ServiceWindowMessageBatchPushRequestDetail(); return TeaModel.build(map, self); } public ServiceWindowMessageBatchPushRequestDetail setBizRequestId(String bizRequestId) { this.bizRequestId = bizRequestId; return this; } public String getBizRequestId() { return this.bizRequestId; } public ServiceWindowMessageBatchPushRequestDetail setMessageBody(ServiceWindowMessageBatchPushRequestDetailMessageBody messageBody) { this.messageBody = messageBody; return this; } public ServiceWindowMessageBatchPushRequestDetailMessageBody getMessageBody() { return this.messageBody; } public ServiceWindowMessageBatchPushRequestDetail setMsgType(String msgType) { this.msgType = msgType; return this; } public String getMsgType() { return this.msgType; } public ServiceWindowMessageBatchPushRequestDetail setSendToAll(Boolean sendToAll) { this.sendToAll = sendToAll; return this; } public Boolean getSendToAll() { return this.sendToAll; } public ServiceWindowMessageBatchPushRequestDetail setUserIdList(java.util.List userIdList) { this.userIdList = userIdList; return this; } public java.util.List getUserIdList() { return this.userIdList; } public ServiceWindowMessageBatchPushRequestDetail setUuid(String uuid) { this.uuid = uuid; return this; } public String getUuid() { return this.uuid; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy