Record Class McpPlanSecretPlaceholder
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanSecretPlaceholder
@Generated("copilot-sdk-codegen")
public record McpPlanSecretPlaceholder(String key, String placeholder, String title)
extends Record
A secret a transport choice needs, referenced by placeholder. No secret value ever appears in a plan, and the placeholder resolves against the keychain only when a plan is applied.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanSecretPlaceholder(String key, String placeholder, String title) Creates an instance of aMcpPlanSecretPlaceholderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.Returns the value of theplaceholderrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpPlanSecretPlaceholder
Creates an instance of aMcpPlanSecretPlaceholderrecord class.- Parameters:
key- the value for thekeyrecord componentplaceholder- the value for theplaceholderrecord componenttitle- the value for thetitlerecord 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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
placeholder
Returns the value of theplaceholderrecord component.- Returns:
- the value of the
placeholderrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-