com.aliyun.dingtalkcontent_1_0.models.PageFeedRequest 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.dingtalkcontent_1_0.models;
import com.aliyun.tea.*;
public class PageFeedRequest extends TeaModel {
// 内容Id,如果传入该参数,表示仅筛选内容Id出现在本列表中的内容
@NameInMap("body")
public java.util.List body;
// 分页参数:页面展示数量
@NameInMap("maxResults")
public Integer maxResults;
// 入驻账号Id(请联系钉钉接口同学获取)
@NameInMap("mcnId")
public String mcnId;
// 分页参数:起始位置,初始值应为0,后续传入返回值中的nextCursor字段中的值
@NameInMap("nextToken")
public Integer nextToken;
public static PageFeedRequest build(java.util.Map map) throws Exception {
PageFeedRequest self = new PageFeedRequest();
return TeaModel.build(map, self);
}
public PageFeedRequest setBody(java.util.List body) {
this.body = body;
return this;
}
public java.util.List getBody() {
return this.body;
}
public PageFeedRequest setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
public Integer getMaxResults() {
return this.maxResults;
}
public PageFeedRequest setMcnId(String mcnId) {
this.mcnId = mcnId;
return this;
}
public String getMcnId() {
return this.mcnId;
}
public PageFeedRequest setNextToken(Integer nextToken) {
this.nextToken = nextToken;
return this;
}
public Integer getNextToken() {
return this.nextToken;
}
}