Record Class SessionInfoEvent.SessionInfoEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionInfoEvent.SessionInfoEventData
- Enclosing class:
SessionInfoEvent
-
Constructor Summary
ConstructorsConstructorDescriptionSessionInfoEventData(String infoType, String message, String url, String tip) Creates an instance of aSessionInfoEventDatarecord 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.infoType()Returns the value of theinfoTyperecord component.message()Returns the value of themessagerecord component.tip()Returns the value of thetiprecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
SessionInfoEventData
Creates an instance of aSessionInfoEventDatarecord class.- Parameters:
infoType- the value for theinfoTyperecord componentmessage- the value for themessagerecord componenturl- the value for theurlrecord componenttip- the value for thetiprecord 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). -
infoType
Returns the value of theinfoTyperecord component.- Returns:
- the value of the
infoTyperecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
tip
Returns the value of thetiprecord component.- Returns:
- the value of the
tiprecord component
-