Class BulkRetrieveJobResponse.Job
-
- All Implemented Interfaces:
public final class BulkRetrieveJobResponse.Job
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBulkRetrieveJobResponse.Job.BuilderA builder for Job.
public final classBulkRetrieveJobResponse.Job.Status
-
Method Summary
Modifier and Type Method Description final InboundBulkMessagedefinition()Bulk message definition. final Longenqueued()final Longfailures()final Longreceived()final BulkRetrieveJobResponse.Job.Statusstatus()final JsonField<InboundBulkMessage>_definition()Returns the raw JSON value of definition. final JsonField<Long>_enqueued()Returns the raw JSON value of enqueued. final JsonField<Long>_failures()Returns the raw JSON value of failures. final JsonField<Long>_received()Returns the raw JSON value of received. final JsonField<BulkRetrieveJobResponse.Job.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final BulkRetrieveJobResponse.Job.BuildertoBuilder()final BulkRetrieveJobResponse.Jobvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BulkRetrieveJobResponse.Job.Builderbuilder()Returns a mutable builder for constructing an instance of Job. -
-
Method Detail
-
definition
final InboundBulkMessage definition()
Bulk message definition. Supports two formats:
V1 format: Requires
eventfield (event ID or notification ID)V2 format: Optionally use
template(notification ID) orcontent(Elemental content) in addition toevent
-
status
final BulkRetrieveJobResponse.Job.Status status()
-
_definition
final JsonField<InboundBulkMessage> _definition()
Returns the raw JSON value of definition.
Unlike definition, this method doesn't throw if the JSON field has an unexpected type.
-
_enqueued
final JsonField<Long> _enqueued()
Returns the raw JSON value of enqueued.
Unlike enqueued, this method doesn't throw if the JSON field has an unexpected type.
-
_failures
final JsonField<Long> _failures()
Returns the raw JSON value of failures.
Unlike failures, this method doesn't throw if the JSON field has an unexpected type.
-
_received
final JsonField<Long> _received()
Returns the raw JSON value of received.
Unlike received, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<BulkRetrieveJobResponse.Job.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BulkRetrieveJobResponse.Job.Builder toBuilder()
-
validate
final BulkRetrieveJobResponse.Job 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 BulkRetrieveJobResponse.Job.Builder builder()
Returns a mutable builder for constructing an instance of Job.
The following fields are required:
.definition() .enqueued() .failures() .received() .status()
-
-
-
-