Class ContentBlock


  • public class ContentBlock
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ContentBlock.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)  
    • 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
      • 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​(org.openapitools.jackson.nullable.JsonNullable<? extends ContentBlockType> type)
        Stackone enum identifying the type 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object