Class BetaManagedAgentsTextRubric
-
- All Implemented Interfaces:
public final class BetaManagedAgentsTextRubricRubric content provided inline as text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsTextRubric.BuilderA builder for BetaManagedAgentsTextRubric.
-
Method Summary
Modifier and Type Method Description final Stringcontent()Rubric content. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("text")final JsonField<String>_content()Returns the raw JSON value of content. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsTextRubric.BuildertoBuilder()final BetaManagedAgentsTextRubricvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsTextRubric.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsTextRubric. final static BetaManagedAgentsTextRubricof(String content)Returns an immutable instance of BetaManagedAgentsTextRubric with the required content set to the given value. -
-
Method Detail
-
content
final String content()
Rubric content. Plain text or markdown — the grader treats it as freeform text.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("text")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsTextRubric.Builder toBuilder()
-
validate
final BetaManagedAgentsTextRubric 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 BetaManagedAgentsTextRubric.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsTextRubric.
The following fields are required:
.content()
-
of
final static BetaManagedAgentsTextRubric of(String content)
Returns an immutable instance of BetaManagedAgentsTextRubric with the required content set to the given value.
-
-
-
-