Record Class SessionCommandsListParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionCommandsListParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionCommandsListParams(String sessionId, Boolean includeBuiltins, Boolean includeSkills, Boolean includeClientCommands)
extends Record
Request parameters for the
session.commands.list RPC method.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionCommandsListParams(String sessionId, Boolean includeBuiltins, Boolean includeSkills, Boolean includeClientCommands) Creates an instance of aSessionCommandsListParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theincludeBuiltinsrecord component.Returns the value of theincludeClientCommandsrecord component.Returns the value of theincludeSkillsrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionCommandsListParams
public SessionCommandsListParams(String sessionId, Boolean includeBuiltins, Boolean includeSkills, Boolean includeClientCommands) Creates an instance of aSessionCommandsListParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentincludeBuiltins- the value for theincludeBuiltinsrecord componentincludeSkills- the value for theincludeSkillsrecord componentincludeClientCommands- the value for theincludeClientCommandsrecord 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
-
includeBuiltins
Returns the value of theincludeBuiltinsrecord component.- Returns:
- the value of the
includeBuiltinsrecord component
-
includeSkills
Returns the value of theincludeSkillsrecord component.- Returns:
- the value of the
includeSkillsrecord component
-
includeClientCommands
Returns the value of theincludeClientCommandsrecord component.- Returns:
- the value of the
includeClientCommandsrecord component
-