Record Class SessionLifecycleEventMetadata
java.lang.Object
java.lang.Record
com.github.copilot.rpc.SessionLifecycleEventMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionSessionLifecycleEventMetadata(String startTime, String modifiedTime, String summary) Creates an instance of aSessionLifecycleEventMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themodifiedTimerecord component.Returns the value of thestartTimerecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionLifecycleEventMetadata
Creates an instance of aSessionLifecycleEventMetadatarecord class.- Parameters:
startTime- the value for thestartTimerecord componentmodifiedTime- the value for themodifiedTimerecord componentsummary- the value for thesummaryrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
modifiedTime
Returns the value of themodifiedTimerecord component.- Returns:
- the value of the
modifiedTimerecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-