Class: Anthropic::Models::Beta::Organization::ExternalStorageListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/organization/external_storage_list_params.rb,
sig/anthropic/models/beta/organization/external_storage_list_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::ExternalStorage#list

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(limit: nil, page: nil, user_profile_ids: nil, betas: nil, request_options: {}) ⇒ ExternalStorageListParams

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::ExternalStorageListParams for more details.

Parameters:

  • limit (Integer) (defaults to: nil) —

    Number of results per page.

  • page (String, nil) (defaults to: nil) —

    Opaque cursor from a previous response's next_page.

  • user_profile_ids (Array<String>, nil) (defaults to: nil) —

    Returns only External Storage bound to one of these user profile IDs (

  • betas (Array<Symbol, String, Anthropic::Models::AnthropicBeta>) (defaults to: nil) —

    This endpoint is in beta: requests must send efs-2026-10-01 in this header.

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})
  • limit: (Integer) (defaults to: nil)
  • page: (String, nil) (defaults to: nil)
  • user_profile_ids: (::Array[String], nil) (defaults to: nil)
  • betas: (::Array[Anthropic::Models::anthropic_beta]) (defaults to: nil)
  • request_options: (Anthropic::request_opts) (defaults to: {})


# File 'lib/anthropic/models/beta/organization/external_storage_list_params.rb', line 38

Instance Attribute Details

#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?

This endpoint is in beta: requests must send efs-2026-10-01 in this header.

Parameters:

  • (::Array[Anthropic::Models::anthropic_beta])

Returns:



36
# File 'lib/anthropic/models/beta/organization/external_storage_list_params.rb', line 36

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#limit ⇒ Integer?

Number of results per page.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


16
# File 'lib/anthropic/models/beta/organization/external_storage_list_params.rb', line 16

optional :limit, Integer

#page ⇒ String?

Opaque cursor from a previous response's next_page.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


22
# File 'lib/anthropic/models/beta/organization/external_storage_list_params.rb', line 22

optional :page, String, nil?: true

#user_profile_ids ⇒ Array<String>?

Returns only External Storage bound to one of these user profile IDs (uprof_...). An empty entry matches storage bound to no user profile. At most 10 entries, counting repeats.

Parameters:

  • value (::Array[String], nil)

Returns:

  • (Array<String>, nil)


30
# File 'lib/anthropic/models/beta/organization/external_storage_list_params.rb', line 30

optional :user_profile_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true

Instance Method Details

#to_hash ⇒ { limit: Integer, page: String?, user_profile_ids: ::Array[String]?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }

Returns:

  • ({ limit: Integer, page: String?, user_profile_ids: ::Array[String]?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions })


40
41
42
43
44
45
46
# File 'sig/anthropic/models/beta/organization/external_storage_list_params.rbs', line 40

def to_hash: -> {
  limit: Integer,
  page: String?,
  user_profile_ids: ::Array[String]?,
  betas: ::Array[Anthropic::Models::anthropic_beta],
  request_options: Anthropic::RequestOptions
}