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