Class Room

java.lang.Object
io.gs2.chat.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)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Room withUserId(String userId)
    • getMetadata

      public String getMetadata()
    • setMetadata

      public void setMetadata(String metadata)
    • withMetadata

      public Room withMetadata(String metadata)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • withPassword

      public Room withPassword(String password)
    • getWhiteListUserIds

      public List<String> getWhiteListUserIds()
    • setWhiteListUserIds

      public void setWhiteListUserIds(List<String> whiteListUserIds)
    • withWhiteListUserIds

      public Room withWhiteListUserIds(List<String> whiteListUserIds)
    • 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