Class BetaResponseInjectCreatedEvent.Builder
-
- All Implemented Interfaces:
public final class BetaResponseInjectCreatedEvent.BuilderA builder for BetaResponseInjectCreatedEvent.
-
-
Method Summary
-
-
Method Detail
-
responseId
final BetaResponseInjectCreatedEvent.Builder responseId(String responseId)
The ID of the response that accepted the input.
-
responseId
final BetaResponseInjectCreatedEvent.Builder responseId(JsonField<String> responseId)
Sets Builder.responseId to an arbitrary JSON value.
You should usually call Builder.responseId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sequenceNumber
final BetaResponseInjectCreatedEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number for this event.
-
sequenceNumber
final BetaResponseInjectCreatedEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber)
Sets Builder.sequenceNumber to an arbitrary JSON value.
You should usually call Builder.sequenceNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaResponseInjectCreatedEvent.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("response.inject.created")This method is primarily for setting the field to an undocumented or not yet supported value.
-
streamId
final BetaResponseInjectCreatedEvent.Builder streamId(String streamId)
The multiplexed WebSocket stream that emitted the event. This field is present only when WebSocket multiplexing is enabled separately.
-
streamId
final BetaResponseInjectCreatedEvent.Builder streamId(JsonField<String> streamId)
Sets Builder.streamId to an arbitrary JSON value.
You should usually call Builder.streamId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponseInjectCreatedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseInjectCreatedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseInjectCreatedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseInjectCreatedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseInjectCreatedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseInjectCreatedEvent build()
Returns an immutable instance of BetaResponseInjectCreatedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.responseId() .sequenceNumber()
-
-
-
-