Class ContentBlockType
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ContentBlockType
-
public class ContentBlockType extends java.lang.ObjectContentBlockTypeStackone enum identifying the type of content block.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContentBlockType.Builder
-
Constructor Summary
Constructors Constructor Description ContentBlockType()ContentBlockType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockSourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentBlockType.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<ContentBlockSourceValue>sourceValue()The source value of the type.java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<ContentBlockValue>value()The type of the content blocks.ContentBlockTypewithSourceValue(ContentBlockSourceValue sourceValue)The source value of the type.ContentBlockTypewithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockSourceValue> sourceValue)The source value of the type.ContentBlockTypewithValue(ContentBlockValue value)The type of the content blocks.ContentBlockTypewithValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockValue> value)The type of the content blocks.
-
-
-
Constructor Detail
-
ContentBlockType
public ContentBlockType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockSourceValue> sourceValue)
-
ContentBlockType
public ContentBlockType()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<ContentBlockValue> value()
The type of the content blocks.
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<ContentBlockSourceValue> sourceValue()
The source value of the type.
-
builder
public static final ContentBlockType.Builder builder()
-
withValue
public ContentBlockType withValue(ContentBlockValue value)
The type of the content blocks.
-
withValue
public ContentBlockType withValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockValue> value)
The type of the content blocks.
-
withSourceValue
public ContentBlockType withSourceValue(ContentBlockSourceValue sourceValue)
The source value of the type.
-
withSourceValue
public ContentBlockType withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockSourceValue> sourceValue)
The source value of the type.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-