Class BetaRawContentBlockDeltaEvent
-
- All Implemented Interfaces:
public final class BetaRawContentBlockDeltaEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRawContentBlockDeltaEvent.BuilderA builder for BetaRawContentBlockDeltaEvent.
-
Method Summary
Modifier and Type Method Description final BetaRawContentBlockDeltadelta()final Longindex()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("content_block_delta")final JsonField<BetaRawContentBlockDelta>_delta()Returns the raw JSON value of delta. final JsonField<Long>_index()Returns the raw JSON value of index. final Map<String, JsonValue>_additionalProperties()final BetaRawContentBlockDeltaEvent.BuildertoBuilder()final BetaRawContentBlockDeltaEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRawContentBlockDeltaEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaRawContentBlockDeltaEvent. -
-
Method Detail
-
delta
final BetaRawContentBlockDelta delta()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("content_block_delta")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_delta
final JsonField<BetaRawContentBlockDelta> _delta()
Returns the raw JSON value of delta.
Unlike delta, this method doesn't throw if the JSON field has an unexpected type.
-
_index
final JsonField<Long> _index()
Returns the raw JSON value of index.
Unlike index, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaRawContentBlockDeltaEvent.Builder toBuilder()
-
validate
final BetaRawContentBlockDeltaEvent validate()
-
builder
final static BetaRawContentBlockDeltaEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaRawContentBlockDeltaEvent.
The following fields are required:
.delta() .index()
-
-
-
-