com.aliyun.dingtalkedu_1_0.models.CardQueryCardFeedsResponseBody 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.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class CardQueryCardFeedsResponseBody extends TeaModel {
@NameInMap("result")
public CardQueryCardFeedsResponseBodyResult result;
@NameInMap("success")
public Boolean success;
public static CardQueryCardFeedsResponseBody build(java.util.Map map) throws Exception {
CardQueryCardFeedsResponseBody self = new CardQueryCardFeedsResponseBody();
return TeaModel.build(map, self);
}
public CardQueryCardFeedsResponseBody setResult(CardQueryCardFeedsResponseBodyResult result) {
this.result = result;
return this;
}
public CardQueryCardFeedsResponseBodyResult getResult() {
return this.result;
}
public CardQueryCardFeedsResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CardQueryCardFeedsResponseBodyResultPostsAuthor extends TeaModel {
/**
* example:
* 博澜爸爸
*/
@NameInMap("showName")
public String showName;
/**
* example:
* 234234234
*/
@NameInMap("userId")
public String userId;
/**
* example:
* guardian
*/
@NameInMap("userRole")
public String userRole;
public static CardQueryCardFeedsResponseBodyResultPostsAuthor build(java.util.Map map) throws Exception {
CardQueryCardFeedsResponseBodyResultPostsAuthor self = new CardQueryCardFeedsResponseBodyResultPostsAuthor();
return TeaModel.build(map, self);
}
public CardQueryCardFeedsResponseBodyResultPostsAuthor setShowName(String showName) {
this.showName = showName;
return this;
}
public String getShowName() {
return this.showName;
}
public CardQueryCardFeedsResponseBodyResultPostsAuthor setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public CardQueryCardFeedsResponseBodyResultPostsAuthor setUserRole(String userRole) {
this.userRole = userRole;
return this;
}
public String getUserRole() {
return this.userRole;
}
}
public static class CardQueryCardFeedsResponseBodyResultPostsContent extends TeaModel {
/**
* example:
* 0
*/
@NameInMap("contentType")
public Integer contentType;
/**
* example:
* {"cardEditRedirectDTO":{"jumpType":"internal"},"content":"测试","medias":"\"[{\\\"type\\\":\\\"image\\\",\\\"data\\\":{\\\"mediaUrl\\\":\\\"https://static.dingtalk.com/media/lQDPNDWzHQNv3fjNBQDNAlCwKIvuyoJrOfAFLEMmYrpsAA_592_1280.jpg\\\\\\\",\\\\\\\"thumbnailUrl\\\\\\\":\\\\\\\"https://static.dingtalk.com/media/lQDPNDWzHQNv3fjNBQDNAlCwKIvuyoJrOfAFLEMmYrpsAA_592_1280.jpg_200x200.jpg?bizType=edu_card\\\\\\\"}}]\\\"\",\"reissueCard\":false,\"resultEvaluation\":\"\",\"showName\":\"博澜爸爸\",\"sourceType\":\"\",\"studentId\":\"3000000000847390208\",\"unitOfMeasurement\":\"\"}
*/
@NameInMap("text")
public String text;
public static CardQueryCardFeedsResponseBodyResultPostsContent build(java.util.Map map) throws Exception {
CardQueryCardFeedsResponseBodyResultPostsContent self = new CardQueryCardFeedsResponseBodyResultPostsContent();
return TeaModel.build(map, self);
}
public CardQueryCardFeedsResponseBodyResultPostsContent setContentType(Integer contentType) {
this.contentType = contentType;
return this;
}
public Integer getContentType() {
return this.contentType;
}
public CardQueryCardFeedsResponseBodyResultPostsContent setText(String text) {
this.text = text;
return this;
}
public String getText() {
return this.text;
}
}
public static class CardQueryCardFeedsResponseBodyResultPosts extends TeaModel {
@NameInMap("author")
public CardQueryCardFeedsResponseBodyResultPostsAuthor author;
/**
* example:
* 3
*/
@NameInMap("bizType")
public Integer bizType;
@NameInMap("content")
public CardQueryCardFeedsResponseBodyResultPostsContent content;
/**
* example:
* 23424234234
*/
@NameInMap("createAt")
public Long createAt;
/**
* example:
* 0
*/
@NameInMap("feedType")
public Integer feedType;
/**
* example:
* 232423423
*/
@NameInMap("postId")
public Long postId;
/**
* example:
* 0
*/
@NameInMap("status")
public Integer status;
public static CardQueryCardFeedsResponseBodyResultPosts build(java.util.Map map) throws Exception {
CardQueryCardFeedsResponseBodyResultPosts self = new CardQueryCardFeedsResponseBodyResultPosts();
return TeaModel.build(map, self);
}
public CardQueryCardFeedsResponseBodyResultPosts setAuthor(CardQueryCardFeedsResponseBodyResultPostsAuthor author) {
this.author = author;
return this;
}
public CardQueryCardFeedsResponseBodyResultPostsAuthor getAuthor() {
return this.author;
}
public CardQueryCardFeedsResponseBodyResultPosts setBizType(Integer bizType) {
this.bizType = bizType;
return this;
}
public Integer getBizType() {
return this.bizType;
}
public CardQueryCardFeedsResponseBodyResultPosts setContent(CardQueryCardFeedsResponseBodyResultPostsContent content) {
this.content = content;
return this;
}
public CardQueryCardFeedsResponseBodyResultPostsContent getContent() {
return this.content;
}
public CardQueryCardFeedsResponseBodyResultPosts setCreateAt(Long createAt) {
this.createAt = createAt;
return this;
}
public Long getCreateAt() {
return this.createAt;
}
public CardQueryCardFeedsResponseBodyResultPosts setFeedType(Integer feedType) {
this.feedType = feedType;
return this;
}
public Integer getFeedType() {
return this.feedType;
}
public CardQueryCardFeedsResponseBodyResultPosts setPostId(Long postId) {
this.postId = postId;
return this;
}
public Long getPostId() {
return this.postId;
}
public CardQueryCardFeedsResponseBodyResultPosts setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
public static class CardQueryCardFeedsResponseBodyResult extends TeaModel {
@NameInMap("hasMore")
public Boolean hasMore;
@NameInMap("posts")
public java.util.List posts;
public static CardQueryCardFeedsResponseBodyResult build(java.util.Map map) throws Exception {
CardQueryCardFeedsResponseBodyResult self = new CardQueryCardFeedsResponseBodyResult();
return TeaModel.build(map, self);
}
public CardQueryCardFeedsResponseBodyResult setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public CardQueryCardFeedsResponseBodyResult setPosts(java.util.List posts) {
this.posts = posts;
return this;
}
public java.util.List getPosts() {
return this.posts;
}
}
}