public class MatchTicket extends AbstractModel
header, skipSign
Constructor and Description |
---|
MatchTicket() |
MatchTicket(MatchTicket 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 |
getEndTime()
Get The time when the matchmaking request stopped executing due to the completion, failure, timeout, or cancellation, for example "2020-08-17T08:14:38.077Z".
|
String |
getId()
Get MatchTicket ID.
|
String |
getMatchCode()
Get MatchCode
|
String |
getMatchResult()
Get Different structure serialized results will be returned according to the MatchType.
|
String |
getMatchType()
Get Matchmaking type.
|
Player[] |
getPlayers()
Get Player information list
|
String |
getStartTime()
Get The time when the GPM received the matchmaking request, for example "2020-08-17T08:14:38.077Z".
|
String |
getStatus()
Get Matching status.
|
String |
getStatusMessage()
Get Matching status descriptions
Note: this field may return `null`, indicating that no valid value is obtained.
|
String |
getStatusReason()
Get Reason for the matching status
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setEndTime(String EndTime)
Set The time when the matchmaking request stopped executing due to the completion, failure, timeout, or cancellation, for example "2020-08-17T08:14:38.077Z".
|
void |
setId(String Id)
Set MatchTicket ID.
|
void |
setMatchCode(String MatchCode)
Set MatchCode
|
void |
setMatchResult(String MatchResult)
Set Different structure serialized results will be returned according to the MatchType.
|
void |
setMatchType(String MatchType)
Set Matchmaking type.
|
void |
setPlayers(Player[] Players)
Set Player information list
|
void |
setStartTime(String StartTime)
Set The time when the GPM received the matchmaking request, for example "2020-08-17T08:14:38.077Z".
|
void |
setStatus(String Status)
Set Matching status.
|
void |
setStatusMessage(String StatusMessage)
Set Matching status descriptions
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setStatusReason(String StatusReason)
Set Reason for the matching status
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MatchTicket()
public MatchTicket(MatchTicket source)
public String getId()
public void setId(String Id)
Id
- MatchTicket ID. It can contain up to 128 characters, supporting [a-zA-Z0-9-\.]*.public String getMatchCode()
public void setMatchCode(String MatchCode)
MatchCode
- MatchCodepublic String getMatchResult()
public void setMatchResult(String MatchResult)
MatchResult
- Different structure serialized results will be returned according to the MatchType.
Note: this field may return `null`, indicating that no valid value is obtained.public String getMatchType()
public void setMatchType(String MatchType)
MatchType
- Matchmaking type. Valid values: NORMAL, GSE
Note: this field may return `null`, indicating that no valid value is obtained.public Player[] getPlayers()
public void setPlayers(Player[] Players)
Players
- Player information listpublic String getStatus()
public void setStatus(String Status)
Status
- Matching status. Valid values: SEARCHING (matching), PLACING (pending match), COMPLETED (match completed), CANCELLED (match cancelled), TIMEDOUT (match timeouts), FAILED (match failed)public String getStatusMessage()
public void setStatusMessage(String StatusMessage)
StatusMessage
- Matching status descriptions
Note: this field may return `null`, indicating that no valid value is obtained.public String getStatusReason()
public void setStatusReason(String StatusReason)
StatusReason
- Reason for the matching status
Note: this field may return `null`, indicating that no valid value is obtained.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- The time when the GPM received the matchmaking request, for example "2020-08-17T08:14:38.077Z".public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- The time when the matchmaking request stopped executing due to the completion, failure, timeout, or cancellation, for example "2020-08-17T08:14:38.077Z".
Note: this field may return `null`, indicating that no valid value is obtained.Copyright © 2024. All rights reserved.