public class Room extends Object implements Serializable, Comparable<Room>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
createdAt
作成日時
|
protected String |
encryptionKey
暗号鍵
|
protected String |
ipAddress
IPアドレス
|
protected String |
name
ルーム名
|
protected List<String> |
notificationUserIds
ルームの作成が終わったときに通知を受けるユーザIDリスト
|
protected Integer |
port
待受ポート
|
protected String |
roomId
ルーム
|
protected Long |
updatedAt
最終更新日時
|
| Constructor and Description |
|---|
Room() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Room o) |
boolean |
equals(Object o) |
Long |
getCreatedAt()
作成日時を取得
|
String |
getEncryptionKey()
暗号鍵を取得
|
String |
getIpAddress()
IPアドレスを取得
|
String |
getName()
ルーム名を取得
|
List<String> |
getNotificationUserIds()
ルームの作成が終わったときに通知を受けるユーザIDリストを取得
|
Integer |
getPort()
待受ポートを取得
|
String |
getRoomId()
ルームを取得
|
Long |
getUpdatedAt()
最終更新日時を取得
|
int |
hashCode() |
void |
setCreatedAt(Long createdAt)
作成日時を設定
|
void |
setEncryptionKey(String encryptionKey)
暗号鍵を設定
|
void |
setIpAddress(String ipAddress)
IPアドレスを設定
|
void |
setName(String name)
ルーム名を設定
|
void |
setNotificationUserIds(List<String> notificationUserIds)
ルームの作成が終わったときに通知を受けるユーザIDリストを設定
|
void |
setPort(Integer port)
待受ポートを設定
|
void |
setRoomId(String roomId)
ルームを設定
|
void |
setUpdatedAt(Long updatedAt)
最終更新日時を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Room |
withCreatedAt(Long createdAt)
作成日時を設定
|
Room |
withEncryptionKey(String encryptionKey)
暗号鍵を設定
|
Room |
withIpAddress(String ipAddress)
IPアドレスを設定
|
Room |
withName(String name)
ルーム名を設定
|
Room |
withNotificationUserIds(List<String> notificationUserIds)
ルームの作成が終わったときに通知を受けるユーザIDリストを設定
|
Room |
withPort(Integer port)
待受ポートを設定
|
Room |
withRoomId(String roomId)
ルームを設定
|
Room |
withUpdatedAt(Long updatedAt)
最終更新日時を設定
|
protected String roomId
protected String name
protected String ipAddress
protected Integer port
protected String encryptionKey
protected Long createdAt
protected Long updatedAt
public String getRoomId()
public void setRoomId(String roomId)
roomId - ルームpublic String getName()
public void setName(String name)
name - ルーム名public String getIpAddress()
public void setIpAddress(String ipAddress)
ipAddress - IPアドレスpublic Room withIpAddress(String ipAddress)
ipAddress - IPアドレスpublic Integer getPort()
public void setPort(Integer port)
port - 待受ポートpublic String getEncryptionKey()
public void setEncryptionKey(String encryptionKey)
encryptionKey - 暗号鍵public Room withEncryptionKey(String encryptionKey)
encryptionKey - 暗号鍵public List<String> getNotificationUserIds()
public void setNotificationUserIds(List<String> notificationUserIds)
notificationUserIds - ルームの作成が終わったときに通知を受けるユーザIDリストpublic Room withNotificationUserIds(List<String> notificationUserIds)
notificationUserIds - ルームの作成が終わったときに通知を受けるユーザIDリストpublic Long getCreatedAt()
public void setCreatedAt(Long createdAt)
createdAt - 作成日時public Room withCreatedAt(Long createdAt)
createdAt - 作成日時public Long getUpdatedAt()
public void setUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public Room withUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(Room o)
compareTo in interface Comparable<Room>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.