Record Class McpPlanTransportChoicePackage
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanTransportChoicePackage
- All Implemented Interfaces:
McpPlanTransportChoice
@Generated("copilot-sdk-codegen")
public record McpPlanTransportChoicePackage(String choiceId, McpPlanPackageTransport transport, String installMethod, String packageType, String packageIdentifier, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders)
extends Record
implements McpPlanTransportChoice
An eligible local-package transport choice. Package identity is required and a remote endpoint cannot be represented.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanTransportChoicePackage(String choiceId, McpPlanPackageTransport transport, String installMethod, String packageType, String packageIdentifier, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders) Creates an instance of aMcpPlanTransportChoicePackagerecord class.McpPlanTransportChoicePackage(String choiceId, McpPlanPackageTransport transport, String packageType, String packageIdentifier, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders) -
Method Summary
Modifier and TypeMethodDescriptionchoiceId()Returns the value of thechoiceIdrecord 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 theinstallMethodrecord component.Returns the value of thepackageIdentifierrecord component.Returns the value of thepackageTyperecord component.Returns the value of therequiredValuesrecord component.Returns the value of thesecretPlaceholdersrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportrecord component.
-
Constructor Details
-
McpPlanTransportChoicePackage
public McpPlanTransportChoicePackage(String choiceId, McpPlanPackageTransport transport, String installMethod, String packageType, String packageIdentifier, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders) Creates an instance of aMcpPlanTransportChoicePackagerecord class.- Parameters:
choiceId- the value for thechoiceIdrecord componenttransport- the value for thetransportrecord componentinstallMethod- the value for theinstallMethodrecord componentpackageType- the value for thepackageTyperecord componentpackageIdentifier- the value for thepackageIdentifierrecord componentrequiredValues- the value for therequiredValuesrecord componentsecretPlaceholders- the value for thesecretPlaceholdersrecord component
-
McpPlanTransportChoicePackage
public McpPlanTransportChoicePackage(String choiceId, McpPlanPackageTransport transport, String packageType, String packageIdentifier, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders)
-
-
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). -
choiceId
Returns the value of thechoiceIdrecord component.- Returns:
- the value of the
choiceIdrecord component
-
transport
Returns the value of thetransportrecord component.- Returns:
- the value of the
transportrecord component
-
installMethod
Returns the value of theinstallMethodrecord component.- Specified by:
installMethodin interfaceMcpPlanTransportChoice- Returns:
- the value of the
installMethodrecord component
-
packageType
Returns the value of thepackageTyperecord component.- Returns:
- the value of the
packageTyperecord component
-
packageIdentifier
Returns the value of thepackageIdentifierrecord component.- Returns:
- the value of the
packageIdentifierrecord component
-
requiredValues
-
secretPlaceholders
Returns the value of thesecretPlaceholdersrecord component.- Returns:
- the value of the
secretPlaceholdersrecord component
-