Package com.openai.models.responses
Class ResponseReasoningSummaryPartAddedEvent.Part
-
- All Implemented Interfaces:
public final class ResponseReasoningSummaryPartAddedEvent.Part
The summary part that was added.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseReasoningSummaryPartAddedEvent.Part.Builder
A builder for Part.
-
Method Summary
Modifier and Type Method Description final String
text()
The text of the summary part. final JsonValue
_type()
The type of the summary part. final JsonField<String>
_text()
Returns the raw JSON value of text. final Map<String, JsonValue>
_additionalProperties()
final ResponseReasoningSummaryPartAddedEvent.Part.Builder
toBuilder()
final ResponseReasoningSummaryPartAddedEvent.Part
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseReasoningSummaryPartAddedEvent.Part.Builder
builder()
Returns a mutable builder for constructing an instance of Part. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the summary part. Always
summary_text
.Expected to always return the following:
JsonValue.from("summary_text")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseReasoningSummaryPartAddedEvent.Part.Builder toBuilder()
-
validate
final ResponseReasoningSummaryPartAddedEvent.Part validate()
-
builder
final static ResponseReasoningSummaryPartAddedEvent.Part.Builder builder()
Returns a mutable builder for constructing an instance of Part.
The following fields are required:
.text()
-
-
-
-