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

com.aliyun.dingtalkproject_1_0.models.CreateTaskObjectLinkRequest Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// 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 {
        // 关联对象描述
        @NameInMap("content")
        public String content;

        // 关联对象头像url
        @NameInMap("thumbnailUrl")
        public String thumbnailUrl;

        // 关联对象标题
        @NameInMap("title")
        public String title;

        // 关联对象链接url
        @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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy