Class: Anthropic::Models::Beta::Messages::BetaMessageBatchRequestCounts

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(canceled: , errored: , expired: , processing: , succeeded: ) ⇒ void

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

Parameters:

  • canceled (Integer) (defaults to: )

    Number of requests in the Message Batch that have been canceled.

  • errored (Integer) (defaults to: )

    Number of requests in the Message Batch that encountered an error.

  • expired (Integer) (defaults to: )

    Number of requests in the Message Batch that have expired.

  • processing (Integer) (defaults to: )

    Number of requests in the Message Batch that are processing.

  • succeeded (Integer) (defaults to: )

    Number of requests in the Message Batch that have completed successfully.



# File 'lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb', line 46

Instance Attribute Details

#canceledInteger

Number of requests in the Message Batch that have been canceled.

This is zero until processing of the entire Message Batch has ended.

Returns:

  • (Integer)


14
# File 'lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb', line 14

required :canceled, Integer

#erroredInteger

Number of requests in the Message Batch that encountered an error.

This is zero until processing of the entire Message Batch has ended.

Returns:

  • (Integer)


22
# File 'lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb', line 22

required :errored, Integer

#expiredInteger

Number of requests in the Message Batch that have expired.

This is zero until processing of the entire Message Batch has ended.

Returns:

  • (Integer)


30
# File 'lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb', line 30

required :expired, Integer

#processingInteger

Number of requests in the Message Batch that are processing.

Returns:

  • (Integer)


36
# File 'lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb', line 36

required :processing, Integer

#succeededInteger

Number of requests in the Message Batch that have completed successfully.

This is zero until processing of the entire Message Batch has ended.

Returns:

  • (Integer)


44
# File 'lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb', line 44

required :succeeded, Integer