Record Class McpPlanConfigurationChange
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanConfigurationChange
@Generated("copilot-sdk-codegen")
public record McpPlanConfigurationChange(McpPlanConfigurationOperation operation, McpPlanScope scope, String configKey, List<String> changedFields, List<String> secretReferences)
extends Record
The configuration-change alternative for the transportChoices entry at the same index. Only the selected alternative is applied; entries are not cumulative. The payload stays behind the runtime boundary.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanConfigurationChange(McpPlanConfigurationOperation operation, McpPlanScope scope, String configKey, List<String> changedFields, List<String> secretReferences) Creates an instance of aMcpPlanConfigurationChangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechangedFieldsrecord component.Returns 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.Returns the value of theoperationrecord component.scope()Returns the value of thescoperecord component.Returns the value of thesecretReferencesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpPlanConfigurationChange
public McpPlanConfigurationChange(McpPlanConfigurationOperation operation, McpPlanScope scope, String configKey, List<String> changedFields, List<String> secretReferences) Creates an instance of aMcpPlanConfigurationChangerecord class.- Parameters:
operation- the value for theoperationrecord componentscope- the value for thescoperecord componentconfigKey- the value for theconfigKeyrecord componentchangedFields- the value for thechangedFieldsrecord componentsecretReferences- the value for thesecretReferencesrecord 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). -
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
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
-
changedFields
-
secretReferences
-