Class BetaManagedAgentsGitHubRepositoryResourceParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsGitHubRepositoryResourceParamsMount a GitHub repository into the session's container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsGitHubRepositoryResourceParams.BuilderA builder for BetaManagedAgentsGitHubRepositoryResourceParams.
public final classBetaManagedAgentsGitHubRepositoryResourceParams.Typepublic final classBetaManagedAgentsGitHubRepositoryResourceParams.CheckoutBranch or commit to check out. Defaults to the repository's default branch.
-
Method Summary
-
-
Method Detail
-
authorizationToken
final String authorizationToken()
GitHub authorization token used to clone the repository.
-
type
final BetaManagedAgentsGitHubRepositoryResourceParams.Type type()
-
checkout
final Optional<BetaManagedAgentsGitHubRepositoryResourceParams.Checkout> checkout()
Branch or commit to check out. Defaults to the repository's default branch.
-
mountPath
final Optional<String> mountPath()
Mount path in the container. Defaults to
/workspace/<repo-name>.
-
_authorizationToken
final JsonField<String> _authorizationToken()
Returns the raw JSON value of authorizationToken.
Unlike authorizationToken, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsGitHubRepositoryResourceParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_checkout
final JsonField<BetaManagedAgentsGitHubRepositoryResourceParams.Checkout> _checkout()
Returns the raw JSON value of checkout.
Unlike checkout, this method doesn't throw if the JSON field has an unexpected type.
-
_mountPath
final JsonField<String> _mountPath()
Returns the raw JSON value of mountPath.
Unlike mountPath, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsGitHubRepositoryResourceParams.Builder toBuilder()
-
validate
final BetaManagedAgentsGitHubRepositoryResourceParams validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsGitHubRepositoryResourceParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsGitHubRepositoryResourceParams.
The following fields are required:
.authorizationToken() .type() .url()
-
-
-
-