com.gu.contentapi.client.model.v1

BlockElement

trait BlockElement extends ThriftStruct with Product15[ElementType, Seq[Asset], Option[TextElementFields], Option[VideoElementFields], Option[TweetElementFields], Option[ImageElementFields], Option[AudioElementFields], Option[PullquoteElementFields], Option[InteractiveElementFields], Option[StandardElementFields], Option[StandardElementFields], Option[StandardElementFields], Option[WitnessElementFields], Option[RichLinkElementFields], Option[MembershipElementFields]] with Serializable

Linear Supertypes
Serializable, Product15[ElementType, Seq[Asset], Option[TextElementFields], Option[VideoElementFields], Option[TweetElementFields], Option[ImageElementFields], Option[AudioElementFields], Option[PullquoteElementFields], Option[InteractiveElementFields], Option[StandardElementFields], Option[StandardElementFields], Option[StandardElementFields], Option[WitnessElementFields], Option[RichLinkElementFields], Option[MembershipElementFields]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BlockElement
  2. Serializable
  3. Product15
  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 assets: Seq[Asset]

  2. abstract def audioTypeData: Option[AudioElementFields]

  3. abstract def documentTypeData: Option[StandardElementFields]

  4. abstract def imageTypeData: Option[ImageElementFields]

  5. abstract def interactiveTypeData: Option[InteractiveElementFields]

  6. abstract def mapTypeData: Option[StandardElementFields]

  7. abstract def membershipTypeData: Option[MembershipElementFields]

  8. abstract def pullquoteTypeData: Option[PullquoteElementFields]

  9. abstract def richLinkTypeData: Option[RichLinkElementFields]

  10. abstract def tableTypeData: Option[StandardElementFields]

  11. abstract def textTypeData: Option[TextElementFields]

  12. abstract def tweetTypeData: Option[TweetElementFields]

  13. abstract def type: ElementType

  14. abstract def videoTypeData: Option[VideoElementFields]

  15. abstract def witnessTypeData: Option[WitnessElementFields]

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: ElementType

    Definition Classes
    BlockElement → Product15
  7. def _10: Option[StandardElementFields]

    Definition Classes
    BlockElement → Product15
  8. def _11: Option[StandardElementFields]

    Definition Classes
    BlockElement → Product15
  9. def _12: Option[StandardElementFields]

    Definition Classes
    BlockElement → Product15
  10. def _13: Option[WitnessElementFields]

    Definition Classes
    BlockElement → Product15
  11. def _14: Option[RichLinkElementFields]

    Definition Classes
    BlockElement → Product15
  12. def _15: Option[MembershipElementFields]

    Definition Classes
    BlockElement → Product15
  13. def _2: Seq[Asset]

    Definition Classes
    BlockElement → Product15
  14. def _3: Option[TextElementFields]

    Definition Classes
    BlockElement → Product15
  15. def _4: Option[VideoElementFields]

    Definition Classes
    BlockElement → Product15
  16. def _5: Option[TweetElementFields]

    Definition Classes
    BlockElement → Product15
  17. def _6: Option[ImageElementFields]

    Definition Classes
    BlockElement → Product15
  18. def _7: Option[AudioElementFields]

    Definition Classes
    BlockElement → Product15
  19. def _8: Option[PullquoteElementFields]

    Definition Classes
    BlockElement → Product15
  20. def _9: Option[InteractiveElementFields]

    Definition Classes
    BlockElement → Product15
  21. def _passthroughFields: Map[Short, TFieldBlob]

  22. final def asInstanceOf[T0]: T0

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

    Definition Classes
    BlockElement → Equals
  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def copy(type: ElementType = this.`type`, assets: Seq[Asset] = this.assets, textTypeData: Option[TextElementFields] = this.textTypeData, videoTypeData: Option[VideoElementFields] = this.videoTypeData, tweetTypeData: Option[TweetElementFields] = this.tweetTypeData, imageTypeData: Option[ImageElementFields] = this.imageTypeData, audioTypeData: Option[AudioElementFields] = this.audioTypeData, pullquoteTypeData: Option[PullquoteElementFields] = this.pullquoteTypeData, interactiveTypeData: Option[InteractiveElementFields] = this.interactiveTypeData, mapTypeData: Option[StandardElementFields] = this.mapTypeData, documentTypeData: Option[StandardElementFields] = this.documentTypeData, tableTypeData: Option[StandardElementFields] = this.tableTypeData, witnessTypeData: Option[WitnessElementFields] = this.witnessTypeData, richLinkTypeData: Option[RichLinkElementFields] = this.richLinkTypeData, membershipTypeData: Option[MembershipElementFields] = this.membershipTypeData, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): BlockElement

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

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

    Definition Classes
    BlockElement → Equals → AnyRef → Any
  28. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  30. 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.

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

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

  32. def hashCode(): Int

    Definition Classes
    BlockElement → AnyRef → Any
  33. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  37. def productArity: Int

    Definition Classes
    BlockElement → Product15 → Product
  38. def productElement(n: Int): Any

    Definition Classes
    BlockElement → Product15 → Product
  39. def productIterator: Iterator[Any]

    Definition Classes
    Product
  40. def productPrefix: String

    Definition Classes
    BlockElement → Product
  41. def setField(_blob: TFieldBlob): BlockElement

    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.

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

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    BlockElement → AnyRef → Any
  44. def unsetAssets: BlockElement

  45. def unsetAudioTypeData: BlockElement

  46. def unsetDocumentTypeData: BlockElement

  47. def unsetField(_fieldId: Short): BlockElement

    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.

  48. def unsetImageTypeData: BlockElement

  49. def unsetInteractiveTypeData: BlockElement

  50. def unsetMapTypeData: BlockElement

  51. def unsetMembershipTypeData: BlockElement

  52. def unsetPullquoteTypeData: BlockElement

  53. def unsetRichLinkTypeData: BlockElement

  54. def unsetTableTypeData: BlockElement

  55. def unsetTextTypeData: BlockElement

  56. def unsetTweetTypeData: BlockElement

  57. def unsetType: BlockElement

    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.

  58. def unsetVideoTypeData: BlockElement

  59. def unsetWitnessTypeData: BlockElement

  60. final def wait(): Unit

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

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

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

    Definition Classes
    BlockElement → ThriftStruct

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped