Class Room

java.lang.Object
io.gs2.realtime.model.Room
All Implemented Interfaces:
IModel, Serializable, Comparable<Room>

public class Room extends Object implements IModel, Serializable, Comparable<Room>
See Also:
  • Constructor Details

    • Room

      public Room()
  • Method Details

    • getRoomId

      public String getRoomId()
    • setRoomId

      public void setRoomId(String roomId)
    • withRoomId

      public Room withRoomId(String roomId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public Room withName(String name)
    • getIpAddress

      public String getIpAddress()
    • setIpAddress

      public void setIpAddress(String ipAddress)
    • withIpAddress

      public Room withIpAddress(String ipAddress)
    • getPort

      public Integer getPort()
    • setPort

      public void setPort(Integer port)
    • withPort

      public Room withPort(Integer port)
    • getEncryptionKey

      public String getEncryptionKey()
    • setEncryptionKey

      public void setEncryptionKey(String encryptionKey)
    • withEncryptionKey

      public Room withEncryptionKey(String encryptionKey)
    • getNotificationUserIds

      public List<String> getNotificationUserIds()
    • setNotificationUserIds

      public void setNotificationUserIds(List<String> notificationUserIds)
    • withNotificationUserIds

      public Room withNotificationUserIds(List<String> notificationUserIds)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Room withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public Room withUpdatedAt(Long updatedAt)
    • getRevision

      public Long getRevision()
    • setRevision

      public void setRevision(Long revision)
    • withRevision

      public Room withRevision(Long revision)
    • fromJson

      public static Room fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(Room o)
      Specified by:
      compareTo in interface Comparable<Room>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object