Record Class SessionsTransferRemoteControlParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionsTransferRemoteControlParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionsTransferRemoteControlParams(String toSessionId, String expectedFromSessionId)
extends Record
Parameters for atomically rebinding the remote-control singleton.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionsTransferRemoteControlParams(String toSessionId, String expectedFromSessionId) Creates an instance of aSessionsTransferRemoteControlParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedFromSessionIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetoSessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionsTransferRemoteControlParams
Creates an instance of aSessionsTransferRemoteControlParamsrecord class.- Parameters:
toSessionId- the value for thetoSessionIdrecord componentexpectedFromSessionId- the value for theexpectedFromSessionIdrecord 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). -
toSessionId
Returns the value of thetoSessionIdrecord component.- Returns:
- the value of the
toSessionIdrecord component
-
expectedFromSessionId
Returns the value of theexpectedFromSessionIdrecord component.- Returns:
- the value of the
expectedFromSessionIdrecord component
-