Class ResponseInProgressEvent
-
- All Implemented Interfaces:
public final class ResponseInProgressEventEmitted when the response is in progress.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInProgressEvent.BuilderA builder for ResponseInProgressEvent.
-
Method Summary
Modifier and Type Method Description final Responseresponse()The response that is in progress. final LongsequenceNumber()The sequence number of this event. final JsonValue_type()The type of the event. final JsonField<Response>_response()Returns the raw JSON value of response. final JsonField<Long>_sequenceNumber()Returns the raw JSON value of sequenceNumber. final Map<String, JsonValue>_additionalProperties()final ResponseInProgressEvent.BuildertoBuilder()final ResponseInProgressEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInProgressEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseInProgressEvent. -
-
Method Detail
-
sequenceNumber
final Long sequenceNumber()
The sequence number of this event.
-
_type
final JsonValue _type()
The type of the event. Always
response.in_progress.Expected to always return the following:
JsonValue.from("response.in_progress")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_response
final JsonField<Response> _response()
Returns the raw JSON value of response.
Unlike response, this method doesn't throw if the JSON field has an unexpected type.
-
_sequenceNumber
final JsonField<Long> _sequenceNumber()
Returns the raw JSON value of sequenceNumber.
Unlike sequenceNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseInProgressEvent.Builder toBuilder()
-
validate
final ResponseInProgressEvent 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 ResponseInProgressEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseInProgressEvent.
The following fields are required:
.response() .sequenceNumber()
-
-
-
-