com.aliyun.dingtalkagoal_1_0.models.AgoalSendMessageRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkagoal_1_0.models;
import com.aliyun.tea.*;
public class AgoalSendMessageRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("mobileUrl")
public String mobileUrl;
/**
* This parameter is required.
*
* example:
* {"A":"a", "B":"b"}
*/
@NameInMap("params")
public String params;
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("pcUrl")
public String pcUrl;
/**
* This parameter is required.
*
* example:
* 211042291978xxxx
*/
@NameInMap("sourceDingUserId")
public String sourceDingUserId;
/**
* This parameter is required.
*/
@NameInMap("targetDingUserIds")
public java.util.List targetDingUserIds;
/**
* This parameter is required.
*
* example:
* 1d01a14febc7482ca3b6e1d30cf5xxxx
*/
@NameInMap("templateId")
public String templateId;
public static AgoalSendMessageRequest build(java.util.Map map) throws Exception {
AgoalSendMessageRequest self = new AgoalSendMessageRequest();
return TeaModel.build(map, self);
}
public AgoalSendMessageRequest setMobileUrl(String mobileUrl) {
this.mobileUrl = mobileUrl;
return this;
}
public String getMobileUrl() {
return this.mobileUrl;
}
public AgoalSendMessageRequest setParams(String params) {
this.params = params;
return this;
}
public String getParams() {
return this.params;
}
public AgoalSendMessageRequest setPcUrl(String pcUrl) {
this.pcUrl = pcUrl;
return this;
}
public String getPcUrl() {
return this.pcUrl;
}
public AgoalSendMessageRequest setSourceDingUserId(String sourceDingUserId) {
this.sourceDingUserId = sourceDingUserId;
return this;
}
public String getSourceDingUserId() {
return this.sourceDingUserId;
}
public AgoalSendMessageRequest setTargetDingUserIds(java.util.List targetDingUserIds) {
this.targetDingUserIds = targetDingUserIds;
return this;
}
public java.util.List getTargetDingUserIds() {
return this.targetDingUserIds;
}
public AgoalSendMessageRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
}