public class DocItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
DocItem() |
DocItem(DocItem source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Get 作者
|
Long |
getAuthorFans()
Get 作者粉丝数
|
String |
getAuthorId()
Get 作者id
|
String |
getAuthorLevel()
Get 作者评级
|
Long |
getCategoryLevel()
Get 类目层级数,例如3级类目,则填3,和CategoryPath字段的类数据匹配
|
String |
getCategoryPath()
Get 类目路径,一级二级三级等依次用英文冒号联接,如体育:“足球:巴塞罗那”
|
String |
getCity()
Get 城市
|
Long |
getCollectCnt()
Get 内容累计收藏次数
|
Long |
getCommentCnt()
Get 内容累计评论次数
|
String |
getContent()
Get 内容正文
|
String |
getCountry()
Get 国家,统一用简写,比如中国则填写CN
|
String |
getDesc()
Get 内容物料描述:物料的描述信息,推荐系统会对内容的描述信息,使用否LP技术,进行分词、提取关键词,作为news的特征使用。
|
String |
getDistrict()
Get 区县
|
Long |
getExpireTimestamp()
Get 内容过期时间,秒级时间戳(1639624786),如未填,则默认PublishTimestamp往后延一年
|
String |
getExtension()
Get json字符串,用于物料数据的扩展
|
String |
getItemId()
Get 内容唯一id
|
Long |
getItemType()
Get 内容类型
|
String |
getKeyword()
Get 标签关键词,多个用英文分号分割
|
String[] |
getPicUrlList()
Get 图片url
|
String[] |
getPoolIdList()
Get 内容池id,用于分内容池召回,一个内容支持指定一个或多个内容池, 内容池id不建议使用0(0表示不区分内容池)
|
Long |
getPraiseCnt()
Get 内容累积点赞次数
|
String |
getProvince()
Get 省
|
Long |
getPublishTimestamp()
Get 内容生成时间,秒级时间戳(1639624786),需大于0
|
Long |
getRewardCnt()
Get 内容累积打赏数
|
Float |
getScore()
Get 内容质量评分,类似豆瓣电影的评分,这里为100分制,比如97分,满分100分,最低0分,范围外的将会被拦截
|
Long |
getShareCnt()
Get 内容累计分享次数
|
Long |
getSourceId()
Get 物料来源ID
|
Long |
getStatus()
Get 内容状态:1 - 上架, 2 - 下架
|
TagInfo[] |
getTagInfoList()
Get 描述用户标签
|
String |
getTitle()
Get 标题名称
|
String |
getTopic()
Get 所属话题
|
Long |
getVideoDuration()
Get 视频时长,时间秒
|
String[] |
getVideoUrlList()
Get 视频url
|
void |
setAuthor(String Author)
Set 作者
|
void |
setAuthorFans(Long AuthorFans)
Set 作者粉丝数
|
void |
setAuthorId(String AuthorId)
Set 作者id
|
void |
setAuthorLevel(String AuthorLevel)
Set 作者评级
|
void |
setCategoryLevel(Long CategoryLevel)
Set 类目层级数,例如3级类目,则填3,和CategoryPath字段的类数据匹配
|
void |
setCategoryPath(String CategoryPath)
Set 类目路径,一级二级三级等依次用英文冒号联接,如体育:“足球:巴塞罗那”
|
void |
setCity(String City)
Set 城市
|
void |
setCollectCnt(Long CollectCnt)
Set 内容累计收藏次数
|
void |
setCommentCnt(Long CommentCnt)
Set 内容累计评论次数
|
void |
setContent(String Content)
Set 内容正文
|
void |
setCountry(String Country)
Set 国家,统一用简写,比如中国则填写CN
|
void |
setDesc(String Desc)
Set 内容物料描述:物料的描述信息,推荐系统会对内容的描述信息,使用否LP技术,进行分词、提取关键词,作为news的特征使用。
|
void |
setDistrict(String District)
Set 区县
|
void |
setExpireTimestamp(Long ExpireTimestamp)
Set 内容过期时间,秒级时间戳(1639624786),如未填,则默认PublishTimestamp往后延一年
|
void |
setExtension(String Extension)
Set json字符串,用于物料数据的扩展
|
void |
setItemId(String ItemId)
Set 内容唯一id
|
void |
setItemType(Long ItemType)
Set 内容类型
|
void |
setKeyword(String Keyword)
Set 标签关键词,多个用英文分号分割
|
void |
setPicUrlList(String[] PicUrlList)
Set 图片url
|
void |
setPoolIdList(String[] PoolIdList)
Set 内容池id,用于分内容池召回,一个内容支持指定一个或多个内容池, 内容池id不建议使用0(0表示不区分内容池)
|
void |
setPraiseCnt(Long PraiseCnt)
Set 内容累积点赞次数
|
void |
setProvince(String Province)
Set 省
|
void |
setPublishTimestamp(Long PublishTimestamp)
Set 内容生成时间,秒级时间戳(1639624786),需大于0
|
void |
setRewardCnt(Long RewardCnt)
Set 内容累积打赏数
|
void |
setScore(Float Score)
Set 内容质量评分,类似豆瓣电影的评分,这里为100分制,比如97分,满分100分,最低0分,范围外的将会被拦截
|
void |
setShareCnt(Long ShareCnt)
Set 内容累计分享次数
|
void |
setSourceId(Long SourceId)
Set 物料来源ID
|
void |
setStatus(Long Status)
Set 内容状态:1 - 上架, 2 - 下架
|
void |
setTagInfoList(TagInfo[] TagInfoList)
Set 描述用户标签
|
void |
setTitle(String Title)
Set 标题名称
|
void |
setTopic(String Topic)
Set 所属话题
|
void |
setVideoDuration(Long VideoDuration)
Set 视频时长,时间秒
|
void |
setVideoUrlList(String[] VideoUrlList)
Set 视频url
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DocItem()
public DocItem(DocItem source)
public String getItemId()
public void setItemId(String ItemId)
ItemId
- 内容唯一idpublic Long getItemType()
public void setItemType(Long ItemType)
ItemType
- 内容类型public Long getStatus()
public void setStatus(Long Status)
Status
- 内容状态:1 - 上架, 2 - 下架public Long getPublishTimestamp()
public void setPublishTimestamp(Long PublishTimestamp)
PublishTimestamp
- 内容生成时间,秒级时间戳(1639624786),需大于0public Long getSourceId()
public void setSourceId(Long SourceId)
SourceId
- 物料来源IDpublic String getTitle()
public void setTitle(String Title)
Title
- 标题名称public String getContent()
public void setContent(String Content)
Content
- 内容正文public String getAuthor()
public void setAuthor(String Author)
Author
- 作者public String getAuthorId()
public void setAuthorId(String AuthorId)
AuthorId
- 作者idpublic String getKeyword()
public void setKeyword(String Keyword)
Keyword
- 标签关键词,多个用英文分号分割public String getDesc()
public void setDesc(String Desc)
Desc
- 内容物料描述:物料的描述信息,推荐系统会对内容的描述信息,使用否LP技术,进行分词、提取关键词,作为news的特征使用。public String[] getPicUrlList()
public void setPicUrlList(String[] PicUrlList)
PicUrlList
- 图片urlpublic String[] getVideoUrlList()
public void setVideoUrlList(String[] VideoUrlList)
VideoUrlList
- 视频urlpublic Long getVideoDuration()
public void setVideoDuration(Long VideoDuration)
VideoDuration
- 视频时长,时间秒public Long getCategoryLevel()
public void setCategoryLevel(Long CategoryLevel)
CategoryLevel
- 类目层级数,例如3级类目,则填3,和CategoryPath字段的类数据匹配public String getCategoryPath()
public void setCategoryPath(String CategoryPath)
CategoryPath
- 类目路径,一级二级三级等依次用英文冒号联接,如体育:“足球:巴塞罗那”public String getCountry()
public void setCountry(String Country)
Country
- 国家,统一用简写,比如中国则填写CNpublic String getProvince()
public void setProvince(String Province)
Province
- 省public String getCity()
public void setCity(String City)
City
- 城市public String getDistrict()
public void setDistrict(String District)
District
- 区县public Long getExpireTimestamp()
public void setExpireTimestamp(Long ExpireTimestamp)
ExpireTimestamp
- 内容过期时间,秒级时间戳(1639624786),如未填,则默认PublishTimestamp往后延一年public String getTopic()
public void setTopic(String Topic)
Topic
- 所属话题public Long getAuthorFans()
public void setAuthorFans(Long AuthorFans)
AuthorFans
- 作者粉丝数public String getAuthorLevel()
public void setAuthorLevel(String AuthorLevel)
AuthorLevel
- 作者评级public Long getCollectCnt()
public void setCollectCnt(Long CollectCnt)
CollectCnt
- 内容累计收藏次数public Long getPraiseCnt()
public void setPraiseCnt(Long PraiseCnt)
PraiseCnt
- 内容累积点赞次数public Long getCommentCnt()
public void setCommentCnt(Long CommentCnt)
CommentCnt
- 内容累计评论次数public Long getShareCnt()
public void setShareCnt(Long ShareCnt)
ShareCnt
- 内容累计分享次数public Long getRewardCnt()
public void setRewardCnt(Long RewardCnt)
RewardCnt
- 内容累积打赏数public Float getScore()
public void setScore(Float Score)
Score
- 内容质量评分,类似豆瓣电影的评分,这里为100分制,比如97分,满分100分,最低0分,范围外的将会被拦截public String[] getPoolIdList()
public void setPoolIdList(String[] PoolIdList)
PoolIdList
- 内容池id,用于分内容池召回,一个内容支持指定一个或多个内容池, 内容池id不建议使用0(0表示不区分内容池)public TagInfo[] getTagInfoList()
public void setTagInfoList(TagInfo[] TagInfoList)
TagInfoList
- 描述用户标签public String getExtension()
public void setExtension(String Extension)
Extension
- json字符串,用于物料数据的扩展Copyright © 2024. All rights reserved.