Class CommunicationRoom
java.lang.Object
com.azure.communication.rooms.models.CommunicationRoom
The CommunicationRoom model.
-
Constructor Summary
ConstructorsConstructorDescriptionCommunicationRoom
(String roomId, OffsetDateTime validFrom, OffsetDateTime validUntil, RoomJoinPolicy roomJoinPolicy, OffsetDateTime createdTime, List<RoomParticipant> participants) The default constructor of CommunicationRoom. -
Method Summary
Modifier and TypeMethodDescriptionGet the created time of the room.Get the participants of a room.Get the Room Id.Get the join policy.Get the valid starting time point of a room.Get the ending time point of a room.
-
Constructor Details
-
CommunicationRoom
public CommunicationRoom(String roomId, OffsetDateTime validFrom, OffsetDateTime validUntil, RoomJoinPolicy roomJoinPolicy, OffsetDateTime createdTime, List<RoomParticipant> participants) The default constructor of CommunicationRoom.- Parameters:
roomId
- The Room Id.validFrom
- The starting time point of the room.validUntil
- The ending time point of the room.roomJoinPolicy
- The join policy of the room.createdTime
- The created time point of the room.participants
- The participants of the room.
-
-
Method Details
-
getRoomId
Get the Room Id.- Returns:
- Room Id.
-
getParticipants
Get the participants of a room.- Returns:
- The participants of the room.
-
getValidFrom
Get the valid starting time point of a room.- Returns:
- The starting time of the room.
-
getValidUntil
Get the ending time point of a room.- Returns:
- The end time of the room.
-
getCreatedTime
Get the created time of the room.- Returns:
- The created time of the room.
-
getRoomJoinPolicy
Get the join policy.- Returns:
- The join policy of the room.
-