Record Class MeetingRecordingCheckModel
java.lang.Object
java.lang.Record
org.exoplatform.webconferencing.mcp.model.MeetingRecordingCheckModel
- Record Components:
conferenceUrl- the meeting link, as givenrecordedFrom- the window's start, as givenrecordedTo- the window's end, as givenrecordingCount- how many recordings the user can open in that windowreason- when there are none:NO_RECORDINGorOTHER_PROVIDER; absent otherwise
public record MeetingRecordingCheckModel(String conferenceUrl, String recordedFrom, String recordedTo, int recordingCount, String reason)
extends Record
Whether one meeting, a conference link within a time window, has
recordings the user can open (EXO-95138): the answer of
get_meeting_recordings for each meeting it is given at once, so
that the assistant finds which of several meetings was recorded before it
reads any transcript.-
Constructor Summary
ConstructorsConstructorDescriptionMeetingRecordingCheckModel(String conferenceUrl, String recordedFrom, String recordedTo, int recordingCount, String reason) Creates an instance of aMeetingRecordingCheckModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconferenceUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.Returns the value of therecordedFromrecord component.Returns the value of therecordedTorecord component.intReturns the value of therecordingCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MeetingRecordingCheckModel
public MeetingRecordingCheckModel(String conferenceUrl, String recordedFrom, String recordedTo, int recordingCount, String reason) Creates an instance of aMeetingRecordingCheckModelrecord class.- Parameters:
conferenceUrl- the value for theconferenceUrlrecord componentrecordedFrom- the value for therecordedFromrecord componentrecordedTo- the value for therecordedTorecord componentrecordingCount- the value for therecordingCountrecord componentreason- the value for thereasonrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
conferenceUrl
Returns the value of theconferenceUrlrecord component.- Returns:
- the value of the
conferenceUrlrecord component
-
recordedFrom
Returns the value of therecordedFromrecord component.- Returns:
- the value of the
recordedFromrecord component
-
recordedTo
Returns the value of therecordedTorecord component.- Returns:
- the value of the
recordedTorecord component
-
recordingCount
public int recordingCount()Returns the value of therecordingCountrecord component.- Returns:
- the value of the
recordingCountrecord component
-
reason
-