Class DocBehavior
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.irp.v20220324.models.DocBehavior
-
public class DocBehavior extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DocBehavior()
DocBehavior(DocBehavior 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 String
getAppId()
Get 微信开放平台上查看appIdString
getAppVersion()
Get 客户端app版本Long
getBehaviorTimestamp()
Get 行为时间戳: 秒级时间戳(默认为当前时间),不能延迟太久,尽量实时上报,否则会影响推荐结果的准确性。Long
getBehaviorType()
Get 行为类型String
getBehaviorValue()
Get 行为值String
getCity()
Get 城市String
getCountry()
Get 国家,统一用简写,比如中国则填写CNString
getDeviceModel()
Get 机型String
getDistrict()
Get 区县String
getExtension()
Get json字符串,用于行为数据的扩展String
getIP()
Get 客户端ipString
getItemId()
Get 内容唯一ID,如 2824324234Long
getItemType()
Get 物料类型String
getNetwork()
Get 客户端网络类型String
getOsVersion()
Get 操作系统版本String
getPlatform()
Get 客户端平台,ios/android/h5String
getProvince()
Get 省String
getRecTraceId()
Get 会话id,使用获取推荐结果中返回的RecTraceId填入。
注意:如果和在线推荐请求中的traceId不同,会影响行为特征归因,影响推荐算法效果String
getReferrerItemId()
Get 来源物料内容:用来标识在指定内容页面产生的行为,如需要统计用户在A内容详情页里,对推荐内容B点击等行为,则ReferrerItemId代表内容A,ItemId代表内容BString
getSceneId()
Get 场景id,在控制台创建场景后获取。String
getSource()
Get 算法来源:用来区分行为来源于哪个算法。值为**business,tencent,other** 三者之一
● business 表示业务自己的算法对照组
● tencent 为腾讯算法
● other 为其他算法UserIdInfo[]
getUserIdList()
Get 用户id列表Long
getVideoPlayDuration()
Get 回传video_over事件的时候,回传的用户播放视频的总时长(真正播放的,拖动不算,单位为秒)void
setAppId(String AppId)
Set 微信开放平台上查看appIdvoid
setAppVersion(String AppVersion)
Set 客户端app版本void
setBehaviorTimestamp(Long BehaviorTimestamp)
Set 行为时间戳: 秒级时间戳(默认为当前时间),不能延迟太久,尽量实时上报,否则会影响推荐结果的准确性。void
setBehaviorType(Long BehaviorType)
Set 行为类型void
setBehaviorValue(String BehaviorValue)
Set 行为值void
setCity(String City)
Set 城市void
setCountry(String Country)
Set 国家,统一用简写,比如中国则填写CNvoid
setDeviceModel(String DeviceModel)
Set 机型void
setDistrict(String District)
Set 区县void
setExtension(String Extension)
Set json字符串,用于行为数据的扩展void
setIP(String IP)
Set 客户端ipvoid
setItemId(String ItemId)
Set 内容唯一ID,如 2824324234void
setItemType(Long ItemType)
Set 物料类型void
setNetwork(String Network)
Set 客户端网络类型void
setOsVersion(String OsVersion)
Set 操作系统版本void
setPlatform(String Platform)
Set 客户端平台,ios/android/h5void
setProvince(String Province)
Set 省void
setRecTraceId(String RecTraceId)
Set 会话id,使用获取推荐结果中返回的RecTraceId填入。
注意:如果和在线推荐请求中的traceId不同,会影响行为特征归因,影响推荐算法效果void
setReferrerItemId(String ReferrerItemId)
Set 来源物料内容:用来标识在指定内容页面产生的行为,如需要统计用户在A内容详情页里,对推荐内容B点击等行为,则ReferrerItemId代表内容A,ItemId代表内容Bvoid
setSceneId(String SceneId)
Set 场景id,在控制台创建场景后获取。void
setSource(String Source)
Set 算法来源:用来区分行为来源于哪个算法。值为**business,tencent,other** 三者之一
● business 表示业务自己的算法对照组
● tencent 为腾讯算法
● other 为其他算法void
setUserIdList(UserIdInfo[] UserIdList)
Set 用户id列表void
setVideoPlayDuration(Long VideoPlayDuration)
Set 回传video_over事件的时候,回传的用户播放视频的总时长(真正播放的,拖动不算,单位为秒)void
toMap(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
-
DocBehavior
public DocBehavior()
-
DocBehavior
public DocBehavior(DocBehavior 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,如 2824324234- Returns:
- ItemId 内容唯一ID,如 2824324234
-
setItemId
public void setItemId(String ItemId)
Set 内容唯一ID,如 2824324234- Parameters:
ItemId
- 内容唯一ID,如 2824324234
-
getBehaviorType
public Long getBehaviorType()
Get 行为类型- Returns:
- BehaviorType 行为类型
-
setBehaviorType
public void setBehaviorType(Long BehaviorType)
Set 行为类型- Parameters:
BehaviorType
- 行为类型
-
getBehaviorValue
public String getBehaviorValue()
Get 行为值- Returns:
- BehaviorValue 行为值
-
setBehaviorValue
public void setBehaviorValue(String BehaviorValue)
Set 行为值- Parameters:
BehaviorValue
- 行为值
-
getBehaviorTimestamp
public Long getBehaviorTimestamp()
Get 行为时间戳: 秒级时间戳(默认为当前时间),不能延迟太久,尽量实时上报,否则会影响推荐结果的准确性。- Returns:
- BehaviorTimestamp 行为时间戳: 秒级时间戳(默认为当前时间),不能延迟太久,尽量实时上报,否则会影响推荐结果的准确性。
-
setBehaviorTimestamp
public void setBehaviorTimestamp(Long BehaviorTimestamp)
Set 行为时间戳: 秒级时间戳(默认为当前时间),不能延迟太久,尽量实时上报,否则会影响推荐结果的准确性。- Parameters:
BehaviorTimestamp
- 行为时间戳: 秒级时间戳(默认为当前时间),不能延迟太久,尽量实时上报,否则会影响推荐结果的准确性。
-
getSceneId
public String getSceneId()
Get 场景id,在控制台创建场景后获取。- Returns:
- SceneId 场景id,在控制台创建场景后获取。
-
setSceneId
public void setSceneId(String SceneId)
Set 场景id,在控制台创建场景后获取。- Parameters:
SceneId
- 场景id,在控制台创建场景后获取。
-
getUserIdList
public UserIdInfo[] getUserIdList()
Get 用户id列表- Returns:
- UserIdList 用户id列表
-
setUserIdList
public void setUserIdList(UserIdInfo[] UserIdList)
Set 用户id列表- Parameters:
UserIdList
- 用户id列表
-
getRecTraceId
public String getRecTraceId()
Get 会话id,使用获取推荐结果中返回的RecTraceId填入。
注意:如果和在线推荐请求中的traceId不同,会影响行为特征归因,影响推荐算法效果- Returns:
- RecTraceId 会话id,使用获取推荐结果中返回的RecTraceId填入。
注意:如果和在线推荐请求中的traceId不同,会影响行为特征归因,影响推荐算法效果
-
setRecTraceId
public void setRecTraceId(String RecTraceId)
Set 会话id,使用获取推荐结果中返回的RecTraceId填入。
注意:如果和在线推荐请求中的traceId不同,会影响行为特征归因,影响推荐算法效果- Parameters:
RecTraceId
- 会话id,使用获取推荐结果中返回的RecTraceId填入。
注意:如果和在线推荐请求中的traceId不同,会影响行为特征归因,影响推荐算法效果
-
getSource
public String getSource()
Get 算法来源:用来区分行为来源于哪个算法。值为**business,tencent,other** 三者之一
● business 表示业务自己的算法对照组
● tencent 为腾讯算法
● other 为其他算法- Returns:
- Source 算法来源:用来区分行为来源于哪个算法。值为**business,tencent,other** 三者之一
● business 表示业务自己的算法对照组
● tencent 为腾讯算法
● other 为其他算法
-
setSource
public void setSource(String Source)
Set 算法来源:用来区分行为来源于哪个算法。值为**business,tencent,other** 三者之一
● business 表示业务自己的算法对照组
● tencent 为腾讯算法
● other 为其他算法- Parameters:
Source
- 算法来源:用来区分行为来源于哪个算法。值为**business,tencent,other** 三者之一
● business 表示业务自己的算法对照组
● tencent 为腾讯算法
● other 为其他算法
-
getItemType
public Long getItemType()
Get 物料类型- Returns:
- ItemType 物料类型
-
setItemType
public void setItemType(Long ItemType)
Set 物料类型- Parameters:
ItemType
- 物料类型
-
getAppId
public String getAppId()
Get 微信开放平台上查看appId- Returns:
- AppId 微信开放平台上查看appId
-
setAppId
public void setAppId(String AppId)
Set 微信开放平台上查看appId- Parameters:
AppId
- 微信开放平台上查看appId
-
getVideoPlayDuration
public Long getVideoPlayDuration()
Get 回传video_over事件的时候,回传的用户播放视频的总时长(真正播放的,拖动不算,单位为秒)- Returns:
- VideoPlayDuration 回传video_over事件的时候,回传的用户播放视频的总时长(真正播放的,拖动不算,单位为秒)
-
setVideoPlayDuration
public void setVideoPlayDuration(Long VideoPlayDuration)
Set 回传video_over事件的时候,回传的用户播放视频的总时长(真正播放的,拖动不算,单位为秒)- Parameters:
VideoPlayDuration
- 回传video_over事件的时候,回传的用户播放视频的总时长(真正播放的,拖动不算,单位为秒)
-
getReferrerItemId
public String getReferrerItemId()
Get 来源物料内容:用来标识在指定内容页面产生的行为,如需要统计用户在A内容详情页里,对推荐内容B点击等行为,则ReferrerItemId代表内容A,ItemId代表内容B- Returns:
- ReferrerItemId 来源物料内容:用来标识在指定内容页面产生的行为,如需要统计用户在A内容详情页里,对推荐内容B点击等行为,则ReferrerItemId代表内容A,ItemId代表内容B
-
setReferrerItemId
public void setReferrerItemId(String ReferrerItemId)
Set 来源物料内容:用来标识在指定内容页面产生的行为,如需要统计用户在A内容详情页里,对推荐内容B点击等行为,则ReferrerItemId代表内容A,ItemId代表内容B- Parameters:
ReferrerItemId
- 来源物料内容:用来标识在指定内容页面产生的行为,如需要统计用户在A内容详情页里,对推荐内容B点击等行为,则ReferrerItemId代表内容A,ItemId代表内容B
-
getCountry
public String getCountry()
Get 国家,统一用简写,比如中国则填写CN- Returns:
- Country 国家,统一用简写,比如中国则填写CN
-
setCountry
public void setCountry(String Country)
Set 国家,统一用简写,比如中国则填写CN- Parameters:
Country
- 国家,统一用简写,比如中国则填写CN
-
getProvince
public String getProvince()
Get 省- Returns:
- Province 省
-
setProvince
public void setProvince(String Province)
Set 省- Parameters:
Province
- 省
-
getCity
public String getCity()
Get 城市- Returns:
- City 城市
-
setCity
public void setCity(String City)
Set 城市- Parameters:
City
- 城市
-
getDistrict
public String getDistrict()
Get 区县- Returns:
- District 区县
-
setDistrict
public void setDistrict(String District)
Set 区县- Parameters:
District
- 区县
-
getIP
public String getIP()
Get 客户端ip- Returns:
- IP 客户端ip
-
setIP
public void setIP(String IP)
Set 客户端ip- Parameters:
IP
- 客户端ip
-
getNetwork
public String getNetwork()
Get 客户端网络类型- Returns:
- Network 客户端网络类型
-
setNetwork
public void setNetwork(String Network)
Set 客户端网络类型- Parameters:
Network
- 客户端网络类型
-
getPlatform
public String getPlatform()
Get 客户端平台,ios/android/h5- Returns:
- Platform 客户端平台,ios/android/h5
-
setPlatform
public void setPlatform(String Platform)
Set 客户端平台,ios/android/h5- Parameters:
Platform
- 客户端平台,ios/android/h5
-
getAppVersion
public String getAppVersion()
Get 客户端app版本- Returns:
- AppVersion 客户端app版本
-
setAppVersion
public void setAppVersion(String AppVersion)
Set 客户端app版本- Parameters:
AppVersion
- 客户端app版本
-
getOsVersion
public String getOsVersion()
Get 操作系统版本- Returns:
- OsVersion 操作系统版本
-
setOsVersion
public void setOsVersion(String OsVersion)
Set 操作系统版本- Parameters:
OsVersion
- 操作系统版本
-
getDeviceModel
public String getDeviceModel()
Get 机型- Returns:
- DeviceModel 机型
-
setDeviceModel
public void setDeviceModel(String DeviceModel)
Set 机型- Parameters:
DeviceModel
- 机型
-
getExtension
public String getExtension()
Get json字符串,用于行为数据的扩展- Returns:
- Extension json字符串,用于行为数据的扩展
-
setExtension
public void setExtension(String Extension)
Set json字符串,用于行为数据的扩展- Parameters:
Extension
- json字符串,用于行为数据的扩展
-
-