Record Class McpInstallationRemoteConfiguration
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpInstallationRemoteConfiguration
@Generated("copilot-sdk-codegen")
public record McpInstallationRemoteConfiguration(McpPlanRemoteTransport transport, String url, Map<String,String> headers, List<String> tools)
extends Record
Final remote configuration, not a template. The producer refuses external-value
expansion before presenting this review. Receipt-owned secrets appear only as
`${installation-secret:}` references whose `` matches a reviewed
`${secret:}` placeholder; values are never included.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpInstallationRemoteConfiguration(McpPlanRemoteTransport transport, String url, Map<String, String> headers, List<String> tools) Creates an instance of aMcpInstallationRemoteConfigurationrecord 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.headers()Returns the value of theheadersrecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportrecord component.url()Returns the value of theurlrecord component.
-
Constructor Details
-
McpInstallationRemoteConfiguration
public McpInstallationRemoteConfiguration(McpPlanRemoteTransport transport, String url, Map<String, String> headers, List<String> tools) Creates an instance of aMcpInstallationRemoteConfigurationrecord class.- Parameters:
transport- the value for thetransportrecord componenturl- the value for theurlrecord componentheaders- the value for theheadersrecord componenttools- the value for thetoolsrecord 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). -
transport
Returns the value of thetransportrecord component.- Returns:
- the value of the
transportrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
headers
-
tools
-