Class BetaContentBlockSource
-
- All Implemented Interfaces:
public final class BetaContentBlockSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaContentBlockSource.BuilderA builder for BetaContentBlockSource.
public final classBetaContentBlockSource.Content
-
Method Summary
Modifier and Type Method Description final BetaContentBlockSource.Contentcontent()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("content")final JsonField<BetaContentBlockSource.Content>_content()Returns the raw JSON value of content. final Map<String, JsonValue>_additionalProperties()final BetaContentBlockSource.BuildertoBuilder()final BetaContentBlockSourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaContentBlockSource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaContentBlockSource. -
-
Method Detail
-
content
final BetaContentBlockSource.Content content()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("content")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_content
final JsonField<BetaContentBlockSource.Content> _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 BetaContentBlockSource.Builder toBuilder()
-
validate
final BetaContentBlockSource 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 BetaContentBlockSource.Builder builder()
Returns a mutable builder for constructing an instance of BetaContentBlockSource.
The following fields are required:
.content()
-
-
-
-