| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
Post |
build() |
Post.Builder |
categoryIds(String[] categoryIds)
帖子所属板块
示例值:
|
Post.Builder |
cid(String cid)
创建帖子时去重用
示例值:"generate-a-uuid-here"
|
Post.Builder |
commentCount(Integer commentCount)
评论数
示例值:1
|
Post.Builder |
content(String content)
帖子内容
示例值:[[{\"tag\":\"text\",\"text\":\"豪华中型车…………\"},{\"tag\":\"a\",\"text\":\"查看原文\",\"href\":\"https://www.autohome.com.cn/advice/202204/1244455.html\"}]]
|
Post.Builder |
createTime(String createTime)
帖子创建时间,格式 rfc3339,;e.g. "2006-01-02T15:04:05Z07:00"
示例值:2022-05-23T00:00:00+08:00
|
Post.Builder |
dislikeCount(Integer dislikeCount)
点踩数量
示例值:0
|
Post.Builder |
id(String id)
帖子ID
示例值:6934510454161014804
|
Post.Builder |
imageKeyList(String[] imageKeyList)
图片的 key列表(暂不支持下载)
示例值:
|
Post.Builder |
link(String link)
帖子链接
示例值:https://applink.feishu.cn/client/moments/detail?
|
Post.Builder |
mediaCoverImageKey(String mediaCoverImageKey)
视频封面图片(暂未使用)
示例值:该字段暂不支持使用
|
Post.Builder |
mediaFileToken(String mediaFileToken)
媒体文件的 token(暂未使用)
示例值:该字段暂不支持使用
|
Post.Builder |
reactionSet(ReactionSet reactionSet)
帖子的 reaction及其数量
示例值:
|
Post.Builder |
userId(String userId)
发帖用户ID(类型为请求中传入的类型,仅实名下有值)
示例值:ou_xxxxx
|
Post.Builder |
userType(Integer userType)
发帖人类型
示例值:1
|
Post.Builder |
userType(PostUserTypeEnum userType)
发帖人类型
示例值:1
|
public Post.Builder userId(String userId)
示例值:ou_xxxxx
userId - public Post.Builder content(String content)
示例值:[[{\"tag\":\"text\",\"text\":\"豪华中型车…………\"},{\"tag\":\"a\",\"text\":\"查看原文\",\"href\":\"https://www.autohome.com.cn/advice/202204/1244455.html\"}]]
content - public Post.Builder imageKeyList(String[] imageKeyList)
示例值:
imageKeyList - public Post.Builder mediaFileToken(String mediaFileToken)
示例值:该字段暂不支持使用
mediaFileToken - public Post.Builder commentCount(Integer commentCount)
示例值:1
commentCount - public Post.Builder reactionSet(ReactionSet reactionSet)
示例值:
reactionSet - public Post.Builder id(String id)
示例值:6934510454161014804
id - public Post.Builder createTime(String createTime)
示例值:2022-05-23T00:00:00+08:00
createTime - public Post.Builder mediaCoverImageKey(String mediaCoverImageKey)
示例值:该字段暂不支持使用
mediaCoverImageKey - public Post.Builder cid(String cid)
示例值:"generate-a-uuid-here"
cid - public Post.Builder categoryIds(String[] categoryIds)
示例值:
categoryIds - public Post.Builder link(String link)
示例值:https://applink.feishu.cn/client/moments/detail?postId=6934510454161014804
link - public Post.Builder userType(Integer userType)
示例值:1
userType - public Post.Builder userType(PostUserTypeEnum userType)
示例值:1
userType - PostUserTypeEnumpublic Post.Builder dislikeCount(Integer dislikeCount)
示例值:0
dislikeCount - public Post build()
Copyright © 2026. All rights reserved.