Record Class HostReleaseSessionParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostReleaseSessionParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostReleaseSessionParams(String handoffId)
extends Record
Ends one participation, not the application's session lifetime.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostReleaseSessionParams(String handoffId) Creates an instance of aHostReleaseSessionParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thehandoffIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostReleaseSessionParams
Creates an instance of aHostReleaseSessionParamsrecord class.- Parameters:
handoffId- the value for thehandoffIdrecord 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). -
handoffId
Returns the value of thehandoffIdrecord component.- Returns:
- the value of the
handoffIdrecord component
-