Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource

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

Defined Under Namespace

Modules: Checkout, Type

Instance Attribute Summary collapse

Class Method 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(id:, created_at:, mount_path:, type:, updated_at:, url:, checkout: nil) ⇒ Object

Parameters:



# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 49

Instance Attribute Details

#checkoutAnthropic::Models::Beta::BetaManagedAgentsBranchCheckout, ...



43
44
45
46
47
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 43

optional :checkout,
union: -> {
  Anthropic::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource::Checkout
},
nil?: true

#created_atTime

A timestamp in RFC 3339 format

Returns:

  • (Time)


17
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 17

required :created_at, Time

#idString

Returns:

  • (String)


11
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 11

required :id, String

#mount_pathString

Returns:

  • (String)


22
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 22

required :mount_path, String

#typeSymbol, Anthropic::Models::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource::Type



27
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 27

required :type, enum: -> { Anthropic::Beta::Sessions::BetaManagedAgentsGitHubRepositoryResource::Type }

#updated_atTime

A timestamp in RFC 3339 format

Returns:

  • (Time)


33
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 33

required :updated_at, Time

#urlString

Returns:

  • (String)


38
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 38

required :url, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb', line 70