Class: Anthropic::Models::Messages::MessageBatchRequestCounts

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Anthropic::Internal::Type::BaseModel

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)


13
# File 'lib/anthropic/models/messages/message_batch_request_counts.rb', line 13

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)


21
# File 'lib/anthropic/models/messages/message_batch_request_counts.rb', line 21

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)


29
# File 'lib/anthropic/models/messages/message_batch_request_counts.rb', line 29

required :expired, Integer

#processingInteger

Number of requests in the Message Batch that are processing.

Returns:

  • (Integer)


35
# File 'lib/anthropic/models/messages/message_batch_request_counts.rb', line 35

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)


43
# File 'lib/anthropic/models/messages/message_batch_request_counts.rb', line 43

required :succeeded, Integer