Record Class SessionMcpIsServerRunningResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMcpIsServerRunningResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionMcpIsServerRunningResult(Boolean running)
extends Record
Whether the named MCP server is running.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMcpIsServerRunningResult(Boolean running) Creates an instance of aSessionMcpIsServerRunningResultrecord 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.running()Returns the value of therunningrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMcpIsServerRunningResult
Creates an instance of aSessionMcpIsServerRunningResultrecord class.- Parameters:
running- the value for therunningrecord 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). -
running
Returns the value of therunningrecord component.- Returns:
- the value of the
runningrecord component
-