Class OutputItemListResponse.Sample.Output
-
- All Implemented Interfaces:
public final class OutputItemListResponse.Sample.Output
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOutputItemListResponse.Sample.Output.BuilderA builder for Output.
-
Method Summary
Modifier and Type Method Description final Optional<String>content()The content of the message. final Optional<String>role()The role of the message (e.g. final JsonField<String>_content()Returns the raw JSON value of content. final JsonField<String>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final OutputItemListResponse.Sample.Output.BuildertoBuilder()final OutputItemListResponse.Sample.Outputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OutputItemListResponse.Sample.Output.Builderbuilder()Returns a mutable builder for constructing an instance of Output. -
-
Method Detail
-
_content
final JsonField<String> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<String> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OutputItemListResponse.Sample.Output.Builder toBuilder()
-
validate
final OutputItemListResponse.Sample.Output 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 OutputItemListResponse.Sample.Output.Builder builder()
Returns a mutable builder for constructing an instance of Output.
-
-
-
-