com.aliyun.dingtalkdoc_2_0.models.LinkSourceInfo 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.dingtalkdoc_2_0.models;
import com.aliyun.tea.*;
public class LinkSourceInfo extends TeaModel {
/**
* example:
* docx
*/
@NameInMap("extension")
public String extension;
@NameInMap("iconUrl")
public LinkSourceInfoIconUrl iconUrl;
/**
* example:
* abc
*/
@NameInMap("id")
public String id;
/**
* example:
* 0
*/
@NameInMap("linkType")
public Long linkType;
/**
* example:
* def
*/
@NameInMap("spaceId")
public String spaceId;
public static LinkSourceInfo build(java.util.Map map) throws Exception {
LinkSourceInfo self = new LinkSourceInfo();
return TeaModel.build(map, self);
}
public LinkSourceInfo setExtension(String extension) {
this.extension = extension;
return this;
}
public String getExtension() {
return this.extension;
}
public LinkSourceInfo setIconUrl(LinkSourceInfoIconUrl iconUrl) {
this.iconUrl = iconUrl;
return this;
}
public LinkSourceInfoIconUrl getIconUrl() {
return this.iconUrl;
}
public LinkSourceInfo setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public LinkSourceInfo setLinkType(Long linkType) {
this.linkType = linkType;
return this;
}
public Long getLinkType() {
return this.linkType;
}
public LinkSourceInfo setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public static class LinkSourceInfoIconUrl extends TeaModel {
/**
* example:
* gh
*/
@NameInMap("line")
public String line;
/**
* example:
* def
*/
@NameInMap("small")
public String small;
public static LinkSourceInfoIconUrl build(java.util.Map map) throws Exception {
LinkSourceInfoIconUrl self = new LinkSourceInfoIconUrl();
return TeaModel.build(map, self);
}
public LinkSourceInfoIconUrl setLine(String line) {
this.line = line;
return this;
}
public String getLine() {
return this.line;
}
public LinkSourceInfoIconUrl setSmall(String small) {
this.small = small;
return this;
}
public String getSmall() {
return this.small;
}
}
}