Record Class HostCreateSessionParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostCreateSessionParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostCreateSessionParams(String handoffId, Boolean resume, Map<String,Object> config)
extends Record
One application-owned session handoff, requested by the supervised hosting participant.
- Since:
- 1.0.0
-
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.resume()Returns the value of theresumerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostCreateSessionParams
Creates an instance of aHostCreateSessionParamsrecord class.- Parameters:
handoffId- 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). -
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
-