Record Class AssistantFusionPhaseActivityEvent.AssistantFusionPhaseActivityEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.AssistantFusionPhaseActivityEvent.AssistantFusionPhaseActivityEventData
- Enclosing class:
AssistantFusionPhaseActivityEvent
public static record AssistantFusionPhaseActivityEvent.AssistantFusionPhaseActivityEventData(String fusionId, String phaseId, FusionPhaseKind phaseKind, FusionPattern pattern, String role, FusionConversationScope conversationScope, FusionPhaseActivityKind activity, Long totalResponseSizeBytes, String toolCallId)
extends Record
Data payload for
AssistantFusionPhaseActivityEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAssistantFusionPhaseActivityEventData(String fusionId, String phaseId, FusionPhaseKind phaseKind, FusionPattern pattern, String role, FusionConversationScope conversationScope, FusionPhaseActivityKind activity, Long totalResponseSizeBytes, String toolCallId) Creates an instance of aAssistantFusionPhaseActivityEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionactivity()Returns the value of theactivityrecord component.Returns the value of theconversationScoperecord component.final booleanIndicates whether some other object is "equal to" this one.fusionId()Returns the value of thefusionIdrecord component.final inthashCode()Returns a hash code value for this object.pattern()Returns the value of thepatternrecord component.phaseId()Returns the value of thephaseIdrecord component.Returns the value of thephaseKindrecord component.role()Returns the value of therolerecord component.Returns the value of thetoolCallIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalResponseSizeBytesrecord component.
-
Constructor Details
-
AssistantFusionPhaseActivityEventData
public AssistantFusionPhaseActivityEventData(String fusionId, String phaseId, FusionPhaseKind phaseKind, FusionPattern pattern, String role, FusionConversationScope conversationScope, FusionPhaseActivityKind activity, Long totalResponseSizeBytes, String toolCallId) Creates an instance of aAssistantFusionPhaseActivityEventDatarecord class.- Parameters:
fusionId- the value for thefusionIdrecord componentphaseId- the value for thephaseIdrecord componentphaseKind- the value for thephaseKindrecord componentpattern- the value for thepatternrecord componentrole- the value for therolerecord componentconversationScope- the value for theconversationScoperecord componentactivity- the value for theactivityrecord componenttotalResponseSizeBytes- the value for thetotalResponseSizeBytesrecord componenttoolCallId- the value for thetoolCallIdrecord 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
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord 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
-
activity
Returns the value of theactivityrecord component.- Returns:
- the value of the
activityrecord component
-
totalResponseSizeBytes
Returns the value of thetotalResponseSizeBytesrecord component.- Returns:
- the value of the
totalResponseSizeBytesrecord component
-
toolCallId
Returns the value of thetoolCallIdrecord component.- Returns:
- the value of the
toolCallIdrecord component
-