Package com.openai.models.evals.runs
Class RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage
-
- All Implemented Interfaces:
public final class RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage.BuilderA builder for ChatMessage.
-
Method Summary
Modifier and Type Method Description final Stringcontent()The content of the message. final Stringrole()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 RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage.BuildertoBuilder()final RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessagevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage.Builderbuilder()Returns a mutable builder for constructing an instance of ChatMessage. -
-
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 RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage.Builder toBuilder()
-
validate
final RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage 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 RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage.Builder builder()
Returns a mutable builder for constructing an instance of ChatMessage.
The following fields are required:
.content() .role()
-
-
-
-