Class: Copilot::CommandsListRequest
- Inherits:
-
Struct
- Object
- Struct
- Copilot::CommandsListRequest
- Defined in:
- lib/copilot/types.rb
Overview
Request to list available commands.
Instance Attribute Summary collapse
-
#include_builtins ⇒ Object
Returns the value of attribute include_builtins.
-
#include_client_commands ⇒ Object
Returns the value of attribute include_client_commands.
-
#include_skills ⇒ Object
Returns the value of attribute include_skills.
Instance Method Summary collapse
Instance Attribute Details
#include_builtins ⇒ Object
Returns the value of attribute include_builtins
446 447 448 |
# File 'lib/copilot/types.rb', line 446 def include_builtins @include_builtins end |
#include_client_commands ⇒ Object
Returns the value of attribute include_client_commands
446 447 448 |
# File 'lib/copilot/types.rb', line 446 def include_client_commands @include_client_commands end |
#include_skills ⇒ Object
Returns the value of attribute include_skills
446 447 448 |
# File 'lib/copilot/types.rb', line 446 def include_skills @include_skills end |
Instance Method Details
#to_h ⇒ Object
447 448 449 450 451 452 453 |
# File 'lib/copilot/types.rb', line 447 def to_h h = {} h[:includeBuiltins] = include_builtins unless include_builtins.nil? h[:includeClientCommands] = include_client_commands unless include_client_commands.nil? h[:includeSkills] = include_skills unless include_skills.nil? h end |