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 parentToolCallId, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Boolean rte, Long statusCode, Long durationMs, AssistantUsageApiEndpoint apiEndpoint, ModelCallFailureTransport transport, ModelCallFailureKind failureKind, Long requestBodyBytes, Long requestBodyWireBytes, ModelCallRequestBodyEncoding requestBodyEncoding, Long retryAttempt, ModelCallWebSocketFallbackReason websocketFallbackReason, Long websocketFallbackAfterMs, ModelCallWebSocketFallbackErrorKind websocketFallbackErrorKind, Long websocketFallbackStatusCode, Long websocketFallbackCloseCode, Boolean websocketFallbackReconnectAttempted, Boolean websocketFallbackStartedThisCall, Long maxPromptTokens, Long maxOutputTokens, Boolean isByok, String byokKind, String modelProvider, Boolean isAuto, String reasoningEffort, String interactionType, ModelCallFailureSource source, String errorMessage, ModelCallFailureBadRequestKind badRequestKind, String errorCode, String errorType, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, ModelCallFailureRequestFingerprint requestFingerprint, FusionAttribution fusion)
extends Record
Data payload for
ModelCallFailureEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelCallFailureEventData(String model, String parentToolCallId, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Boolean rte, Long statusCode, Long durationMs, AssistantUsageApiEndpoint apiEndpoint, ModelCallFailureTransport transport, ModelCallFailureKind failureKind, Long requestBodyBytes, Long requestBodyWireBytes, ModelCallRequestBodyEncoding requestBodyEncoding, Long retryAttempt, ModelCallWebSocketFallbackReason websocketFallbackReason, Long websocketFallbackAfterMs, ModelCallWebSocketFallbackErrorKind websocketFallbackErrorKind, Long websocketFallbackStatusCode, Long websocketFallbackCloseCode, Boolean websocketFallbackReconnectAttempted, Boolean websocketFallbackStartedThisCall, Long maxPromptTokens, Long maxOutputTokens, Boolean isByok, String byokKind, String modelProvider, Boolean isAuto, String reasoningEffort, String interactionType, ModelCallFailureSource source, String errorMessage, ModelCallFailureBadRequestKind badRequestKind, String errorCode, String errorType, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, ModelCallFailureRequestFingerprint requestFingerprint, FusionAttribution fusion) Creates an instance of aModelCallFailureEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapiCallIdrecord component.Returns the value of theapiEndpointrecord component.Returns the value of thebadRequestKindrecord component.byokKind()Returns the value of thebyokKindrecord 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.Returns the value of thefailureKindrecord component.fusion()Returns the value of thefusionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinitiatorrecord component.Returns the value of theinteractionTyperecord component.isAuto()Returns the value of theisAutorecord component.isByok()Returns the value of theisByokrecord component.Returns the value of themaxOutputTokensrecord component.Returns the value of themaxPromptTokensrecord component.model()Returns the value of themodelrecord component.Returns the value of themodelProviderrecord component.Returns the value of theparentToolCallIdrecord component.Returns the value of theproviderCallIdrecord component.Returns the value of thequotaSnapshotsrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of therequestBodyBytesrecord component.Returns the value of therequestBodyEncodingrecord component.Returns the value of therequestBodyWireBytesrecord component.Returns the value of therequestFingerprintrecord component.Returns the value of theretryAttemptrecord component.rte()Returns the value of therterecord 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.Returns the value of thetransportrecord component.Returns the value of thewebsocketFallbackAfterMsrecord component.Returns the value of thewebsocketFallbackCloseCoderecord component.Returns the value of thewebsocketFallbackErrorKindrecord component.Returns the value of thewebsocketFallbackReasonrecord component.Returns the value of thewebsocketFallbackReconnectAttemptedrecord component.Returns the value of thewebsocketFallbackStartedThisCallrecord component.Returns the value of thewebsocketFallbackStatusCoderecord component.
-
Constructor Details
-
ModelCallFailureEventData
public ModelCallFailureEventData(String model, String parentToolCallId, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Boolean rte, Long statusCode, Long durationMs, AssistantUsageApiEndpoint apiEndpoint, ModelCallFailureTransport transport, ModelCallFailureKind failureKind, Long requestBodyBytes, Long requestBodyWireBytes, ModelCallRequestBodyEncoding requestBodyEncoding, Long retryAttempt, ModelCallWebSocketFallbackReason websocketFallbackReason, Long websocketFallbackAfterMs, ModelCallWebSocketFallbackErrorKind websocketFallbackErrorKind, Long websocketFallbackStatusCode, Long websocketFallbackCloseCode, Boolean websocketFallbackReconnectAttempted, Boolean websocketFallbackStartedThisCall, Long maxPromptTokens, Long maxOutputTokens, Boolean isByok, String byokKind, String modelProvider, Boolean isAuto, String reasoningEffort, String interactionType, ModelCallFailureSource source, String errorMessage, ModelCallFailureBadRequestKind badRequestKind, String errorCode, String errorType, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, ModelCallFailureRequestFingerprint requestFingerprint, FusionAttribution fusion) Creates an instance of aModelCallFailureEventDatarecord class.- Parameters:
model- the value for themodelrecord componentparentToolCallId- the value for theparentToolCallIdrecord componentinitiator- the value for theinitiatorrecord componentapiCallId- the value for theapiCallIdrecord componentproviderCallId- the value for theproviderCallIdrecord componentserviceRequestId- the value for theserviceRequestIdrecord componentrte- the value for therterecord componentstatusCode- the value for thestatusCoderecord componentdurationMs- the value for thedurationMsrecord componentapiEndpoint- the value for theapiEndpointrecord componenttransport- the value for thetransportrecord componentfailureKind- the value for thefailureKindrecord componentrequestBodyBytes- the value for therequestBodyBytesrecord componentrequestBodyWireBytes- the value for therequestBodyWireBytesrecord componentrequestBodyEncoding- the value for therequestBodyEncodingrecord componentretryAttempt- the value for theretryAttemptrecord componentwebsocketFallbackReason- the value for thewebsocketFallbackReasonrecord componentwebsocketFallbackAfterMs- the value for thewebsocketFallbackAfterMsrecord componentwebsocketFallbackErrorKind- the value for thewebsocketFallbackErrorKindrecord componentwebsocketFallbackStatusCode- the value for thewebsocketFallbackStatusCoderecord componentwebsocketFallbackCloseCode- the value for thewebsocketFallbackCloseCoderecord componentwebsocketFallbackReconnectAttempted- the value for thewebsocketFallbackReconnectAttemptedrecord componentwebsocketFallbackStartedThisCall- the value for thewebsocketFallbackStartedThisCallrecord componentmaxPromptTokens- the value for themaxPromptTokensrecord componentmaxOutputTokens- the value for themaxOutputTokensrecord componentisByok- the value for theisByokrecord componentbyokKind- the value for thebyokKindrecord componentmodelProvider- the value for themodelProviderrecord componentisAuto- the value for theisAutorecord componentreasoningEffort- the value for thereasoningEffortrecord componentinteractionType- the value for theinteractionTyperecord 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 componentfusion- the value for thefusionrecord 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
-
parentToolCallId
Returns the value of theparentToolCallIdrecord component.- Returns:
- the value of the
parentToolCallIdrecord 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
-
rte
Returns the value of therterecord component.- Returns:
- the value of the
rterecord 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
-
apiEndpoint
Returns the value of theapiEndpointrecord component.- Returns:
- the value of the
apiEndpointrecord component
-
transport
Returns the value of thetransportrecord component.- Returns:
- the value of the
transportrecord component
-
failureKind
Returns the value of thefailureKindrecord component.- Returns:
- the value of the
failureKindrecord component
-
requestBodyBytes
Returns the value of therequestBodyBytesrecord component.- Returns:
- the value of the
requestBodyBytesrecord component
-
requestBodyWireBytes
Returns the value of therequestBodyWireBytesrecord component.- Returns:
- the value of the
requestBodyWireBytesrecord component
-
requestBodyEncoding
Returns the value of therequestBodyEncodingrecord component.- Returns:
- the value of the
requestBodyEncodingrecord component
-
retryAttempt
Returns the value of theretryAttemptrecord component.- Returns:
- the value of the
retryAttemptrecord component
-
websocketFallbackReason
Returns the value of thewebsocketFallbackReasonrecord component.- Returns:
- the value of the
websocketFallbackReasonrecord component
-
websocketFallbackAfterMs
Returns the value of thewebsocketFallbackAfterMsrecord component.- Returns:
- the value of the
websocketFallbackAfterMsrecord component
-
websocketFallbackErrorKind
Returns the value of thewebsocketFallbackErrorKindrecord component.- Returns:
- the value of the
websocketFallbackErrorKindrecord component
-
websocketFallbackStatusCode
Returns the value of thewebsocketFallbackStatusCoderecord component.- Returns:
- the value of the
websocketFallbackStatusCoderecord component
-
websocketFallbackCloseCode
Returns the value of thewebsocketFallbackCloseCoderecord component.- Returns:
- the value of the
websocketFallbackCloseCoderecord component
-
websocketFallbackReconnectAttempted
Returns the value of thewebsocketFallbackReconnectAttemptedrecord component.- Returns:
- the value of the
websocketFallbackReconnectAttemptedrecord component
-
websocketFallbackStartedThisCall
Returns the value of thewebsocketFallbackStartedThisCallrecord component.- Returns:
- the value of the
websocketFallbackStartedThisCallrecord component
-
maxPromptTokens
Returns the value of themaxPromptTokensrecord component.- Returns:
- the value of the
maxPromptTokensrecord component
-
maxOutputTokens
Returns the value of themaxOutputTokensrecord component.- Returns:
- the value of the
maxOutputTokensrecord component
-
isByok
Returns the value of theisByokrecord component.- Returns:
- the value of the
isByokrecord component
-
byokKind
Returns the value of thebyokKindrecord component.- Returns:
- the value of the
byokKindrecord component
-
modelProvider
Returns the value of themodelProviderrecord component.- Returns:
- the value of the
modelProviderrecord component
-
isAuto
Returns the value of theisAutorecord component.- Returns:
- the value of the
isAutorecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
interactionType
Returns the value of theinteractionTyperecord component.- Returns:
- the value of the
interactionTyperecord 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
-
fusion
Returns the value of thefusionrecord component.- Returns:
- the value of the
fusionrecord component
-