CommunicationRoom Class
- java.
lang. Object - com.
azure. communication. rooms. models. CommunicationRoom
- com.
public final class CommunicationRoom
The CommunicationRoom model.
Constructor Summary
| Constructor | Description |
|---|---|
| CommunicationRoom(String roomId, OffsetDateTime validFrom, OffsetDateTime validUntil, OffsetDateTime createdAt) |
The default constructor of Communication |
| CommunicationRoom(String roomId, OffsetDateTime validFrom, OffsetDateTime validUntil, OffsetDateTime createdAt, Boolean pstnDialOutEnabled) |
Overloaded constructor of Communication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
getCreatedAt()
Get the created |
| String |
getRoomId()
Get the id property: Unique identifier of a room. |
|
Offset |
getValidFrom()
Get the valid |
|
Offset |
getValidUntil()
Get the valid |
| Boolean |
isPstnDialOutEnabled()
Get the pstn |
Methods inherited from java.lang.Object
Constructor Details
CommunicationRoom
public CommunicationRoom(String roomId, OffsetDateTime validFrom, OffsetDateTime validUntil, OffsetDateTime createdAt)
The default constructor of CommunicationRoom.
Parameters:
yyyy-MM-ddTHH:mm:ssZ.
yyyy-MM-ddTHH:mm:ssZ.
yyyy-MM-ddTHH:mm:ssZ.
CommunicationRoom
public CommunicationRoom(String roomId, OffsetDateTime validFrom, OffsetDateTime validUntil, OffsetDateTime createdAt, Boolean pstnDialOutEnabled)
Overloaded constructor of CommunicationRoom.
Parameters:
yyyy-MM-ddTHH:mm:ssZ.
yyyy-MM-ddTHH:mm:ssZ.
yyyy-MM-ddTHH:mm:ssZ.
Method Details
getCreatedAt
public OffsetDateTime getCreatedAt()
Get the createdAt property: The timestamp when the room was created at the server. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
Returns:
getRoomId
public String getRoomId()
Get the id property: Unique identifier of a room. This id is server generated.
Returns:
getValidFrom
public OffsetDateTime getValidFrom()
Get the validFrom property: The timestamp from when the room is open for joining. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
Returns:
getValidUntil
public OffsetDateTime getValidUntil()
Get the validUntil property: The timestamp from when the room can no longer be joined. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
Returns:
isPstnDialOutEnabled
public Boolean isPstnDialOutEnabled()
Get the pstnDialOutEnabled property: Set this flag to true if, at the time of the call, dial out to a PSTN number is enabled in a particular room. By default, this flag is set to false.
Returns: