Record Class FusionAttribution
java.lang.Object
java.lang.Record
com.github.copilot.generated.FusionAttribution
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record FusionAttribution(Boolean hasUserSteering, String fusionId, String commitId, String syntheticModel, String policy, String pattern, String phaseId, String phaseKind, String role, String sourceModel, String conversationScope, String sourcePhaseId)
extends Record
Experimental attribution linking an ordinary event to the HydraFusion turn, phase, and concrete source that produced it.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFusionAttribution(Boolean hasUserSteering, String fusionId, String commitId, String syntheticModel, String policy, String pattern, String phaseId, String phaseKind, String role, String sourceModel, String conversationScope, String sourcePhaseId) Creates an instance of aFusionAttributionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncommitId()Returns the value of thecommitIdrecord 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.Returns the value of thehasUserSteeringrecord component.pattern()Returns the value of thepatternrecord component.phaseId()Returns the value of thephaseIdrecord component.Returns the value of thephaseKindrecord component.policy()Returns the value of thepolicyrecord component.role()Returns the value of therolerecord component.Returns the value of thesourceModelrecord component.Returns the value of thesourcePhaseIdrecord component.Returns the value of thesyntheticModelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FusionAttribution
public FusionAttribution(Boolean hasUserSteering, String fusionId, String commitId, String syntheticModel, String policy, String pattern, String phaseId, String phaseKind, String role, String sourceModel, String conversationScope, String sourcePhaseId) Creates an instance of aFusionAttributionrecord class.- Parameters:
hasUserSteering- the value for thehasUserSteeringrecord componentfusionId- the value for thefusionIdrecord componentcommitId- the value for thecommitIdrecord componentsyntheticModel- the value for thesyntheticModelrecord componentpolicy- the value for thepolicyrecord componentpattern- the value for thepatternrecord componentphaseId- the value for thephaseIdrecord componentphaseKind- the value for thephaseKindrecord componentrole- the value for therolerecord componentsourceModel- the value for thesourceModelrecord componentconversationScope- the value for theconversationScoperecord componentsourcePhaseId- the value for thesourcePhaseIdrecord 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). -
hasUserSteering
Returns the value of thehasUserSteeringrecord component.- Returns:
- the value of the
hasUserSteeringrecord component
-
fusionId
Returns the value of thefusionIdrecord component.- Returns:
- the value of the
fusionIdrecord component
-
commitId
Returns the value of thecommitIdrecord component.- Returns:
- the value of the
commitIdrecord component
-
syntheticModel
Returns the value of thesyntheticModelrecord component.- Returns:
- the value of the
syntheticModelrecord component
-
policy
Returns the value of thepolicyrecord component.- Returns:
- the value of the
policyrecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord 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
-
sourceModel
Returns the value of thesourceModelrecord component.- Returns:
- the value of the
sourceModelrecord component
-
conversationScope
Returns the value of theconversationScoperecord component.- Returns:
- the value of the
conversationScoperecord component
-
sourcePhaseId
Returns the value of thesourcePhaseIdrecord component.- Returns:
- the value of the
sourcePhaseIdrecord component
-