Record Class MeetingResponse
java.lang.Object
java.lang.Record
inha.dayoook_e.lesson.api.controller.dto.response.MeetingResponse
-
Constructor Summary
ConstructorsConstructorDescriptionMeetingResponse
(String meeting_uri, String created_at, String status, String event_id) Creates an instance of aMeetingResponse
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreated_at
record component.final boolean
Indicates whether some other object is "equal to" this one.event_id()
Returns the value of theevent_id
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of themeeting_uri
record component.status()
Returns the value of thestatus
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
MeetingResponse
Creates an instance of aMeetingResponse
record class.- Parameters:
meeting_uri
- the value for themeeting_uri
record componentcreated_at
- the value for thecreated_at
record componentstatus
- the value for thestatus
record componentevent_id
- the value for theevent_id
record component
-
-
Method Details
-
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. -
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. -
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
meeting_uri
Returns the value of themeeting_uri
record component.- Returns:
- the value of the
meeting_uri
record component
-
created_at
Returns the value of thecreated_at
record component.- Returns:
- the value of the
created_at
record component
-
status
Returns the value of thestatus
record component.- Returns:
- the value of the
status
record component
-
event_id
Returns the value of theevent_id
record component.- Returns:
- the value of the
event_id
record component
-