Class BetaManagedAgentsRepositoryCheckoutError
-
- All Implemented Interfaces:
public final class BetaManagedAgentsRepositoryCheckoutErrorThe requested branch or commit does not exist in the repository.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsRepositoryCheckoutError.BuilderA builder for BetaManagedAgentsRepositoryCheckoutError.
public final classBetaManagedAgentsRepositoryCheckoutError.RetryStatusWhat the client should do next. Always
retrying: the session keeps running without the repository.
-
Method Summary
Modifier and Type Method Description final Stringmessage()Human-readable error description. final Optional<String>repositoryUrl()URL of the repository that could not be cloned. final BetaManagedAgentsRepositoryCheckoutError.RetryStatusretryStatus()What the client should do next. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("repository_checkout_error")final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<String>_repositoryUrl()Returns the raw JSON value of repositoryUrl. final JsonField<BetaManagedAgentsRepositoryCheckoutError.RetryStatus>_retryStatus()Returns the raw JSON value of retryStatus. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsRepositoryCheckoutError.BuildertoBuilder()final BetaManagedAgentsRepositoryCheckoutErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsRepositoryCheckoutError.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsRepositoryCheckoutError. -
-
Method Detail
-
repositoryUrl
final Optional<String> repositoryUrl()
URL of the repository that could not be cloned. Null when it could not be identified.
-
retryStatus
final BetaManagedAgentsRepositoryCheckoutError.RetryStatus retryStatus()
What the client should do next. Always
retrying: the session keeps running without the repository.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("repository_checkout_error")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_repositoryUrl
final JsonField<String> _repositoryUrl()
Returns the raw JSON value of repositoryUrl.
Unlike repositoryUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_retryStatus
final JsonField<BetaManagedAgentsRepositoryCheckoutError.RetryStatus> _retryStatus()
Returns the raw JSON value of retryStatus.
Unlike retryStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsRepositoryCheckoutError.Builder toBuilder()
-
validate
final BetaManagedAgentsRepositoryCheckoutError 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 BetaManagedAgentsRepositoryCheckoutError.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsRepositoryCheckoutError.
The following fields are required:
.message() .repositoryUrl() .retryStatus()
-
-
-
-