Class: Anthropic::Models::Beta::BetaEnvironment

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

Overview

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

#archived_atString?

RFC 3339 timestamp when environment was archived, or null if not archived

Returns:

  • (String, nil)


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

required :archived_at, String, nil?: true

#configAnthropic::Models::Beta::BetaCloudConfig

cloud environment configuration.



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

required :config, -> { Anthropic::Beta::BetaCloudConfig }

#created_atString

RFC 3339 timestamp when environment was created

Returns:

  • (String)


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

required :created_at, String

#descriptionString

User-provided description for the environment

Returns:

  • (String)


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

required :description, String

#idString

Environment identifier (e.g., 'env_...')

Returns:

  • (String)


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

required :id, String

#metadataHash{Symbol=>String}

User-provided metadata key-value pairs

Returns:

  • (Hash{Symbol=>String})


42
# File 'lib/anthropic/models/beta/beta_environment.rb', line 42

required :metadata, Anthropic::Internal::Type::HashOf[String]

#nameString

Human-readable name for the environment

Returns:

  • (String)


48
# File 'lib/anthropic/models/beta/beta_environment.rb', line 48

required :name, String

#typeSymbol, :environment

The type of object (always 'environment')

Returns:

  • (Symbol, :environment)


54
# File 'lib/anthropic/models/beta/beta_environment.rb', line 54

required :type, const: :environment

#updated_atString

RFC 3339 timestamp when environment was last updated

Returns:

  • (String)


60
# File 'lib/anthropic/models/beta/beta_environment.rb', line 60

required :updated_at, String