Class OutputItemRetrieveResponse.Sample.Input
-
- All Implemented Interfaces:
public final class OutputItemRetrieveResponse.Sample.InputAn input message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOutputItemRetrieveResponse.Sample.Input.BuilderA builder for Input.
-
Method Summary
Modifier and Type Method Description final Stringcontent()The content of the message. final Stringrole()The role of the message sender (e.g., system, user, developer). 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 OutputItemRetrieveResponse.Sample.Input.BuildertoBuilder()final OutputItemRetrieveResponse.Sample.Inputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OutputItemRetrieveResponse.Sample.Input.Builderbuilder()Returns a mutable builder for constructing an instance of Input. -
-
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 OutputItemRetrieveResponse.Sample.Input.Builder toBuilder()
-
validate
final OutputItemRetrieveResponse.Sample.Input 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 OutputItemRetrieveResponse.Sample.Input.Builder builder()
Returns a mutable builder for constructing an instance of Input.
The following fields are required:
.content() .role()
-
-
-
-