public class GameServerSession extends AbstractModel
Constructor and Description |
---|
GameServerSession() |
GameServerSession(GameServerSession 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 |
getAvailabilityStatus()
Get Session availability status, i.e., whether it is blocked.
|
String |
getCreationTime()
Get Game server session creation time
|
String |
getCreatorId()
Get Creator ID.
|
Long |
getCurrentCustomCount()
Get Current custom count
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getCurrentPlayerSessionCount()
Get The current number of players, which cannot be less than 0.
|
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.
|
String |
getGameServerSessionData()
Get The attribute details of game server session.
|
String |
getGameServerSessionId()
Get Game server session ID.
|
String |
getInstanceType()
Get Instance type.
|
String |
getIpAddress()
Get CVM IP address
|
String |
getMatchmakerData()
Get Battle progress details.
|
Long |
getMaxCustomCount()
Get Maximum custom count
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getMaximumPlayerSessionCount()
Get The maximum number of players, which cannot be less than 0.
|
String |
getName()
Get The name of game server session.
|
String |
getPlayerSessionCreationPolicy()
Get Player session creation policy.
|
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.
|
void |
setCreationTime(String CreationTime)
Set Game server session creation time
|
void |
setCreatorId(String CreatorId)
Set Creator ID.
|
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 The current number of players, which cannot be less than 0.
|
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.
|
void |
setGameServerSessionData(String GameServerSessionData)
Set The attribute details of game server session.
|
void |
setGameServerSessionId(String GameServerSessionId)
Set Game server session ID.
|
void |
setInstanceType(String InstanceType)
Set Instance type.
|
void |
setIpAddress(String IpAddress)
Set CVM IP address
|
void |
setMatchmakerData(String MatchmakerData)
Set Battle progress details.
|
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 The maximum number of players, which cannot be less than 0.
|
void |
setName(String Name)
Set The name of game server session.
|
void |
setPlayerSessionCreationPolicy(String PlayerSessionCreationPolicy)
Set Player session creation policy.
|
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, toJsonString
public GameServerSession()
public GameServerSession(GameServerSession source)
public String getCreationTime()
public void setCreationTime(String CreationTime)
CreationTime
- Game server session creation timepublic String getCreatorId()
public void setCreatorId(String CreatorId)
CreatorId
- Creator ID. Up to 1024 ASCII characters are allowed.
Note: this field may return `null`, indicating that no valid value is obtained.public Long getCurrentPlayerSessionCount()
public void setCurrentPlayerSessionCount(Long CurrentPlayerSessionCount)
CurrentPlayerSessionCount
- The current number of players, which cannot be less than 0.public 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. Up to 16 groups of attributes are allowed.
Note: this field may return `null`, indicating that no valid value is obtained.public String getGameServerSessionData()
public void setGameServerSessionData(String GameServerSessionData)
GameServerSessionData
- The attribute details of game server session. Up to 4096 ASCII characters are allowed.
Note: this field may return `null`, indicating that no valid value is obtained.public String getGameServerSessionId()
public void setGameServerSessionId(String GameServerSessionId)
GameServerSessionId
- Game server session ID. It should contain 1 to 48 ASCII characters.public String getIpAddress()
public void setIpAddress(String IpAddress)
IpAddress
- CVM IP addresspublic String getMatchmakerData()
public void setMatchmakerData(String MatchmakerData)
MatchmakerData
- Battle progress details. Up to 400,000 ASCII characters are allowed.
Note: this field may return `null`, indicating that no valid value is obtained.public Long getMaximumPlayerSessionCount()
public void setMaximumPlayerSessionCount(Long MaximumPlayerSessionCount)
MaximumPlayerSessionCount
- The maximum number of players, which cannot be less than 0.public String getName()
public void setName(String Name)
Name
- The name of game server session. Up to 1024 ASCII characters are allowed.
Note: this field may return `null`, indicating that no valid value is obtained.public String getPlayerSessionCreationPolicy()
public void setPlayerSessionCreationPolicy(String PlayerSessionCreationPolicy)
PlayerSessionCreationPolicy
- Player session creation policy. Valid values: ACCEPT_ALL, DENY_ALL
Note: this field may return `null`, indicating that no valid value is obtained.public Long getPort()
public void setPort(Long Port)
Port
- Port number. It should be a value between 1 to 60000.public String getStatus()
public void setStatus(String Status)
Status
- Game server session status. Valid values: ACTIVE, ACTIVATING, TERMINATED, TERMINATING, ERRORpublic 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. Up to 128 ASCII characters are allowed.
Note: this field may return `null`, indicating that no valid value is 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. Valid value: Enable, Disable
Note: this field may return `null`, indicating that no valid value is obtained.Copyright © 2023. All rights reserved.