Record Class HostSessionCreateCallback
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostSessionCreateCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final 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.resume()Returns the value of theresumerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostSessionCreateCallback
public HostSessionCreateCallback(String hostId, String handoffId, Boolean resume, Map<String, Object> config) Creates an instance of aHostSessionCreateCallbackrecord class.- Parameters:
hostId- the value for thehostIdrecord componenthandoffId- the value for thehandoffIdrecord componentresume- the value for theresumerecord componentconfig- the value for theconfigrecord 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
-
handoffId
Returns the value of thehandoffIdrecord component.- Returns:
- the value of the
handoffIdrecord component
-
resume
Returns the value of theresumerecord component.- Returns:
- the value of the
resumerecord component
-
config
-