public class Session extends Object implements IModel, Serializable, Comparable<Session>
| Modifier and Type | Field and Description |
|---|---|
protected String |
apiId
API Gateway の APIID
|
protected Long |
createdAt
作成日時
|
protected String |
ownerId
オーナーID
|
protected String |
sessionId
WebSocketセッション のGRN
|
protected String |
sessionName
WebSocketセッション名
|
protected Long |
updatedAt
最終更新日時
|
protected String |
userId
ユーザーID
|
| Constructor and Description |
|---|
Session() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Session o) |
boolean |
equals(Object o) |
String |
getApiId()
API Gateway の APIIDを取得
|
Long |
getCreatedAt()
作成日時を取得
|
String |
getOwnerId()
オーナーIDを取得
|
String |
getSessionId()
WebSocketセッション のGRNを取得
|
String |
getSessionName()
WebSocketセッション名を取得
|
Long |
getUpdatedAt()
最終更新日時を取得
|
String |
getUserId()
ユーザーIDを取得
|
int |
hashCode() |
void |
setApiId(String apiId)
API Gateway の APIIDを設定
|
void |
setCreatedAt(Long createdAt)
作成日時を設定
|
void |
setOwnerId(String ownerId)
オーナーIDを設定
|
void |
setSessionId(String sessionId)
WebSocketセッション のGRNを設定
|
void |
setSessionName(String sessionName)
WebSocketセッション名を設定
|
void |
setUpdatedAt(Long updatedAt)
最終更新日時を設定
|
void |
setUserId(String userId)
ユーザーIDを設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Session |
withApiId(String apiId)
API Gateway の APIIDを設定
|
Session |
withCreatedAt(Long createdAt)
作成日時を設定
|
Session |
withOwnerId(String ownerId)
オーナーIDを設定
|
Session |
withSessionId(String sessionId)
WebSocketセッション のGRNを設定
|
Session |
withSessionName(String sessionName)
WebSocketセッション名を設定
|
Session |
withUpdatedAt(Long updatedAt)
最終更新日時を設定
|
Session |
withUserId(String userId)
ユーザーIDを設定
|
protected String sessionId
protected String ownerId
protected String userId
protected String sessionName
protected String apiId
protected Long createdAt
protected Long updatedAt
public String getSessionId()
public void setSessionId(String sessionId)
sessionId - WebSocketセッション のGRNpublic Session withSessionId(String sessionId)
sessionId - WebSocketセッション のGRNpublic String getOwnerId()
public void setOwnerId(String ownerId)
ownerId - オーナーIDpublic Session withOwnerId(String ownerId)
ownerId - オーナーIDpublic String getUserId()
public void setUserId(String userId)
userId - ユーザーIDpublic Session withUserId(String userId)
userId - ユーザーIDpublic String getSessionName()
public void setSessionName(String sessionName)
sessionName - WebSocketセッション名public Session withSessionName(String sessionName)
sessionName - WebSocketセッション名public String getApiId()
public void setApiId(String apiId)
apiId - API Gateway の APIIDpublic Session withApiId(String apiId)
apiId - API Gateway の APIIDpublic Long getCreatedAt()
public void setCreatedAt(Long createdAt)
createdAt - 作成日時public Session withCreatedAt(Long createdAt)
createdAt - 作成日時public Long getUpdatedAt()
public void setUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public Session withUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(Session o)
compareTo in interface Comparable<Session>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.