Record Class RecordingCallEntity

java.lang.Object
java.lang.Record
org.exoplatform.webconferencing.rest.model.RecordingCallEntity
Record Components:
callId - the call id
providerType - the call's provider type, or null when unknown
ownerType - the type of the call's owner, space_event for the call of an agenda event, or null when unknown
startedDate - when the recording started, an ISO 8601 instant in UTC, or null when its file name does not tell it
recordedDate - when the recording was saved, an ISO 8601 instant in UTC, or null
graceHours - how many hours after an occurrence's end a recording saved then still belongs to it, as the recordings of an event's occurrence are listed

public record RecordingCallEntity(String callId, String providerType, String ownerType, String startedDate, String recordedDate, int graceHours) extends Record
The call a recording file was made in, as the recordings REST answers it.
  • Constructor Details

    • RecordingCallEntity

      public RecordingCallEntity(String callId, String providerType, String ownerType, String startedDate, String recordedDate, int graceHours)
      Creates an instance of a RecordingCallEntity record class.
      Parameters:
      callId - the value for the callId record component
      providerType - the value for the providerType record component
      ownerType - the value for the ownerType record component
      startedDate - the value for the startedDate record component
      recordedDate - the value for the recordedDate record component
      graceHours - the value for the graceHours 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.
    • callId

      public String callId()
      Returns the value of the callId record component.
      Returns:
      the value of the callId record component
    • providerType

      public String providerType()
      Returns the value of the providerType record component.
      Returns:
      the value of the providerType record component
    • ownerType

      public String ownerType()
      Returns the value of the ownerType record component.
      Returns:
      the value of the ownerType record component
    • startedDate

      public String startedDate()
      Returns the value of the startedDate record component.
      Returns:
      the value of the startedDate record component
    • recordedDate

      public String recordedDate()
      Returns the value of the recordedDate record component.
      Returns:
      the value of the recordedDate record component
    • graceHours

      public int graceHours()
      Returns the value of the graceHours record component.
      Returns:
      the value of the graceHours record component