com.aliyun.dingtalkstorage_1_0.models.ListAllDentriesRequest 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.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class ListAllDentriesRequest extends TeaModel {
@NameInMap("option")
public ListAllDentriesRequestOption option;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("unionId")
public String unionId;
public static ListAllDentriesRequest build(java.util.Map map) throws Exception {
ListAllDentriesRequest self = new ListAllDentriesRequest();
return TeaModel.build(map, self);
}
public ListAllDentriesRequest setOption(ListAllDentriesRequestOption option) {
this.option = option;
return this;
}
public ListAllDentriesRequestOption getOption() {
return this.option;
}
public ListAllDentriesRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class ListAllDentriesRequestOption extends TeaModel {
/**
* example:
* 30
*/
@NameInMap("maxResults")
public Integer maxResults;
/**
* example:
* next_token
*/
@NameInMap("nextToken")
public String nextToken;
/**
* example:
* DESC
*/
@NameInMap("order")
public String order;
/**
* example:
* true
*/
@NameInMap("withThumbnail")
public Boolean withThumbnail;
public static ListAllDentriesRequestOption build(java.util.Map map) throws Exception {
ListAllDentriesRequestOption self = new ListAllDentriesRequestOption();
return TeaModel.build(map, self);
}
public ListAllDentriesRequestOption setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
public Integer getMaxResults() {
return this.maxResults;
}
public ListAllDentriesRequestOption setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
public ListAllDentriesRequestOption setOrder(String order) {
this.order = order;
return this;
}
public String getOrder() {
return this.order;
}
public ListAllDentriesRequestOption setWithThumbnail(Boolean withThumbnail) {
this.withThumbnail = withThumbnail;
return this;
}
public Boolean getWithThumbnail() {
return this.withThumbnail;
}
}
}