Record Class FusionPhasePlanStep
java.lang.Object
java.lang.Record
com.github.copilot.generated.FusionPhasePlanStep
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record FusionPhasePlanStep(FusionPhaseKind kind, String role, FusionConversationScope scope, Boolean conditional)
extends Record
Presentation-neutral phase planned for a HydraFusion turn.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFusionPhasePlanStep(FusionPhaseKind kind, String role, FusionConversationScope scope, Boolean conditional) Creates an instance of aFusionPhasePlanSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconditionalrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.role()Returns the value of therolerecord component.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FusionPhasePlanStep
public FusionPhasePlanStep(FusionPhaseKind kind, String role, FusionConversationScope scope, Boolean conditional) Creates an instance of aFusionPhasePlanSteprecord class.- Parameters:
kind- the value for thekindrecord componentrole- the value for therolerecord componentscope- the value for thescoperecord componentconditional- the value for theconditionalrecord 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). -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
role
Returns the value of therolerecord component.- Returns:
- the value of the
rolerecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
conditional
Returns the value of theconditionalrecord component.- Returns:
- the value of the
conditionalrecord component
-