com.aliyun.dingtalkcontent_1_0.models.GetFeedResponseBody 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 GetFeedResponseBody extends TeaModel {
/**
* This parameter is required.
*
* example:
* 3d******-1cd2--ba1d-8**3c6dc
*/
@NameInMap("feedId")
public String feedId;
/**
* This parameter is required.
*/
@NameInMap("feedItem")
public java.util.List feedItem;
public static GetFeedResponseBody build(java.util.Map map) throws Exception {
GetFeedResponseBody self = new GetFeedResponseBody();
return TeaModel.build(map, self);
}
public GetFeedResponseBody setFeedId(String feedId) {
this.feedId = feedId;
return this;
}
public String getFeedId() {
return this.feedId;
}
public GetFeedResponseBody setFeedItem(java.util.List feedItem) {
this.feedItem = feedItem;
return this;
}
public java.util.List getFeedItem() {
return this.feedItem;
}
public static class GetFeedResponseBodyFeedItem extends TeaModel {
/**
* This parameter is required.
*
* example:
* 9320
*/
@NameInMap("durationMillis")
public Long durationMillis;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("feedContentType")
public Integer feedContentType;
/**
* This parameter is required.
*
* example:
* 08b5-2442--bd56-99cf****8861
*/
@NameInMap("itemId")
public String itemId;
/**
* This parameter is required.
*
* example:
* 子内容标题
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
*
*/
@NameInMap("url")
public String url;
public static GetFeedResponseBodyFeedItem build(java.util.Map map) throws Exception {
GetFeedResponseBodyFeedItem self = new GetFeedResponseBodyFeedItem();
return TeaModel.build(map, self);
}
public GetFeedResponseBodyFeedItem setDurationMillis(Long durationMillis) {
this.durationMillis = durationMillis;
return this;
}
public Long getDurationMillis() {
return this.durationMillis;
}
public GetFeedResponseBodyFeedItem setFeedContentType(Integer feedContentType) {
this.feedContentType = feedContentType;
return this;
}
public Integer getFeedContentType() {
return this.feedContentType;
}
public GetFeedResponseBodyFeedItem setItemId(String itemId) {
this.itemId = itemId;
return this;
}
public String getItemId() {
return this.itemId;
}
public GetFeedResponseBodyFeedItem setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public GetFeedResponseBodyFeedItem setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
}