public class GameServerSession extends AbstractModel
| Constructor and Description | 
|---|
| GameServerSession() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAvailabilityStatus()Get Session availability status, i.e., whether it is blocked
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getCreationTime()Get Game server session creation time | 
| String | getCreatorId()Get Creator ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| Long | getCurrentCustomCount()Get Current custom count
Note: this field may return null, indicating that no valid values can be obtained. | 
| Long | getCurrentPlayerSessionCount()Get Current number of players | 
| String | getDnsName()Get CVM DNS ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getFleetId()Get Fleet ID | 
| GameProperty[] | getGameProperties()Get Game attributes
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getGameServerSessionData()Get Game server session attribute details
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getGameServerSessionId()Get Game server session ID | 
| String | getInstanceType()Get Instance type
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getIpAddress()Get CVM IP address | 
| String | getMatchmakerData()Get Battle progress details
Note: this field may return null, indicating that no valid values can be obtained. | 
| Long | getMaxCustomCount()Get Maximum custom count
Note: this field may return null, indicating that no valid values can be obtained. | 
| Long | getMaximumPlayerSessionCount()Get Maximum number of players | 
| String | getName()Get Game server session name
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getPlayerSessionCreationPolicy()Get Player session creation policy
Note: this field may return null, indicating that no valid values can be obtained. | 
| Long | getPort()Get Port number | 
| String | getStatus()Get Game server session status | 
| String | getStatusReason()Get Additional information of game server session status
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getTerminationTime()Get Termination time
Note: this field may return null, indicating that no valid values can be obtained. | 
| Long | getWeight()Get Weight
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setAvailabilityStatus(String AvailabilityStatus)Set Session availability status, i.e., whether it is blocked
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setCreationTime(String CreationTime)Set Game server session creation time | 
| void | setCreatorId(String CreatorId)Set Creator ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setCurrentCustomCount(Long CurrentCustomCount)Set Current custom count
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setCurrentPlayerSessionCount(Long CurrentPlayerSessionCount)Set Current number of players | 
| void | setDnsName(String DnsName)Set CVM DNS ID
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setFleetId(String FleetId)Set Fleet ID | 
| void | setGameProperties(GameProperty[] GameProperties)Set Game attributes
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setGameServerSessionData(String GameServerSessionData)Set Game server session attribute details
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setGameServerSessionId(String GameServerSessionId)Set Game server session ID | 
| void | setInstanceType(String InstanceType)Set Instance type
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setIpAddress(String IpAddress)Set CVM IP address | 
| void | setMatchmakerData(String MatchmakerData)Set Battle progress details
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setMaxCustomCount(Long MaxCustomCount)Set Maximum custom count
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setMaximumPlayerSessionCount(Long MaximumPlayerSessionCount)Set Maximum number of players | 
| void | setName(String Name)Set Game server session name
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setPlayerSessionCreationPolicy(String PlayerSessionCreationPolicy)Set Player session creation policy
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setPort(Long Port)Set Port number | 
| void | setStatus(String Status)Set Game server session status | 
| void | setStatusReason(String StatusReason)Set Additional information of game server session status
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setTerminationTime(String TerminationTime)Set Termination time
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setWeight(Long Weight)Set Weight
Note: this field may return null, indicating that no valid values can be obtained. | 
| 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, toJsonStringpublic String getCreationTime()
public void setCreationTime(String CreationTime)
CreationTime - Game server session creation timepublic String getCreatorId()
public void setCreatorId(String CreatorId)
CreatorId - Creator ID
Note: this field may return null, indicating that no valid values can be obtained.public Long getCurrentPlayerSessionCount()
public void setCurrentPlayerSessionCount(Long CurrentPlayerSessionCount)
CurrentPlayerSessionCount - Current number of playerspublic String getDnsName()
public void setDnsName(String DnsName)
DnsName - CVM DNS ID
Note: this field may return null, indicating that no valid values can be obtained.public String getFleetId()
public void setFleetId(String FleetId)
FleetId - Fleet IDpublic GameProperty[] getGameProperties()
public void setGameProperties(GameProperty[] GameProperties)
GameProperties - Game attributes
Note: this field may return null, indicating that no valid values can be obtained.public String getGameServerSessionData()
public void setGameServerSessionData(String GameServerSessionData)
GameServerSessionData - Game server session attribute details
Note: this field may return null, indicating that no valid values can be obtained.public String getGameServerSessionId()
public void setGameServerSessionId(String GameServerSessionId)
GameServerSessionId - Game server session IDpublic String getIpAddress()
public void setIpAddress(String IpAddress)
IpAddress - CVM IP addresspublic String getMatchmakerData()
public void setMatchmakerData(String MatchmakerData)
MatchmakerData - Battle progress details
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaximumPlayerSessionCount()
public void setMaximumPlayerSessionCount(Long MaximumPlayerSessionCount)
MaximumPlayerSessionCount - Maximum number of playerspublic String getName()
public void setName(String Name)
Name - Game server session name
Note: this field may return null, indicating that no valid values can be obtained.public String getPlayerSessionCreationPolicy()
public void setPlayerSessionCreationPolicy(String PlayerSessionCreationPolicy)
PlayerSessionCreationPolicy - Player session creation policy
Note: this field may return null, indicating that no valid values can be obtained.public Long getPort()
public void setPort(Long Port)
Port - Port numberpublic String getStatus()
public void setStatus(String Status)
Status - Game server session statuspublic String getStatusReason()
public void setStatusReason(String StatusReason)
StatusReason - Additional information of game server session status
Note: this field may return null, indicating that no valid values can be obtained.public String getTerminationTime()
public void setTerminationTime(String TerminationTime)
TerminationTime - Termination time
Note: this field may return null, indicating that no valid values can be obtained.public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType - Instance type
Note: this field may return null, indicating that no valid values can be obtained.public Long getCurrentCustomCount()
public void setCurrentCustomCount(Long CurrentCustomCount)
CurrentCustomCount - Current custom count
Note: this field may return null, indicating that no valid values can be obtained.public Long getMaxCustomCount()
public void setMaxCustomCount(Long MaxCustomCount)
MaxCustomCount - Maximum custom count
Note: this field may return null, indicating that no valid values can be obtained.public Long getWeight()
public void setWeight(Long Weight)
Weight - Weight
Note: this field may return null, indicating that no valid values can be obtained.public String getAvailabilityStatus()
public void setAvailabilityStatus(String AvailabilityStatus)
AvailabilityStatus - Session availability status, i.e., whether it is blocked
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.