Class: Anthropic::Models::Beta::Organization::WebhookListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::WebhookListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/webhook_list_params.rb,
sig/anthropic/models/beta/organization/webhook_list_params.rbs
Overview
Defined Under Namespace
Modules: Order
Instance Attribute Summary collapse
-
#after_id ⇒ String?
ID of the object to use as a cursor for pagination.
-
#before_id ⇒ String?
ID of a webhook endpoint to use as a cursor.
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
webhooks-2026-10-07in this header. -
#limit ⇒ Integer?
Number of items to return per page, up to
100. -
#order ⇒ Symbol, ...
Sort order by
created_at.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(after_id: nil, before_id: nil, limit: nil, order: nil, betas: nil, request_options: {}) ⇒ WebhookListParams
constructor
Some parameter documentations has been truncated, see WebhookListParams for more details.
- #to_hash ⇒ { after_id: String?, before_id: String?, limit: Integer, order: Anthropic::Models::Beta::Organization::WebhookListParams::order?, 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, limit: nil, order: nil, betas: nil, request_options: {}) ⇒ WebhookListParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::WebhookListParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/webhook_list_params.rb', line 45
|
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/webhook_list_params.rb', line 17 optional :after_id, String, nil?: true |
#before_id ⇒ String?
ID of a webhook endpoint to use as a cursor. Returns the first limit endpoints
that come before it in list order, not the limit endpoints just before it.
24 |
# File 'lib/anthropic/models/beta/organization/webhook_list_params.rb', line 24 optional :before_id, String, nil?: true |
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send webhooks-2026-10-07 in this
header.
43 |
# File 'lib/anthropic/models/beta/organization/webhook_list_params.rb', line 43 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#limit ⇒ Integer?
Number of items to return per page, up to 100. The default, 0, means 20.
30 |
# File 'lib/anthropic/models/beta/organization/webhook_list_params.rb', line 30 optional :limit, Integer |
#order ⇒ Symbol, ...
Sort order by created_at. Defaults to desc, newest first.
36 |
# File 'lib/anthropic/models/beta/organization/webhook_list_params.rb', line 36 optional :order, enum: -> { Anthropic::Beta::Organization::WebhookListParams::Order }, nil?: true |
Instance Method Details
#to_hash ⇒ { after_id: String?, before_id: String?, limit: Integer, order: Anthropic::Models::Beta::Organization::WebhookListParams::order?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }
44 45 46 47 48 49 50 51 |
# File 'sig/anthropic/models/beta/organization/webhook_list_params.rbs', line 44
def to_hash: -> {
after_id: String?,
before_id: String?,
limit: Integer,
order: Anthropic::Models::Beta::Organization::WebhookListParams::order?,
betas: ::Array[Anthropic::Models::anthropic_beta],
request_options: Anthropic::RequestOptions
}
|