Class RecItemData
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.irp.v20220324.models.RecItemData
-
public class RecItemData extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description RecItemData()RecItemData(RecItemData 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetItemId()Get 推荐的内容id,即用户行为上报中的itemIdLonggetItemType()Get 物料子类型,包括如下: 1-图文、2-长视频(横视频)、3-短视频(横视频)、4-小说、5-小视频(竖视频)、6-纯文本 注意:此字段可能返回 null,表示取不到有效值。StringgetKeyword()Get 关键词,多个用英文分号分割,和物料上传的keyword一致 注意:此字段可能返回 null,表示取不到有效值。FloatgetScore()Get 推荐预测分 注意:此字段可能返回 null,表示取不到有效值。LonggetWeight()Get 推荐内容的权重,取值范围[0,1000000] 注意:此字段可能返回 null,表示取不到有效值。voidsetItemId(String ItemId)Set 推荐的内容id,即用户行为上报中的itemIdvoidsetItemType(Long ItemType)Set 物料子类型,包括如下: 1-图文、2-长视频(横视频)、3-短视频(横视频)、4-小说、5-小视频(竖视频)、6-纯文本 注意:此字段可能返回 null,表示取不到有效值。voidsetKeyword(String Keyword)Set 关键词,多个用英文分号分割,和物料上传的keyword一致 注意:此字段可能返回 null,表示取不到有效值。voidsetScore(Float Score)Set 推荐预测分 注意:此字段可能返回 null,表示取不到有效值。voidsetWeight(Long Weight)Set 推荐内容的权重,取值范围[0,1000000] 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RecItemData
public RecItemData()
-
RecItemData
public RecItemData(RecItemData 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.
-
-
Method Detail
-
getItemId
public String getItemId()
Get 推荐的内容id,即用户行为上报中的itemId- Returns:
- ItemId 推荐的内容id,即用户行为上报中的itemId
-
setItemId
public void setItemId(String ItemId)
Set 推荐的内容id,即用户行为上报中的itemId- Parameters:
ItemId- 推荐的内容id,即用户行为上报中的itemId
-
getItemType
public Long getItemType()
Get 物料子类型,包括如下: 1-图文、2-长视频(横视频)、3-短视频(横视频)、4-小说、5-小视频(竖视频)、6-纯文本 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ItemType 物料子类型,包括如下: 1-图文、2-长视频(横视频)、3-短视频(横视频)、4-小说、5-小视频(竖视频)、6-纯文本 注意:此字段可能返回 null,表示取不到有效值。
-
setItemType
public void setItemType(Long ItemType)
Set 物料子类型,包括如下: 1-图文、2-长视频(横视频)、3-短视频(横视频)、4-小说、5-小视频(竖视频)、6-纯文本 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ItemType- 物料子类型,包括如下: 1-图文、2-长视频(横视频)、3-短视频(横视频)、4-小说、5-小视频(竖视频)、6-纯文本 注意:此字段可能返回 null,表示取不到有效值。
-
getWeight
public Long getWeight()
Get 推荐内容的权重,取值范围[0,1000000] 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Weight 推荐内容的权重,取值范围[0,1000000] 注意:此字段可能返回 null,表示取不到有效值。
-
setWeight
public void setWeight(Long Weight)
Set 推荐内容的权重,取值范围[0,1000000] 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Weight- 推荐内容的权重,取值范围[0,1000000] 注意:此字段可能返回 null,表示取不到有效值。
-
getScore
public Float getScore()
Get 推荐预测分 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Score 推荐预测分 注意:此字段可能返回 null,表示取不到有效值。
-
setScore
public void setScore(Float Score)
Set 推荐预测分 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Score- 推荐预测分 注意:此字段可能返回 null,表示取不到有效值。
-
getKeyword
public String getKeyword()
Get 关键词,多个用英文分号分割,和物料上传的keyword一致 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Keyword 关键词,多个用英文分号分割,和物料上传的keyword一致 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyword
public void setKeyword(String Keyword)
Set 关键词,多个用英文分号分割,和物料上传的keyword一致 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Keyword- 关键词,多个用英文分号分割,和物料上传的keyword一致 注意:此字段可能返回 null,表示取不到有效值。
-
-