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