Class BetaRawContentBlockStartEvent
-
- All Implemented Interfaces:
public final class BetaRawContentBlockStartEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRawContentBlockStartEvent.BuilderA builder for BetaRawContentBlockStartEvent.
public final classBetaRawContentBlockStartEvent.ContentBlockResponse model for a file uploaded to the container.
-
Method Summary
Modifier and Type Method Description final BetaRawContentBlockStartEvent.ContentBlockcontentBlock()Response model for a file uploaded to the container. 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_start")final JsonField<BetaRawContentBlockStartEvent.ContentBlock>_contentBlock()Returns the raw JSON value of contentBlock. final JsonField<Long>_index()Returns the raw JSON value of index. final Map<String, JsonValue>_additionalProperties()final BetaRawContentBlockStartEvent.BuildertoBuilder()final BetaRawContentBlockStartEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRawContentBlockStartEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaRawContentBlockStartEvent. -
-
Method Detail
-
contentBlock
final BetaRawContentBlockStartEvent.ContentBlock contentBlock()
Response model for a file uploaded to the container.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("content_block_start")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_contentBlock
final JsonField<BetaRawContentBlockStartEvent.ContentBlock> _contentBlock()
Returns the raw JSON value of contentBlock.
Unlike contentBlock, 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 BetaRawContentBlockStartEvent.Builder toBuilder()
-
validate
final BetaRawContentBlockStartEvent 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 BetaRawContentBlockStartEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaRawContentBlockStartEvent.
The following fields are required:
.contentBlock() .index()
-
-
-
-