com.gu.contentapi.client.model.v1

Block

trait Block extends ThriftStruct with Product14[String, String, String, Option[String], BlockAttributes, Boolean, Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Seq[String], Option[User], Option[User], Seq[BlockElement]] with Serializable

Linear Supertypes
Serializable, Product14[String, String, String, Option[String], BlockAttributes, Boolean, Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Seq[String], Option[User], Option[User], Seq[BlockElement]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Block
  2. Serializable
  3. Product14
  4. Product
  5. Equals
  6. ThriftStruct
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def attributes: BlockAttributes

  2. abstract def bodyHtml: String

  3. abstract def bodyTextSummary: String

  4. abstract def contributors: Seq[String]

  5. abstract def createdBy: Option[User]

  6. abstract def createdDate: Option[CapiDateTime]

  7. abstract def elements: Seq[BlockElement]

  8. abstract def firstPublishedDate: Option[CapiDateTime]

  9. abstract def id: String

  10. abstract def lastModifiedBy: Option[User]

  11. abstract def lastModifiedDate: Option[CapiDateTime]

  12. abstract def published: Boolean

  13. abstract def publishedDate: Option[CapiDateTime]

  14. abstract def title: Option[String]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _1: String

    Definition Classes
    Block → Product14
  7. def _10: Option[CapiDateTime]

    Definition Classes
    Block → Product14
  8. def _11: Seq[String]

    Definition Classes
    Block → Product14
  9. def _12: Option[User]

    Definition Classes
    Block → Product14
  10. def _13: Option[User]

    Definition Classes
    Block → Product14
  11. def _14: Seq[BlockElement]

    Definition Classes
    Block → Product14
  12. def _2: String

    Definition Classes
    Block → Product14
  13. def _3: String

    Definition Classes
    Block → Product14
  14. def _4: Option[String]

    Definition Classes
    Block → Product14
  15. def _5: BlockAttributes

    Definition Classes
    Block → Product14
  16. def _6: Boolean

    Definition Classes
    Block → Product14
  17. def _7: Option[CapiDateTime]

    Definition Classes
    Block → Product14
  18. def _8: Option[CapiDateTime]

    Definition Classes
    Block → Product14
  19. def _9: Option[CapiDateTime]

    Definition Classes
    Block → Product14
  20. def _passthroughFields: Map[Short, TFieldBlob]

  21. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  22. def canEqual(other: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def copy(id: String = this.id, bodyHtml: String = this.bodyHtml, bodyTextSummary: String = this.bodyTextSummary, title: Option[String] = this.title, attributes: BlockAttributes = this.attributes, published: Boolean = this.published, createdDate: Option[CapiDateTime] = this.createdDate, firstPublishedDate: Option[CapiDateTime] = this.firstPublishedDate, publishedDate: Option[CapiDateTime] = this.publishedDate, lastModifiedDate: Option[CapiDateTime] = this.lastModifiedDate, contributors: Seq[String] = this.contributors, createdBy: Option[User] = this.createdBy, lastModifiedBy: Option[User] = this.lastModifiedBy, elements: Seq[BlockElement] = this.elements, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Block

  25. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    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 returend. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

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

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

  31. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  36. def productArity: Int

    Definition Classes
    Block → Product14 → Product
  37. def productElement(n: Int): Any

    Definition Classes
    Block → Product14 → Product
  38. def productIterator: Iterator[Any]

    Definition Classes
    Product
  39. def productPrefix: String

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

    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.

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

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    Block → AnyRef → Any
  43. def unsetAttributes: Block

  44. def unsetBodyHtml: Block

  45. def unsetBodyTextSummary: Block

  46. def unsetContributors: Block

  47. def unsetCreatedBy: Block

  48. def unsetCreatedDate: Block

  49. def unsetElements: Block

  50. def unsetField(_fieldId: Short): Block

    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 subtracked from the passthroughFields map, if present.

  51. def unsetFirstPublishedDate: Block

  52. def unsetId: Block

    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 subtracked from the passthroughFields map, if present.

  53. def unsetLastModifiedBy: Block

  54. def unsetLastModifiedDate: Block

  55. def unsetPublished: Block

  56. def unsetPublishedDate: Block

  57. def unsetTitle: Block

  58. final def wait(): Unit

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

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

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

    Definition Classes
    Block → ThriftStruct

Inherited from Serializable

Inherited from Product14[String, String, String, Option[String], BlockAttributes, Boolean, Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Seq[String], Option[User], Option[User], Seq[BlockElement]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped