public class CreateMatchRequest extends AbstractModel
Constructor and Description |
---|
CreateMatchRequest() |
CreateMatchRequest(CreateMatchRequest 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 |
getCustomPushData()
Get Custom push data
|
StringKV[] |
getGameProperties()
Get Game attribute.
|
Long |
getLogSwitch()
Get Enable or disable the log.
|
String |
getMatchDesc()
Get Matchmaking description.
|
String |
getMatchName()
Get Match name.
|
String |
getNotifyUrl()
Get Only HTTP and HTTPS protocols are supported.
|
String |
getRuleCode()
Get RuleCode
|
String |
getServerQueue()
Get Game server queue
|
String |
getServerRegion()
Get Region of the game server queue
|
String |
getServerSessionData()
Get Game server session data
|
Long |
getServerType()
Get Whether to request server resources for the matchmaking results.
|
StringKV[] |
getTags()
Get Tag.
|
Long |
getTimeout()
Get Timeout period in seconds.
|
void |
setCustomPushData(String CustomPushData)
Set Custom push data
|
void |
setGameProperties(StringKV[] GameProperties)
Set Game attribute.
|
void |
setLogSwitch(Long LogSwitch)
Set Enable or disable the log.
|
void |
setMatchDesc(String MatchDesc)
Set Matchmaking description.
|
void |
setMatchName(String MatchName)
Set Match name.
|
void |
setNotifyUrl(String NotifyUrl)
Set Only HTTP and HTTPS protocols are supported.
|
void |
setRuleCode(String RuleCode)
Set RuleCode
|
void |
setServerQueue(String ServerQueue)
Set Game server queue
|
void |
setServerRegion(String ServerRegion)
Set Region of the game server queue
|
void |
setServerSessionData(String ServerSessionData)
Set Game server session data
|
void |
setServerType(Long ServerType)
Set Whether to request server resources for the matchmaking results.
|
void |
setTags(StringKV[] Tags)
Set Tag.
|
void |
setTimeout(Long Timeout)
Set Timeout period in seconds.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateMatchRequest()
public CreateMatchRequest(CreateMatchRequest source)
public String getMatchName()
public void setMatchName(String MatchName)
MatchName
- Match name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.public String getRuleCode()
public void setRuleCode(String RuleCode)
RuleCode
- RuleCodepublic Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- Timeout period in seconds. Value range: 1 600public Long getServerType()
public void setServerType(Long ServerType)
ServerType
- Whether to request server resources for the matchmaking results. 0: no, 1: request GSE resourcespublic String getMatchDesc()
public void setMatchDesc(String MatchDesc)
MatchDesc
- Matchmaking description. Up to 1024 bytes are allowed.public String getNotifyUrl()
public void setNotifyUrl(String NotifyUrl)
NotifyUrl
- Only HTTP and HTTPS protocols are supported.public String getServerRegion()
public void setServerRegion(String ServerRegion)
ServerRegion
- Region of the game server queuepublic String getServerQueue()
public void setServerQueue(String ServerQueue)
ServerQueue
- Game server queuepublic String getCustomPushData()
public void setCustomPushData(String CustomPushData)
CustomPushData
- Custom push datapublic String getServerSessionData()
public void setServerSessionData(String ServerSessionData)
ServerSessionData
- Game server session datapublic StringKV[] getGameProperties()
public void setGameProperties(StringKV[] GameProperties)
GameProperties
- Game attribute. It is an array of key-value structure.public Long getLogSwitch()
public void setLogSwitch(Long LogSwitch)
LogSwitch
- Enable or disable the log. 0: disable, 1: enablepublic StringKV[] getTags()
public void setTags(StringKV[] Tags)
Tags
- Tag. It is an array of key-value structure.Copyright © 2023. All rights reserved.