com.aliyun.dingtalkproject_1_0.models.CreateTaskObjectLinkRequest 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.dingtalkproject_1_0.models;
import com.aliyun.tea.*;
public class CreateTaskObjectLinkRequest extends TeaModel {
@NameInMap("linkedData")
public CreateTaskObjectLinkRequestLinkedData linkedData;
public static CreateTaskObjectLinkRequest build(java.util.Map map) throws Exception {
CreateTaskObjectLinkRequest self = new CreateTaskObjectLinkRequest();
return TeaModel.build(map, self);
}
public CreateTaskObjectLinkRequest setLinkedData(CreateTaskObjectLinkRequestLinkedData linkedData) {
this.linkedData = linkedData;
return this;
}
public CreateTaskObjectLinkRequestLinkedData getLinkedData() {
return this.linkedData;
}
public static class CreateTaskObjectLinkRequestLinkedData extends TeaModel {
/**
* example:
* 我是内容
*/
@NameInMap("content")
public String content;
/**
* example:
*
*/
@NameInMap("thumbnailUrl")
public String thumbnailUrl;
/**
* This parameter is required.
*
* example:
* 我是标题
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("url")
public String url;
public static CreateTaskObjectLinkRequestLinkedData build(java.util.Map map) throws Exception {
CreateTaskObjectLinkRequestLinkedData self = new CreateTaskObjectLinkRequestLinkedData();
return TeaModel.build(map, self);
}
public CreateTaskObjectLinkRequestLinkedData setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public CreateTaskObjectLinkRequestLinkedData setThumbnailUrl(String thumbnailUrl) {
this.thumbnailUrl = thumbnailUrl;
return this;
}
public String getThumbnailUrl() {
return this.thumbnailUrl;
}
public CreateTaskObjectLinkRequestLinkedData setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public CreateTaskObjectLinkRequestLinkedData setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
}