com.aliyun.dingtalkdevicemng_1_0.models.SendCardRequest 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.dingtalkdevicemng_1_0.models;
import com.aliyun.tea.*;
public class SendCardRequest extends TeaModel {
/**
* example:
* biz-xxxxx
*/
@NameInMap("bizId")
public String bizId;
/**
* This parameter is required.
*
* example:
* {"var1":"xxx","var2":"xxx"}
*/
@NameInMap("cardData")
public String cardData;
/**
* example:
* xxxxceshi_1
*/
@NameInMap("deviceCode")
public String deviceCode;
/**
* example:
* Device-3bb10262-31f9-494f-9fde-0a910b8exxxx
*/
@NameInMap("deviceUuid")
public String deviceUuid;
/**
* example:
* cide+m5TmAcxA3OU6Un59xxxx==
*/
@NameInMap("openConversationId")
public String openConversationId;
@NameInMap("partVisible")
public Boolean partVisible;
@NameInMap("receivers")
public java.util.List receivers;
/**
* This parameter is required.
*
* example:
* abcxxxxxxxx
*/
@NameInMap("templateId")
public String templateId;
@NameInMap("topbox")
public Boolean topbox;
/**
* example:
* 0123459456
*/
@NameInMap("userId")
public String userId;
public static SendCardRequest build(java.util.Map map) throws Exception {
SendCardRequest self = new SendCardRequest();
return TeaModel.build(map, self);
}
public SendCardRequest setBizId(String bizId) {
this.bizId = bizId;
return this;
}
public String getBizId() {
return this.bizId;
}
public SendCardRequest setCardData(String cardData) {
this.cardData = cardData;
return this;
}
public String getCardData() {
return this.cardData;
}
public SendCardRequest setDeviceCode(String deviceCode) {
this.deviceCode = deviceCode;
return this;
}
public String getDeviceCode() {
return this.deviceCode;
}
public SendCardRequest setDeviceUuid(String deviceUuid) {
this.deviceUuid = deviceUuid;
return this;
}
public String getDeviceUuid() {
return this.deviceUuid;
}
public SendCardRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public SendCardRequest setPartVisible(Boolean partVisible) {
this.partVisible = partVisible;
return this;
}
public Boolean getPartVisible() {
return this.partVisible;
}
public SendCardRequest setReceivers(java.util.List receivers) {
this.receivers = receivers;
return this;
}
public java.util.List getReceivers() {
return this.receivers;
}
public SendCardRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public SendCardRequest setTopbox(Boolean topbox) {
this.topbox = topbox;
return this;
}
public Boolean getTopbox() {
return this.topbox;
}
public SendCardRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}