Record Class ModelCallFailureEvent.ModelCallFailureEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.ModelCallFailureEvent.ModelCallFailureEventData
- Enclosing class:
ModelCallFailureEvent
public static record ModelCallFailureEvent.ModelCallFailureEventData(String model, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Long statusCode, Long durationMs, ModelCallFailureSource source, String errorMessage, ModelCallFailureBadRequestKind badRequestKind, String errorCode, String errorType, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, ModelCallFailureRequestFingerprint requestFingerprint)
extends Record
Data payload for
ModelCallFailureEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelCallFailureEventData(String model, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Long statusCode, Long durationMs, ModelCallFailureSource source, String errorMessage, ModelCallFailureBadRequestKind badRequestKind, String errorCode, String errorType, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, ModelCallFailureRequestFingerprint requestFingerprint) Creates an instance of aModelCallFailureEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapiCallIdrecord component.Returns the value of thebadRequestKindrecord component.Returns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCoderecord component.Returns the value of theerrorMessagerecord component.Returns the value of theerrorTyperecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinitiatorrecord component.model()Returns the value of themodelrecord component.Returns the value of theproviderCallIdrecord component.Returns the value of thequotaSnapshotsrecord component.Returns the value of therequestFingerprintrecord component.Returns the value of theserviceRequestIdrecord component.source()Returns the value of thesourcerecord component.Returns the value of thestatusCoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelCallFailureEventData
public ModelCallFailureEventData(String model, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Long statusCode, Long durationMs, ModelCallFailureSource source, String errorMessage, ModelCallFailureBadRequestKind badRequestKind, String errorCode, String errorType, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, ModelCallFailureRequestFingerprint requestFingerprint) Creates an instance of aModelCallFailureEventDatarecord class.- Parameters:
model- the value for themodelrecord componentinitiator- the value for theinitiatorrecord componentapiCallId- the value for theapiCallIdrecord componentproviderCallId- the value for theproviderCallIdrecord componentserviceRequestId- the value for theserviceRequestIdrecord componentstatusCode- the value for thestatusCoderecord componentdurationMs- the value for thedurationMsrecord componentsource- the value for thesourcerecord componenterrorMessage- the value for theerrorMessagerecord componentbadRequestKind- the value for thebadRequestKindrecord componenterrorCode- the value for theerrorCoderecord componenterrorType- the value for theerrorTyperecord componentquotaSnapshots- the value for thequotaSnapshotsrecord componentrequestFingerprint- the value for therequestFingerprintrecord 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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
initiator
Returns the value of theinitiatorrecord component.- Returns:
- the value of the
initiatorrecord component
-
apiCallId
Returns the value of theapiCallIdrecord component.- Returns:
- the value of the
apiCallIdrecord 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
-
statusCode
Returns the value of thestatusCoderecord component.- Returns:
- the value of the
statusCoderecord component
-
durationMs
Returns the value of thedurationMsrecord component.- Returns:
- the value of the
durationMsrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
badRequestKind
Returns the value of thebadRequestKindrecord component.- Returns:
- the value of the
badRequestKindrecord component
-
errorCode
Returns the value of theerrorCoderecord component.- Returns:
- the value of the
errorCoderecord component
-
errorType
Returns the value of theerrorTyperecord component.- Returns:
- the value of the
errorTyperecord component
-
quotaSnapshots
Returns the value of thequotaSnapshotsrecord component.- Returns:
- the value of the
quotaSnapshotsrecord component
-
requestFingerprint
Returns the value of therequestFingerprintrecord component.- Returns:
- the value of the
requestFingerprintrecord component
-