Record Class HostSessionReleasedNotification
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostSessionReleasedNotification
@Generated("copilot-sdk-codegen")
public record HostSessionReleasedNotification(String hostId, String handoffId)
extends Record
Releases the original application session object retained for one handoff.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostSessionReleasedNotification(String hostId, String handoffId) Creates an instance of aHostSessionReleasedNotificationrecord 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.hostId()Returns the value of thehostIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostSessionReleasedNotification
-
-
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
-
handoffId
Returns the value of thehandoffIdrecord component.- Returns:
- the value of the
handoffIdrecord component
-