Class BetaRawMessageDeltaEvent.Delta
-
- All Implemented Interfaces:
public final class BetaRawMessageDeltaEvent.Delta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRawMessageDeltaEvent.Delta.BuilderA builder for Delta.
-
Method Summary
Modifier and Type Method Description final Optional<BetaContainer>container()Information about the container used in the request (for the code execution tool) final Optional<BetaRefusalStopDetails>stopDetails()Structured information about a refusal. final Optional<BetaStopReason>stopReason()final Optional<String>stopSequence()final JsonField<BetaContainer>_container()Returns the raw JSON value of container. final JsonField<BetaRefusalStopDetails>_stopDetails()Returns the raw JSON value of stopDetails. final JsonField<BetaStopReason>_stopReason()Returns the raw JSON value of stopReason. final JsonField<String>_stopSequence()Returns the raw JSON value of stopSequence. final Map<String, JsonValue>_additionalProperties()final BetaRawMessageDeltaEvent.Delta.BuildertoBuilder()final BetaRawMessageDeltaEvent.Deltavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRawMessageDeltaEvent.Delta.Builderbuilder()Returns a mutable builder for constructing an instance of Delta. -
-
Method Detail
-
container
final Optional<BetaContainer> container()
Information about the container used in the request (for the code execution tool)
-
stopDetails
final Optional<BetaRefusalStopDetails> stopDetails()
Structured information about a refusal.
-
stopReason
final Optional<BetaStopReason> stopReason()
-
stopSequence
final Optional<String> stopSequence()
-
_container
final JsonField<BetaContainer> _container()
Returns the raw JSON value of container.
Unlike container, this method doesn't throw if the JSON field has an unexpected type.
-
_stopDetails
final JsonField<BetaRefusalStopDetails> _stopDetails()
Returns the raw JSON value of stopDetails.
Unlike stopDetails, this method doesn't throw if the JSON field has an unexpected type.
-
_stopReason
final JsonField<BetaStopReason> _stopReason()
Returns the raw JSON value of stopReason.
Unlike stopReason, this method doesn't throw if the JSON field has an unexpected type.
-
_stopSequence
final JsonField<String> _stopSequence()
Returns the raw JSON value of stopSequence.
Unlike stopSequence, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaRawMessageDeltaEvent.Delta.Builder toBuilder()
-
validate
final BetaRawMessageDeltaEvent.Delta 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 BetaRawMessageDeltaEvent.Delta.Builder builder()
Returns a mutable builder for constructing an instance of Delta.
The following fields are required:
.container() .stopDetails() .stopReason() .stopSequence()
-
-
-
-