Class BetaManagedAgentsRepositoryCloneError
-
- All Implemented Interfaces:
public final class BetaManagedAgentsRepositoryCloneErrorThe repository could not be cloned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsRepositoryCloneError.BuilderA builder for BetaManagedAgentsRepositoryCloneError.
public final classBetaManagedAgentsRepositoryCloneError.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 BetaManagedAgentsRepositoryCloneError.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_clone_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<BetaManagedAgentsRepositoryCloneError.RetryStatus>_retryStatus()Returns the raw JSON value of retryStatus. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsRepositoryCloneError.BuildertoBuilder()final BetaManagedAgentsRepositoryCloneErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsRepositoryCloneError.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsRepositoryCloneError. -
-
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 BetaManagedAgentsRepositoryCloneError.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_clone_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<BetaManagedAgentsRepositoryCloneError.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 BetaManagedAgentsRepositoryCloneError.Builder toBuilder()
-
validate
final BetaManagedAgentsRepositoryCloneError 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 BetaManagedAgentsRepositoryCloneError.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsRepositoryCloneError.
The following fields are required:
.message() .repositoryUrl() .retryStatus()
-
-
-
-