Package com.github.copilot.sdk.generated
Record Class SessionInfoEvent.SessionInfoEventData
java.lang.Object
java.lang.Record
com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
- Enclosing class:
- SessionInfoEvent
public static record SessionInfoEvent.SessionInfoEventData(String infoType, String message, String url, String tip)
extends Record
Data payload for
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
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). -
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
-