Record Class AssistantFusionPhaseFailedEvent.AssistantFusionPhaseFailedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.AssistantFusionPhaseFailedEvent.AssistantFusionPhaseFailedEventData
- Enclosing class:
AssistantFusionPhaseFailedEvent
@CopilotExperimental
public static record AssistantFusionPhaseFailedEvent.AssistantFusionPhaseFailedEventData(String fusionId, String phaseId, FusionPhaseKind phaseKind, String role, FusionConversationScope conversationScope, String model, String reasoningEffort, FusionPhaseStatus status, String reason, Double durationMs, FusionPhaseUsage usage, String errorMessage, String degradedToPhaseId)
extends Record
Data payload for
AssistantFusionPhaseFailedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAssistantFusionPhaseFailedEventData(String fusionId, String phaseId, FusionPhaseKind phaseKind, String role, FusionConversationScope conversationScope, String model, String reasoningEffort, FusionPhaseStatus status, String reason, Double durationMs, FusionPhaseUsage usage, String errorMessage, String degradedToPhaseId) Creates an instance of aAssistantFusionPhaseFailedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconversationScoperecord component.Returns the value of thedegradedToPhaseIdrecord component.Returns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.fusionId()Returns the value of thefusionIdrecord component.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.phaseId()Returns the value of thephaseIdrecord component.Returns the value of thephaseKindrecord component.reason()Returns the value of thereasonrecord component.Returns the value of thereasoningEffortrecord component.role()Returns the value of therolerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.usage()Returns the value of theusagerecord component.
-
Constructor Details
-
AssistantFusionPhaseFailedEventData
public AssistantFusionPhaseFailedEventData(String fusionId, String phaseId, FusionPhaseKind phaseKind, String role, FusionConversationScope conversationScope, String model, String reasoningEffort, FusionPhaseStatus status, String reason, Double durationMs, FusionPhaseUsage usage, String errorMessage, String degradedToPhaseId) Creates an instance of aAssistantFusionPhaseFailedEventDatarecord class.- Parameters:
fusionId- the value for thefusionIdrecord componentphaseId- the value for thephaseIdrecord componentphaseKind- the value for thephaseKindrecord componentrole- the value for therolerecord componentconversationScope- the value for theconversationScoperecord componentmodel- the value for themodelrecord componentreasoningEffort- the value for thereasoningEffortrecord componentstatus- the value for thestatusrecord componentreason- the value for thereasonrecord componentdurationMs- the value for thedurationMsrecord componentusage- the value for theusagerecord componenterrorMessage- the value for theerrorMessagerecord componentdegradedToPhaseId- the value for thedegradedToPhaseIdrecord 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). -
fusionId
Returns the value of thefusionIdrecord component.- Returns:
- the value of the
fusionIdrecord component
-
phaseId
Returns the value of thephaseIdrecord component.- Returns:
- the value of the
phaseIdrecord component
-
phaseKind
Returns the value of thephaseKindrecord component.- Returns:
- the value of the
phaseKindrecord component
-
role
Returns the value of therolerecord component.- Returns:
- the value of the
rolerecord component
-
conversationScope
Returns the value of theconversationScoperecord component.- Returns:
- the value of the
conversationScoperecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
durationMs
Returns the value of thedurationMsrecord component.- Returns:
- the value of the
durationMsrecord component
-
usage
Returns the value of theusagerecord component.- Returns:
- the value of the
usagerecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
degradedToPhaseId
Returns the value of thedegradedToPhaseIdrecord component.- Returns:
- the value of the
degradedToPhaseIdrecord component
-