Record Class ConnectorRuntimeStatus
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ConnectorRuntimeStatus
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ConnectorRuntimeStatus(String runtimeServerId, String connectorName, ConnectorMcpStatus status)
extends Record
Live status of one session-owned MCP projection.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorRuntimeStatus(String runtimeServerId, String connectorName, ConnectorMcpStatus status) Creates an instance of aConnectorRuntimeStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectorNamerecord 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 theruntimeServerIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectorRuntimeStatus
public ConnectorRuntimeStatus(String runtimeServerId, String connectorName, ConnectorMcpStatus status) Creates an instance of aConnectorRuntimeStatusrecord class.- Parameters:
runtimeServerId- the value for theruntimeServerIdrecord componentconnectorName- the value for theconnectorNamerecord componentstatus- the value for thestatusrecord 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). -
runtimeServerId
Returns the value of theruntimeServerIdrecord component.- Returns:
- the value of the
runtimeServerIdrecord component
-
connectorName
Returns the value of theconnectorNamerecord component.- Returns:
- the value of the
connectorNamerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-