Class ContentBlock
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ContentBlock
-
public class ContentBlock extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContentBlock.Builder
-
Constructor Summary
Constructors Constructor Description ContentBlock()ContentBlock(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content, org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockType> type, org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockStatus> status, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContentBlock.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>content()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()Date of creationbooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<ContentBlockStatus>status()Stackone enum identifying the status of content block.org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>tags()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<ContentBlockType>type()Stackone enum identifying the type of content block.org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()Date of last updateContentBlockwithContent(java.lang.String content)ContentBlockwithContent(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content)ContentBlockwithCreatedAt(java.time.OffsetDateTime createdAt)Date of creationContentBlockwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)Date of creationContentBlockwithId(java.lang.String id)Unique identifierContentBlockwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierContentBlockwithName(java.lang.String name)ContentBlockwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)ContentBlockwithRemoteId(java.lang.String remoteId)Provider's unique identifierContentBlockwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierContentBlockwithStatus(ContentBlockStatus status)Stackone enum identifying the status of content block.ContentBlockwithStatus(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockStatus> status)Stackone enum identifying the status of content block.ContentBlockwithTags(java.util.List<java.lang.String> tags)ContentBlockwithTags(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)ContentBlockwithType(ContentBlockType type)Stackone enum identifying the type of content block.ContentBlockwithType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockType> type)Stackone enum identifying the type of content block.ContentBlockwithUpdatedAt(java.time.OffsetDateTime updatedAt)Date of last updateContentBlockwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)Date of last update
-
-
-
Constructor Detail
-
ContentBlock
public ContentBlock(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content, org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockType> type, org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockStatus> status, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
ContentBlock
public ContentBlock()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
-
tags
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> tags()
-
content
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content()
-
type
public org.openapitools.jackson.nullable.JsonNullable<ContentBlockType> type()
Stackone enum identifying the type of content block.
-
status
public org.openapitools.jackson.nullable.JsonNullable<ContentBlockStatus> status()
Stackone enum identifying the status of content block.
-
createdAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
Date of creation
-
updatedAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
Date of last update
-
builder
public static ContentBlock.Builder builder()
-
withId
public ContentBlock withId(java.lang.String id)
Unique identifier
-
withId
public ContentBlock withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public ContentBlock withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public ContentBlock withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withName
public ContentBlock withName(java.lang.String name)
-
withName
public ContentBlock withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
-
withTags
public ContentBlock withTags(java.util.List<java.lang.String> tags)
-
withTags
public ContentBlock withTags(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> tags)
-
withContent
public ContentBlock withContent(java.lang.String content)
-
withContent
public ContentBlock withContent(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> content)
-
withType
public ContentBlock withType(ContentBlockType type)
Stackone enum identifying the type of content block.
-
withType
public ContentBlock withType(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockType> type)
Stackone enum identifying the type of content block.
-
withStatus
public ContentBlock withStatus(ContentBlockStatus status)
Stackone enum identifying the status of content block.
-
withStatus
public ContentBlock withStatus(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockStatus> status)
Stackone enum identifying the status of content block.
-
withCreatedAt
public ContentBlock withCreatedAt(java.time.OffsetDateTime createdAt)
Date of creation
-
withCreatedAt
public ContentBlock withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
Date of creation
-
withUpdatedAt
public ContentBlock withUpdatedAt(java.time.OffsetDateTime updatedAt)
Date of last update
-
withUpdatedAt
public ContentBlock withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
Date of last update
-
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
-
-