Class: Anthropic::Models::Beta::Vaults::BetaManagedAgentsRefreshHTTPResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_http_response.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(body:, body_truncated:, content_type:, status_code:) ⇒ Object

An HTTP response captured during a credential validation probe.

Parameters:

  • body (String)

    Response body. May be truncated and has sensitive values scrubbed.

  • body_truncated (Boolean)

    Whether ‘body` was truncated.

  • content_type (String)

    Value of the ‘Content-Type` response header.

  • status_code (Integer)

    HTTP status code.



# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_http_response.rb', line 32

Instance Attribute Details

#bodyString

Response body. May be truncated and has sensitive values scrubbed.

Returns:

  • (String)


12
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_http_response.rb', line 12

required :body, String

#body_truncatedBoolean

Whether ‘body` was truncated.

Returns:



18
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_http_response.rb', line 18

required :body_truncated, Anthropic::Internal::Type::Boolean

#content_typeString

Value of the ‘Content-Type` response header.

Returns:

  • (String)


24
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_http_response.rb', line 24

required :content_type, String

#status_codeInteger

HTTP status code.

Returns:

  • (Integer)


30
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_http_response.rb', line 30

required :status_code, Integer