Class BetaManagedAgentsTextRubricParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsTextRubricParamsRubric content provided inline as text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsTextRubricParams.BuilderA builder for BetaManagedAgentsTextRubricParams.
-
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 BetaManagedAgentsTextRubricParams.BuildertoBuilder()final BetaManagedAgentsTextRubricParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsTextRubricParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsTextRubricParams. final static BetaManagedAgentsTextRubricParamsof(String content)Returns an immutable instance of BetaManagedAgentsTextRubricParams 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. Maximum 262144 characters.
-
_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 BetaManagedAgentsTextRubricParams.Builder toBuilder()
-
validate
final BetaManagedAgentsTextRubricParams 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 BetaManagedAgentsTextRubricParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsTextRubricParams.
The following fields are required:
.content()
-
of
final static BetaManagedAgentsTextRubricParams of(String content)
Returns an immutable instance of BetaManagedAgentsTextRubricParams with the required content set to the given value.
-
-
-
-