Module: Cadenya::Models::ToolSets::ToolListParams::Status

Extended by:
Internal::Type::Enum
Defined in:
lib/cadenya/models/tool_sets/tool_list_params.rb

Constant Summary collapse

TOOL_STATUS_UNSPECIFIED =
:TOOL_STATUS_UNSPECIFIED
TOOL_STATUS_AVAILABLE =
:TOOL_STATUS_AVAILABLE
TOOL_STATUS_OMITTED =
:TOOL_STATUS_OMITTED
TOOL_STATUS_ARCHIVED =
:TOOL_STATUS_ARCHIVED

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/cadenya/models/tool_sets/tool_list_params.rb', line 121

Instance Method Details

#initialize(workspace_id:, tool_set_id:, bundle_key: nil, cursor: nil, include_info: nil, limit: nil, names: nil, prefix: nil, query: nil, requires_approval: nil, sort_order: nil, statuses: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Cadenya::Models::ToolSets::ToolListParams for more details.

Parameters:

  • workspace_id (String)
  • tool_set_id (String)
  • bundle_key (String) (defaults to: nil)

    Filter by bundle_key — return only resources owned by this bundle.

  • cursor (String) (defaults to: nil)

    Pagination cursor from previous response

  • include_info (Boolean) (defaults to: nil)

    When set to true you may use more of your alloted API rate-limit

  • limit (Integer) (defaults to: nil)

    Maximum number of results to return

  • names (Array<String>) (defaults to: nil)

    Filter by tool name (exact match). Multiple values are OR’d together.

  • prefix (String) (defaults to: nil)

    Filter expression (query param: prefix)

  • query (String) (defaults to: nil)

    Free-form search query

  • requires_approval (Boolean) (defaults to: nil)

    Filter by approval requirement. Omitted = no filter; true = only tools

  • sort_order (String) (defaults to: nil)

    Sort order for results (asc or desc by creation time)

  • statuses (Array<Symbol, Cadenya::Models::ToolSets::ToolListParams::Status>) (defaults to: nil)

    Filter by tool status. Multiple values are OR’d together.

  • request_options (Cadenya::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


113
114
115
116
117
118
119
120
121
122
123
# File 'lib/cadenya/models/tool_sets/tool_list_params.rb', line 113

module Status
  extend Cadenya::Internal::Type::Enum

  TOOL_STATUS_UNSPECIFIED = :TOOL_STATUS_UNSPECIFIED
  TOOL_STATUS_AVAILABLE = :TOOL_STATUS_AVAILABLE
  TOOL_STATUS_OMITTED = :TOOL_STATUS_OMITTED
  TOOL_STATUS_ARCHIVED = :TOOL_STATUS_ARCHIVED

  # @!method self.values
  #   @return [Array<Symbol>]
end