Class: Anthropic::Models::Beta::Organization::WorkspaceListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::WorkspaceListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/workspace_list_params.rb,
sig/anthropic/models/beta/organization/workspace_list_params.rbs
Overview
Instance Attribute Summary collapse
-
#after_id ⇒ String?
ID of the object to use as a cursor for pagination.
-
#before_id ⇒ String?
ID of the object to use as a cursor for pagination.
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional.
-
#ids ⇒ Array<String>?
Only the Workspaces with these IDs, at most 100.
-
#include_archived ⇒ Boolean?
Whether to include Workspaces that have been archived in the response.
-
#include_default ⇒ Boolean?
Whether to include the organization's default Workspace in the response.
-
#limit ⇒ Integer?
Number of items to return per page.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(after_id: nil, before_id: nil, ids: nil, include_archived: nil, include_default: nil, limit: nil, betas: nil, request_options: {}) ⇒ WorkspaceListParams
constructor
Some parameter documentations has been truncated, see WorkspaceListParams for more details.
- #to_hash ⇒ { after_id: String, before_id: String, ids: ::Array[String], include_archived: bool, include_default: bool, limit: Integer, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(after_id: nil, before_id: nil, ids: nil, include_archived: nil, include_default: nil, limit: nil, betas: nil, request_options: {}) ⇒ WorkspaceListParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::WorkspaceListParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 61
|
Instance Attribute Details
#after_id ⇒ String?
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.
17 |
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 17 optional :after_id, String |
#before_id ⇒ String?
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.
24 |
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 24 optional :before_id, String |
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional. Send efs-2026-10-01 in this header to use this endpoint's beta
features: additional parameters, accepted values and response fields.
59 |
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 59 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#ids ⇒ Array<String>?
Only the Workspaces with these IDs, at most 100. include_archived and
include_default still apply, and IDs of Workspaces the caller can't list are
left out.
32 |
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 32 optional :ids, Anthropic::Internal::Type::ArrayOf[String] |
#include_archived ⇒ Boolean?
Whether to include Workspaces that have been archived in the response
38 |
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 38 optional :include_archived, Anthropic::Internal::Type::Boolean |
#include_default ⇒ Boolean?
Whether to include the organization's default Workspace in the response
44 |
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 44 optional :include_default, Anthropic::Internal::Type::Boolean |
#limit ⇒ Integer?
Number of items to return per page.
Defaults to 20. Ranges from 1 to 1000.
52 |
# File 'lib/anthropic/models/beta/organization/workspace_list_params.rb', line 52 optional :limit, Integer |
Instance Method Details
#to_hash ⇒ { after_id: String, before_id: String, ids: ::Array[String], include_archived: bool, include_default: bool, limit: Integer, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
62 63 64 65 66 67 68 69 70 71 |
# File 'sig/anthropic/models/beta/organization/workspace_list_params.rbs', line 62 def to_hash: -> { after_id: String, before_id: String, ids: ::Array[String], include_archived: bool, include_default: bool, limit: Integer, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions } |