Class: Anthropic::Models::Organization::WorkspaceListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::WorkspaceListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/organization/workspace_list_params.rb,
sig/anthropic/models/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.
-
#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, 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, 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, request_options: {}) ⇒ WorkspaceListParams
Some parameter documentations has been truncated, see Anthropic::Models::Organization::WorkspaceListParams for more details.
|
|
# File 'lib/anthropic/models/organization/workspace_list_params.rb', line 53
|
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.
16 |
# File 'lib/anthropic/models/organization/workspace_list_params.rb', line 16 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.
23 |
# File 'lib/anthropic/models/organization/workspace_list_params.rb', line 23 optional :before_id, String |
#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.
31 |
# File 'lib/anthropic/models/organization/workspace_list_params.rb', line 31 optional :ids, Anthropic::Internal::Type::ArrayOf[String] |
#include_archived ⇒ Boolean?
Whether to include Workspaces that have been archived in the response
37 |
# File 'lib/anthropic/models/organization/workspace_list_params.rb', line 37 optional :include_archived, Anthropic::Internal::Type::Boolean |
#include_default ⇒ Boolean?
Whether to include the organization's default Workspace in the response
43 |
# File 'lib/anthropic/models/organization/workspace_list_params.rb', line 43 optional :include_default, Anthropic::Internal::Type::Boolean |
#limit ⇒ Integer?
Number of items to return per page.
Defaults to 20. Ranges from 1 to 1000.
51 |
# File 'lib/anthropic/models/organization/workspace_list_params.rb', line 51 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, request_options: Anthropic::RequestOptions }
53 54 55 56 57 58 59 60 61 |
# File 'sig/anthropic/models/organization/workspace_list_params.rbs', line 53
def to_hash: -> {
after_id: String,
before_id: String,
ids: ::Array[String],
include_archived: bool,
include_default: bool,
limit: Integer,
request_options: Anthropic::RequestOptions
}
|