Record Class HostStartResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostStartResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostStartResult(String hostId, String url, String token, String environmentId, Long pid)
extends Record
Listener readiness, returned only after binding and the supervised participant's SDK handshake.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenvironmentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hostId()Returns the value of thehostIdrecord component.pid()Returns the value of thepidrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
HostStartResult
Creates an instance of aHostStartResultrecord class.- Parameters:
hostId- the value for thehostIdrecord componenturl- the value for theurlrecord componenttoken- the value for thetokenrecord componentenvironmentId- the value for theenvironmentIdrecord componentpid- the value for thepidrecord 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). -
hostId
Returns the value of thehostIdrecord component.- Returns:
- the value of the
hostIdrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
environmentId
Returns the value of theenvironmentIdrecord component.- Returns:
- the value of the
environmentIdrecord component
-
pid
Returns the value of thepidrecord component.- Returns:
- the value of the
pidrecord component
-