Record Class SessionCanvasProviderRegisterParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionCanvasProviderRegisterParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionCanvasProviderRegisterParams(String sessionId, String connectionId, Object info, List<Object> canvases)
extends Record
Internal canvas provider registration parameters.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanvases()Returns the value of thecanvasesrecord component.Returns the value of theconnectionIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.info()Returns the value of theinforecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionCanvasProviderRegisterParams
public SessionCanvasProviderRegisterParams(String sessionId, String connectionId, Object info, List<Object> canvases) Creates an instance of aSessionCanvasProviderRegisterParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentconnectionId- the value for theconnectionIdrecord componentinfo- the value for theinforecord componentcanvases- the value for thecanvasesrecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
connectionId
Returns the value of theconnectionIdrecord component.- Returns:
- the value of the
connectionIdrecord component
-
info
Returns the value of theinforecord component.- Returns:
- the value of the
inforecord component
-
canvases
-