Record Class ManagedMcpServerConfig
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedMcpServerConfig
@Generated("copilot-sdk-codegen")
public record ManagedMcpServerConfig(String displayName, String url, List<String> tools, Long timeout, Long headersRefreshTtlMs)
extends Record
Non-secret host-managed HTTP MCP server configuration. The containing map key is the stable managed identity; credentials are supplied dynamically by the host.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayNamerecord 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 theheadersRefreshTtlMsrecord component.timeout()Returns the value of thetimeoutrecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
ManagedMcpServerConfig
public ManagedMcpServerConfig(String displayName, String url, List<String> tools, Long timeout, Long headersRefreshTtlMs) Creates an instance of aManagedMcpServerConfigrecord class.- Parameters:
displayName- the value for thedisplayNamerecord componenturl- the value for theurlrecord componenttools- the value for thetoolsrecord componenttimeout- the value for thetimeoutrecord componentheadersRefreshTtlMs- the value for theheadersRefreshTtlMsrecord 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). -
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
tools
-
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
headersRefreshTtlMs
Returns the value of theheadersRefreshTtlMsrecord component.- Returns:
- the value of the
headersRefreshTtlMsrecord component
-