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, AssistantUsageApiEndpoint apiEndpoint, ModelCallFailureTransport transport, ModelCallFailureKind failureKind, Long maxPromptTokens, Long maxOutputTokens, Boolean isByok, Boolean isAuto, String reasoningEffort, 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, AssistantUsageApiEndpoint apiEndpoint, ModelCallFailureTransport transport, ModelCallFailureKind failureKind, Long maxPromptTokens, Long maxOutputTokens, Boolean isByok, Boolean isAuto, String reasoningEffort, 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 theapiEndpointrecord 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.Returns the value of thefailureKindrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinitiatorrecord 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 theproviderCallIdrecord component.Returns the value of thequotaSnapshotsrecord component.Returns the value of thereasoningEffortrecord 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.Returns the value of thetransportrecord component.
-
Constructor Details
-
ModelCallFailureEventData
public ModelCallFailureEventData(String model, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Long statusCode, Long durationMs, AssistantUsageApiEndpoint apiEndpoint, ModelCallFailureTransport transport, ModelCallFailureKind failureKind, Long maxPromptTokens, Long maxOutputTokens, Boolean isByok, Boolean isAuto, String reasoningEffort, 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 componentapiEndpoint- the value for theapiEndpointrecord componenttransport- the value for thetransportrecord componentfailureKind- the value for thefailureKindrecord componentmaxPromptTokens- the value for themaxPromptTokensrecord componentmaxOutputTokens- the value for themaxOutputTokensrecord componentisByok- the value for theisByokrecord componentisAuto- the value for theisAutorecord componentreasoningEffort- the value for thereasoningEffortrecord 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
-
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
-
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
-
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
-
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
-