Class Player
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gpm.v20200820.models.Player
-
public class Player extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCustomPlayerStatus()Get 自定义玩家状态 透传参数 [0, 99999]StringgetCustomProfile()Get 自定义玩家信息 透传参数 长度 1024StringgetId()Get 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*MatchAttribute[]getMatchAttributes()Get 玩家匹配属性,最多 10 条StringgetName()Get 玩家昵称,长度 128RegionLatency[]getRegionLatencies()Get 各区域延迟,最多 20 条StringgetTeam()Get 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*voidsetCustomPlayerStatus(Long CustomPlayerStatus)Set 自定义玩家状态 透传参数 [0, 99999]voidsetCustomProfile(String CustomProfile)Set 自定义玩家信息 透传参数 长度 1024voidsetId(String Id)Set 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*voidsetMatchAttributes(MatchAttribute[] MatchAttributes)Set 玩家匹配属性,最多 10 条voidsetName(String Name)Set 玩家昵称,长度 128voidsetRegionLatencies(RegionLatency[] RegionLatencies)Set 各区域延迟,最多 20 条voidsetTeam(String Team)Set 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*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
-
Player
public Player()
-
Player
public Player(Player 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
-
getId
public String getId()
Get 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*- Returns:
- Id 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*
-
setId
public void setId(String Id)
Set 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*- Parameters:
Id- 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*
-
getName
public String getName()
Get 玩家昵称,长度 128- Returns:
- Name 玩家昵称,长度 128
-
setName
public void setName(String Name)
Set 玩家昵称,长度 128- Parameters:
Name- 玩家昵称,长度 128
-
getMatchAttributes
public MatchAttribute[] getMatchAttributes()
Get 玩家匹配属性,最多 10 条- Returns:
- MatchAttributes 玩家匹配属性,最多 10 条
-
setMatchAttributes
public void setMatchAttributes(MatchAttribute[] MatchAttributes)
Set 玩家匹配属性,最多 10 条- Parameters:
MatchAttributes- 玩家匹配属性,最多 10 条
-
getTeam
public String getTeam()
Get 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*- Returns:
- Team 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*
-
setTeam
public void setTeam(String Team)
Set 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*- Parameters:
Team- 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*
-
getCustomPlayerStatus
public Long getCustomPlayerStatus()
Get 自定义玩家状态 透传参数 [0, 99999]- Returns:
- CustomPlayerStatus 自定义玩家状态 透传参数 [0, 99999]
-
setCustomPlayerStatus
public void setCustomPlayerStatus(Long CustomPlayerStatus)
Set 自定义玩家状态 透传参数 [0, 99999]- Parameters:
CustomPlayerStatus- 自定义玩家状态 透传参数 [0, 99999]
-
getCustomProfile
public String getCustomProfile()
Get 自定义玩家信息 透传参数 长度 1024- Returns:
- CustomProfile 自定义玩家信息 透传参数 长度 1024
-
setCustomProfile
public void setCustomProfile(String CustomProfile)
Set 自定义玩家信息 透传参数 长度 1024- Parameters:
CustomProfile- 自定义玩家信息 透传参数 长度 1024
-
getRegionLatencies
public RegionLatency[] getRegionLatencies()
Get 各区域延迟,最多 20 条- Returns:
- RegionLatencies 各区域延迟,最多 20 条
-
setRegionLatencies
public void setRegionLatencies(RegionLatency[] RegionLatencies)
Set 各区域延迟,最多 20 条- Parameters:
RegionLatencies- 各区域延迟,最多 20 条
-
-