Class RunStep.LastError
-
- All Implemented Interfaces:
public final class RunStep.LastErrorThe last error associated with this run step. Will be
nullif there are no errors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunStep.LastError.BuilderA builder for LastError.
public final classRunStep.LastError.CodeOne of
server_errororrate_limit_exceeded.
-
Method Summary
Modifier and Type Method Description final RunStep.LastError.Codecode()One of server_errororrate_limit_exceeded.final Stringmessage()A human-readable description of the error. final JsonField<RunStep.LastError.Code>_code()Returns the raw JSON value of code. final JsonField<String>_message()Returns the raw JSON value of message. final Map<String, JsonValue>_additionalProperties()final RunStep.LastError.BuildertoBuilder()final RunStep.LastErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunStep.LastError.Builderbuilder()Returns a mutable builder for constructing an instance of LastError. -
-
Method Detail
-
code
final RunStep.LastError.Code code()
One of
server_errororrate_limit_exceeded.
-
_code
final JsonField<RunStep.LastError.Code> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RunStep.LastError.Builder toBuilder()
-
validate
final RunStep.LastError 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 RunStep.LastError.Builder builder()
Returns a mutable builder for constructing an instance of LastError.
The following fields are required:
.code() .message()
-
-
-
-