Record Class HostReadyParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostReadyParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostReadyParams(String address, String token, String environmentId)
extends Record
Readiness reported by the supervised hosting participant on its own SDK connection.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostReadyParams(String address, String token, String environmentId) Creates an instance of aHostReadyParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.Returns 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.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostReadyParams
Creates an instance of aHostReadyParamsrecord class.- Parameters:
address- the value for theaddressrecord componenttoken- the value for thetokenrecord componentenvironmentId- the value for theenvironmentIdrecord 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). -
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord 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
-