com.aliyun.dingtalkstorage_1_0.models.GetDentryThumbnailsResponseBody 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.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class GetDentryThumbnailsResponseBody extends TeaModel {
@NameInMap("resultItems")
public java.util.List resultItems;
public static GetDentryThumbnailsResponseBody build(java.util.Map map) throws Exception {
GetDentryThumbnailsResponseBody self = new GetDentryThumbnailsResponseBody();
return TeaModel.build(map, self);
}
public GetDentryThumbnailsResponseBody setResultItems(java.util.List resultItems) {
this.resultItems = resultItems;
return this;
}
public java.util.List getResultItems() {
return this.resultItems;
}
public static class GetDentryThumbnailsResponseBodyResultItemsThumbnail extends TeaModel {
/**
* example:
* 64
*/
@NameInMap("height")
public Integer height;
/**
* example:
* url
*/
@NameInMap("url")
public String url;
/**
* example:
* 64
*/
@NameInMap("width")
public Integer width;
public static GetDentryThumbnailsResponseBodyResultItemsThumbnail build(java.util.Map map) throws Exception {
GetDentryThumbnailsResponseBodyResultItemsThumbnail self = new GetDentryThumbnailsResponseBodyResultItemsThumbnail();
return TeaModel.build(map, self);
}
public GetDentryThumbnailsResponseBodyResultItemsThumbnail setHeight(Integer height) {
this.height = height;
return this;
}
public Integer getHeight() {
return this.height;
}
public GetDentryThumbnailsResponseBodyResultItemsThumbnail setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
public GetDentryThumbnailsResponseBodyResultItemsThumbnail setWidth(Integer width) {
this.width = width;
return this;
}
public Integer getWidth() {
return this.width;
}
}
public static class GetDentryThumbnailsResponseBodyResultItems extends TeaModel {
/**
* example:
* dentry_id
*/
@NameInMap("dentryId")
public String dentryId;
/**
* example:
* permissionDenied
*/
@NameInMap("errorCode")
public String errorCode;
/**
* example:
* space_id
*/
@NameInMap("spaceId")
public String spaceId;
/**
* example:
* true
*/
@NameInMap("success")
public Boolean success;
@NameInMap("thumbnail")
public GetDentryThumbnailsResponseBodyResultItemsThumbnail thumbnail;
public static GetDentryThumbnailsResponseBodyResultItems build(java.util.Map map) throws Exception {
GetDentryThumbnailsResponseBodyResultItems self = new GetDentryThumbnailsResponseBodyResultItems();
return TeaModel.build(map, self);
}
public GetDentryThumbnailsResponseBodyResultItems setDentryId(String dentryId) {
this.dentryId = dentryId;
return this;
}
public String getDentryId() {
return this.dentryId;
}
public GetDentryThumbnailsResponseBodyResultItems setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public GetDentryThumbnailsResponseBodyResultItems setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public GetDentryThumbnailsResponseBodyResultItems setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public GetDentryThumbnailsResponseBodyResultItems setThumbnail(GetDentryThumbnailsResponseBodyResultItemsThumbnail thumbnail) {
this.thumbnail = thumbnail;
return this;
}
public GetDentryThumbnailsResponseBodyResultItemsThumbnail getThumbnail() {
return this.thumbnail;
}
}
}