Record Class SessionMcpReloadWithConfigResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpReloadWithConfigResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionMcpReloadWithConfigResult(List<McpFilteredServer> filteredServers, List<McpAllowedServer> allowedServers)
extends Record
MCP server startup filtering result.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMcpReloadWithConfigResult(List<McpFilteredServer> filteredServers, List<McpAllowedServer> allowedServers) Creates an instance of aSessionMcpReloadWithConfigResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedServersrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefilteredServersrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpReloadWithConfigResult
public SessionMcpReloadWithConfigResult(List<McpFilteredServer> filteredServers, List<McpAllowedServer> allowedServers) Creates an instance of aSessionMcpReloadWithConfigResultrecord class.- Parameters:
filteredServers- the value for thefilteredServersrecord componentallowedServers- the value for theallowedServersrecord 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). -
filteredServers
Returns the value of thefilteredServersrecord component.- Returns:
- the value of the
filteredServersrecord component
-
allowedServers
Returns the value of theallowedServersrecord component.- Returns:
- the value of the
allowedServersrecord component
-