Record Class McpPlanTransportChoiceRemote
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanTransportChoiceRemote
- All Implemented Interfaces:
McpPlanTransportChoice
@Generated("copilot-sdk-codegen")
public record McpPlanTransportChoiceRemote(String choiceId, McpPlanRemoteTransport transport, String installMethod, String endpoint, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders)
extends Record
implements McpPlanTransportChoice
An eligible remote-endpoint transport choice. The endpoint is required and package identity cannot be represented.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanTransportChoiceRemote(String choiceId, McpPlanRemoteTransport transport, String installMethod, String endpoint, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders) Creates an instance of aMcpPlanTransportChoiceRemoterecord class.McpPlanTransportChoiceRemote(String choiceId, McpPlanRemoteTransport transport, String endpoint, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders) -
Method Summary
Modifier and TypeMethodDescriptionchoiceId()Returns the value of thechoiceIdrecord component.endpoint()Returns the value of theendpointrecord 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 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
-
McpPlanTransportChoiceRemote
public McpPlanTransportChoiceRemote(String choiceId, McpPlanRemoteTransport transport, String installMethod, String endpoint, List<Object> requiredValues, List<McpPlanSecretPlaceholder> secretPlaceholders) Creates an instance of aMcpPlanTransportChoiceRemoterecord class.- Parameters:
choiceId- the value for thechoiceIdrecord componenttransport- the value for thetransportrecord componentinstallMethod- the value for theinstallMethodrecord componentendpoint- the value for theendpointrecord componentrequiredValues- the value for therequiredValuesrecord componentsecretPlaceholders- the value for thesecretPlaceholdersrecord component
-
McpPlanTransportChoiceRemote
public McpPlanTransportChoiceRemote(String choiceId, McpPlanRemoteTransport transport, String endpoint, 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
-
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
requiredValues
-
secretPlaceholders
Returns the value of thesecretPlaceholdersrecord component.- Returns:
- the value of the
secretPlaceholdersrecord component
-