Class BetaManagedAgentsSystemContentBlock
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSystemContentBlockRegular text content.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSystemContentBlock.BuilderA builder for BetaManagedAgentsSystemContentBlock.
public final classBetaManagedAgentsSystemContentBlock.Type
-
Method Summary
Modifier and Type Method Description final Stringtext()The text content. final BetaManagedAgentsSystemContentBlock.Typetype()final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<BetaManagedAgentsSystemContentBlock.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSystemContentBlock.BuildertoBuilder()final BetaManagedAgentsSystemContentBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSystemContentBlock.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSystemContentBlock. -
-
Method Detail
-
type
final BetaManagedAgentsSystemContentBlock.Type type()
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSystemContentBlock.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSystemContentBlock.Builder toBuilder()
-
validate
final BetaManagedAgentsSystemContentBlock 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 BetaManagedAgentsSystemContentBlock.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSystemContentBlock.
The following fields are required:
.text() .type()
-
-
-
-