Record Class McpPlanTarget
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanTarget
@Generated("copilot-sdk-codegen")
public record McpPlanTarget(McpPlanScope scope, String configKey)
extends Record
Where a plan would be written.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanTarget(McpPlanScope scope, String configKey) Creates an instance of aMcpPlanTargetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpPlanTarget
Creates an instance of aMcpPlanTargetrecord class.- Parameters:
scope- the value for thescoperecord componentconfigKey- the value for theconfigKeyrecord 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). -
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
configKey
Returns the value of theconfigKeyrecord component.- Returns:
- the value of the
configKeyrecord component
-