Record Class SessionErrorEvent.SessionErrorEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionErrorEvent.SessionErrorEventData
- Enclosing class:
SessionErrorEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeligibleForAutoSwitchrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCoderecord component.Returns the value of theerrorTyperecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.Returns the value of theproviderCallIdrecord component.Returns the value of theserviceRequestIdrecord component.stack()Returns the value of thestackrecord component.Returns the value of thestatusCoderecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
SessionErrorEventData
public SessionErrorEventData(String errorType, String errorCode, Boolean eligibleForAutoSwitch, String message, String stack, Long statusCode, String providerCallId, String serviceRequestId, String url) Creates an instance of aSessionErrorEventDatarecord class.- Parameters:
errorType- the value for theerrorTyperecord componenterrorCode- the value for theerrorCoderecord componenteligibleForAutoSwitch- the value for theeligibleForAutoSwitchrecord componentmessage- the value for themessagerecord componentstack- the value for thestackrecord componentstatusCode- the value for thestatusCoderecord componentproviderCallId- the value for theproviderCallIdrecord componentserviceRequestId- the value for theserviceRequestIdrecord componenturl- the value for theurlrecord 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). -
errorType
Returns the value of theerrorTyperecord component.- Returns:
- the value of the
errorTyperecord component
-
errorCode
Returns the value of theerrorCoderecord component.- Returns:
- the value of the
errorCoderecord component
-
eligibleForAutoSwitch
Returns the value of theeligibleForAutoSwitchrecord component.- Returns:
- the value of the
eligibleForAutoSwitchrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
stack
Returns the value of thestackrecord component.- Returns:
- the value of the
stackrecord component
-
statusCode
Returns the value of thestatusCoderecord component.- Returns:
- the value of the
statusCoderecord component
-
providerCallId
Returns the value of theproviderCallIdrecord component.- Returns:
- the value of the
providerCallIdrecord component
-
serviceRequestId
Returns the value of theserviceRequestIdrecord component.- Returns:
- the value of the
serviceRequestIdrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-