Class BetaResponseInjectCreatedEvent
-
- All Implemented Interfaces:
public final class BetaResponseInjectCreatedEventEmitted when all injected input items were validated and committed to the active response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInjectCreatedEvent.BuilderA builder for BetaResponseInjectCreatedEvent.
-
Method Summary
Modifier and Type Method Description final StringresponseId()The ID of the response that accepted the input. final LongsequenceNumber()The sequence number for this event. final JsonValue_type()The event discriminator. final Optional<String>streamId()The multiplexed WebSocket stream that emitted the event. final JsonField<String>_responseId()Returns the raw JSON value of responseId. final JsonField<Long>_sequenceNumber()Returns the raw JSON value of sequenceNumber. final JsonField<String>_streamId()Returns the raw JSON value of streamId. final Map<String, JsonValue>_additionalProperties()final BetaResponseInjectCreatedEvent.BuildertoBuilder()final BetaResponseInjectCreatedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseInjectCreatedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaResponseInjectCreatedEvent. -
-
Method Detail
-
responseId
final String responseId()
The ID of the response that accepted the input.
-
sequenceNumber
final Long sequenceNumber()
The sequence number for this event.
-
_type
final JsonValue _type()
The event discriminator. Always
response.inject.created.Expected to always return the following:
JsonValue.from("response.inject.created")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
streamId
final Optional<String> streamId()
The multiplexed WebSocket stream that emitted the event. This field is present only when WebSocket multiplexing is enabled separately.
-
_responseId
final JsonField<String> _responseId()
Returns the raw JSON value of responseId.
Unlike responseId, 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.
-
_streamId
final JsonField<String> _streamId()
Returns the raw JSON value of streamId.
Unlike streamId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponseInjectCreatedEvent.Builder toBuilder()
-
validate
final BetaResponseInjectCreatedEvent 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 BetaResponseInjectCreatedEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaResponseInjectCreatedEvent.
The following fields are required:
.responseId() .sequenceNumber()
-
-
-
-