Record Class MeetingRecordingCheckModel

java.lang.Object
java.lang.Record
org.exoplatform.webconferencing.mcp.model.MeetingRecordingCheckModel
Record Components:
conferenceUrl - the meeting link, as given
recordedFrom - the window's start, as given
recordedTo - the window's end, as given
recordingCount - how many recordings the user can open in that window
reason - when there are none: NO_RECORDING or OTHER_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 Details

    • MeetingRecordingCheckModel

      public MeetingRecordingCheckModel(String conferenceUrl, String recordedFrom, String recordedTo, int recordingCount, String reason)
      Creates an instance of a MeetingRecordingCheckModel record class.
      Parameters:
      conferenceUrl - the value for the conferenceUrl record component
      recordedFrom - the value for the recordedFrom record component
      recordedTo - the value for the recordedTo record component
      recordingCount - the value for the recordingCount record component
      reason - the value for the reason record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • conferenceUrl

      public String conferenceUrl()
      Returns the value of the conferenceUrl record component.
      Returns:
      the value of the conferenceUrl record component
    • recordedFrom

      public String recordedFrom()
      Returns the value of the recordedFrom record component.
      Returns:
      the value of the recordedFrom record component
    • recordedTo

      public String recordedTo()
      Returns the value of the recordedTo record component.
      Returns:
      the value of the recordedTo record component
    • recordingCount

      public int recordingCount()
      Returns the value of the recordingCount record component.
      Returns:
      the value of the recordingCount record component
    • reason

      public String reason()
      Returns the value of the reason record component.
      Returns:
      the value of the reason record component