Class: Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#authorization_token ⇒ String
GitHub authorization token used to clone the repository.
-
#checkout ⇒ Anthropic::Models::Beta::BetaManagedAgentsBranchCheckout, ...
Branch or commit to check out.
-
#mount_path ⇒ String?
Mount path in the container.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams::Type
-
#url ⇒ String
Github URL of the repository.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorization_token:, type:, url:, checkout: nil, mount_path: nil) ⇒ Object
constructor
Mount a GitHub repository into the session’s container.
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(authorization_token:, type:, url:, checkout: nil, mount_path: nil) ⇒ Object
Mount a GitHub repository into the session’s container.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb', line 38
|
Instance Attribute Details
#authorization_token ⇒ String
GitHub authorization token used to clone the repository.
11 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb', line 11 required :authorization_token, String |
#checkout ⇒ Anthropic::Models::Beta::BetaManagedAgentsBranchCheckout, ...
Branch or commit to check out. Defaults to the repository’s default branch.
28 29 30 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb', line 28 optional :checkout, union: -> { Anthropic::Beta::BetaManagedAgentsGitHubRepositoryResourceParams::Checkout }, nil?: true |
#mount_path ⇒ String?
Mount path in the container. Defaults to ‘/workspace/<repo-name>`.
36 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb', line 36 optional :mount_path, String, nil?: true |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams::Type
16 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb', line 16 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsGitHubRepositoryResourceParams::Type } |
#url ⇒ String
Github URL of the repository
22 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb', line 22 required :url, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb', line 57
|