Package com.courier.models.notifications
Class BaseCheck
-
- All Implemented Interfaces:
public final class BaseCheck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBaseCheck.BuilderA builder for BaseCheck.
public final classBaseCheck.Statuspublic final classBaseCheck.Type
-
Method Summary
Modifier and Type Method Description final Stringid()final BaseCheck.Statusstatus()final BaseCheck.Typetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BaseCheck.Status>_status()Returns the raw JSON value of status. final JsonField<BaseCheck.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BaseCheck.BuildertoBuilder()final BaseCheckvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BaseCheck.Builderbuilder()Returns a mutable builder for constructing an instance of BaseCheck. -
-
Method Detail
-
status
final BaseCheck.Status status()
-
type
final BaseCheck.Type type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<BaseCheck.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BaseCheck.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BaseCheck.Builder toBuilder()
-
validate
final BaseCheck 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 BaseCheck.Builder builder()
Returns a mutable builder for constructing an instance of BaseCheck.
The following fields are required:
.id() .status() .type()
-
-
-
-