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 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 a FusionAttribution record class.
      Parameters:
      hasUserSteering - the value for the hasUserSteering record component
      fusionId - the value for the fusionId record component
      commitId - the value for the commitId record component
      syntheticModel - the value for the syntheticModel record component
      policy - the value for the policy record component
      pattern - the value for the pattern record component
      phaseId - the value for the phaseId record component
      phaseKind - the value for the phaseKind record component
      role - the value for the role record component
      sourceModel - the value for the sourceModel record component
      conversationScope - the value for the conversationScope record component
      sourcePhaseId - the value for the sourcePhaseId record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • hasUserSteering

      public Boolean hasUserSteering()
      Returns the value of the hasUserSteering record component.
      Returns:
      the value of the hasUserSteering record component
    • fusionId

      public String fusionId()
      Returns the value of the fusionId record component.
      Returns:
      the value of the fusionId record component
    • commitId

      public String commitId()
      Returns the value of the commitId record component.
      Returns:
      the value of the commitId record component
    • syntheticModel

      public String syntheticModel()
      Returns the value of the syntheticModel record component.
      Returns:
      the value of the syntheticModel record component
    • policy

      public String policy()
      Returns the value of the policy record component.
      Returns:
      the value of the policy record component
    • pattern

      public String pattern()
      Returns the value of the pattern record component.
      Returns:
      the value of the pattern record component
    • phaseId

      public String phaseId()
      Returns the value of the phaseId record component.
      Returns:
      the value of the phaseId record component
    • phaseKind

      public String phaseKind()
      Returns the value of the phaseKind record component.
      Returns:
      the value of the phaseKind record component
    • role

      public String role()
      Returns the value of the role record component.
      Returns:
      the value of the role record component
    • sourceModel

      public String sourceModel()
      Returns the value of the sourceModel record component.
      Returns:
      the value of the sourceModel record component
    • conversationScope

      public String conversationScope()
      Returns the value of the conversationScope record component.
      Returns:
      the value of the conversationScope record component
    • sourcePhaseId

      public String sourcePhaseId()
      Returns the value of the sourcePhaseId record component.
      Returns:
      the value of the sourcePhaseId record component