Trait/Object

com.gu.flexiblecontent.model.thrift

Block

Related Docs: object Block | package thrift

Permalink

trait Block extends ThriftStruct with Product13[String, Option[BlockAttributes], Option[User], Option[Long], Option[Seq[Element]], Option[Long], Option[Long], Option[User], Option[Boolean], Option[Long], Option[String], Option[String], Option[Seq[Tag]]] with ValidatingThriftStruct[Block] with Serializable

Prefer the companion object's com.gu.flexiblecontent.model.thrift.Block.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[Block], HasThriftStructCodec3[Block], Product13[String, Option[BlockAttributes], Option[User], Option[Long], Option[Seq[Element]], Option[Long], Option[Long], Option[User], Option[Boolean], Option[Long], Option[String], Option[String], Option[Seq[Tag]]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Block
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product13
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def attributes: Option[BlockAttributes]

    Permalink

    The Block's attributes, these configure blocks within a liveblog.

  2. abstract def bodyHtml: Option[String]

    Permalink

    An HTML representation of the block

  3. abstract def bodyTextSummary: Option[String]

    Permalink

    A summary text representation of the block

  4. abstract def contributors: Option[Seq[Tag]]

    Permalink

    Contributors of the block

  5. abstract def createdBy: Option[User]

    Permalink

    The User that created the Block

  6. abstract def dateCreated: Option[Long]

    Permalink

    When the block was created

  7. abstract def elements: Option[Seq[Element]]

    Permalink

    The Elements that make up the Block

  8. abstract def firstPublishedDate: Option[Long]

    Permalink

    When the Block was first published

  9. abstract def id: String

    Permalink

    The Block's id

  10. abstract def lastModified: Option[Long]

    Permalink

    When the Block was modified

  11. abstract def lastModifiedBy: Option[User]

    Permalink

    Who last modified the Block

  12. abstract def published: Option[Boolean]

    Permalink

    If the Block is currently live, not if this is false and firstPublished is set the Block is taken down

  13. abstract def publishedDate: Option[Long]

    Permalink

    The most recent publication date

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: String

    Permalink
    Definition Classes
    Block → Product13
  5. def _10: Option[Long]

    Permalink
    Definition Classes
    Block → Product13
  6. def _11: Option[String]

    Permalink
    Definition Classes
    Block → Product13
  7. def _12: Option[String]

    Permalink
    Definition Classes
    Block → Product13
  8. def _13: Option[Seq[Tag]]

    Permalink
    Definition Classes
    Block → Product13
  9. def _2: Option[BlockAttributes]

    Permalink
    Definition Classes
    Block → Product13
  10. def _3: Option[User]

    Permalink
    Definition Classes
    Block → Product13
  11. def _4: Option[Long]

    Permalink
    Definition Classes
    Block → Product13
  12. def _5: Option[Seq[Element]]

    Permalink
    Definition Classes
    Block → Product13
  13. def _6: Option[Long]

    Permalink
    Definition Classes
    Block → Product13
  14. def _7: Option[Long]

    Permalink
    Definition Classes
    Block → Product13
  15. def _8: Option[User]

    Permalink
    Definition Classes
    Block → Product13
  16. def _9: Option[Boolean]

    Permalink
    Definition Classes
    Block → Product13
  17. def _codec: ValidatingThriftStructCodec3[Block]

    Permalink
    Definition Classes
    Block → ValidatingThriftStruct → HasThriftStructCodec3
  18. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Block → Equals
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def copy(id: String = this.id, attributes: Option[BlockAttributes] = this.attributes, createdBy: Option[User] = this.createdBy, dateCreated: Option[Long] = this.dateCreated, elements: Option[Seq[Element]] = this.elements, firstPublishedDate: Option[Long] = this.firstPublishedDate, lastModified: Option[Long] = this.lastModified, lastModifiedBy: Option[User] = this.lastModifiedBy, published: Option[Boolean] = this.published, publishedDate: Option[Long] = this.publishedDate, bodyTextSummary: Option[String] = this.bodyTextSummary, bodyHtml: Option[String] = this.bodyHtml, contributors: Option[Seq[Tag]] = this.contributors, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Block

    Permalink
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Block → Equals → AnyRef → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

  28. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

  29. def hashCode(): Int

    Permalink
    Definition Classes
    Block → AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def productArity: Int

    Permalink
    Definition Classes
    Block → Product13 → Product
  35. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Block → Product13 → Product
  36. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  37. def productPrefix: String

    Permalink
    Definition Classes
    Block → Product
  38. def setField(_blob: TFieldBlob): Block

    Permalink

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    Block → AnyRef → Any
  41. def toTuple: (String, Option[BlockAttributes], Option[User], Option[Long], Option[Seq[Element]], Option[Long], Option[Long], Option[User], Option[Boolean], Option[Long], Option[String], Option[String], Option[Seq[Tag]])

    Permalink
  42. def unsetAttributes: Block

    Permalink
  43. def unsetBodyHtml: Block

    Permalink
  44. def unsetBodyTextSummary: Block

    Permalink
  45. def unsetContributors: Block

    Permalink
  46. def unsetCreatedBy: Block

    Permalink
  47. def unsetDateCreated: Block

    Permalink
  48. def unsetElements: Block

    Permalink
  49. def unsetField(_fieldId: Short): Block

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

  50. def unsetFirstPublishedDate: Block

    Permalink
  51. def unsetId: Block

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

  52. def unsetLastModified: Block

    Permalink
  53. def unsetLastModifiedBy: Block

    Permalink
  54. def unsetPublished: Block

    Permalink
  55. def unsetPublishedDate: Block

    Permalink
  56. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Block → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[Block]

Inherited from HasThriftStructCodec3[Block]

Inherited from Product13[String, Option[BlockAttributes], Option[User], Option[Long], Option[Seq[Element]], Option[Long], Option[Long], Option[User], Option[Boolean], Option[Long], Option[String], Option[String], Option[Seq[Tag]]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped