Record Class HostDisposeParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostDisposeParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostDisposeParams(String hostId)
extends Record
Stops a connection-owned listener and joins its teardown.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostDisposeParams(String hostId) Creates an instance of aHostDisposeParamsrecord 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.hostId()Returns the value of thehostIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostDisposeParams
Creates an instance of aHostDisposeParamsrecord class.- Parameters:
hostId- the value for thehostIdrecord 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
-