Trait/Object

com.gu.contentapi.client.model.v1

BlockElement

Related Docs: object BlockElement | package v1

Permalink

trait BlockElement extends ThriftStruct with Product22[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], Option[EmbedElementFields], Option[InstagramElementFields], Option[CommentElementFields], Option[VineElementFields], Option[ContentAtomElementFields], Option[EmbedTracking], Option[CodeElementFields]] with ValidatingThriftStruct[BlockElement] with Serializable

Prefer the companion object's com.gu.contentapi.client.model.v1.BlockElement.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[BlockElement], HasThriftStructCodec3[BlockElement], Product22[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], Option[EmbedElementFields], Option[InstagramElementFields], Option[CommentElementFields], Option[VineElementFields], Option[ContentAtomElementFields], Option[EmbedTracking], Option[CodeElementFields]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockElement
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product22
  6. Product
  7. Equals
  8. ThriftStruct
  9. ThriftStructIface
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def assets: Seq[Asset]

    Permalink
  2. abstract def audioTypeData: Option[AudioElementFields]

    Permalink
  3. abstract def codeTypeData: Option[CodeElementFields]

    Permalink
  4. abstract def commentTypeData: Option[CommentElementFields]

    Permalink
  5. abstract def contentAtomTypeData: Option[ContentAtomElementFields]

    Permalink
  6. abstract def documentTypeData: Option[StandardElementFields]

    Permalink
  7. abstract def embedTypeData: Option[EmbedElementFields]

    Permalink
  8. abstract def imageTypeData: Option[ImageElementFields]

    Permalink
  9. abstract def instagramTypeData: Option[InstagramElementFields]

    Permalink
  10. abstract def interactiveTypeData: Option[InteractiveElementFields]

    Permalink
  11. abstract def mapTypeData: Option[StandardElementFields]

    Permalink
  12. abstract def membershipTypeData: Option[MembershipElementFields]

    Permalink
  13. abstract def pullquoteTypeData: Option[PullquoteElementFields]

    Permalink
  14. abstract def richLinkTypeData: Option[RichLinkElementFields]

    Permalink
  15. abstract def tableTypeData: Option[StandardElementFields]

    Permalink
  16. abstract def textTypeData: Option[TextElementFields]

    Permalink
  17. abstract def tracking: Option[EmbedTracking]

    Permalink
  18. abstract def tweetTypeData: Option[TweetElementFields]

    Permalink
  19. abstract def type: ElementType

    Permalink
  20. abstract def videoTypeData: Option[VideoElementFields]

    Permalink
  21. abstract def vineTypeData: Option[VineElementFields]

    Permalink
  22. abstract def witnessTypeData: Option[WitnessElementFields]

    Permalink

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

    Permalink
    Definition Classes
    BlockElement → Product22
  5. def _10: Option[StandardElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  6. def _11: Option[StandardElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  7. def _12: Option[StandardElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  8. def _13: Option[WitnessElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  9. def _14: Option[RichLinkElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  10. def _15: Option[MembershipElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  11. def _16: Option[EmbedElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  12. def _17: Option[InstagramElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  13. def _18: Option[CommentElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  14. def _19: Option[VineElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  15. def _2: Seq[Asset]

    Permalink
    Definition Classes
    BlockElement → Product22
  16. def _20: Option[ContentAtomElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  17. def _21: Option[EmbedTracking]

    Permalink
    Definition Classes
    BlockElement → Product22
  18. def _22: Option[CodeElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  19. def _3: Option[TextElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  20. def _4: Option[VideoElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  21. def _5: Option[TweetElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  22. def _6: Option[ImageElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  23. def _7: Option[AudioElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  24. def _8: Option[PullquoteElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  25. def _9: Option[InteractiveElementFields]

    Permalink
    Definition Classes
    BlockElement → Product22
  26. def _codec: ValidatingThriftStructCodec3[BlockElement]

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

    Permalink
  28. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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, embedTypeData: Option[EmbedElementFields] = this.embedTypeData, instagramTypeData: Option[InstagramElementFields] = this.instagramTypeData, commentTypeData: Option[CommentElementFields] = this.commentTypeData, vineTypeData: Option[VineElementFields] = this.vineTypeData, contentAtomTypeData: Option[ContentAtomElementFields] = this.contentAtomTypeData, tracking: Option[EmbedTracking] = this.tracking, codeTypeData: Option[CodeElementFields] = this.codeTypeData, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): BlockElement

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

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

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

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

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

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

    Permalink

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

  38. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  41. def newBuilder(): StructBuilder[BlockElement]

    Permalink
  42. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  44. def productArity: Int

    Permalink
    Definition Classes
    Product22 → Product
  45. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product22 → Product
    Annotations
    @throws( ... )
  46. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  47. def productPrefix: String

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

    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.

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

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

    Permalink
    Definition Classes
    BlockElement → AnyRef → Any
  51. def toTuple: (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], Option[EmbedElementFields], Option[InstagramElementFields], Option[CommentElementFields], Option[VineElementFields], Option[ContentAtomElementFields], Option[EmbedTracking], Option[CodeElementFields])

    Permalink
  52. def unsetAssets: BlockElement

    Permalink
  53. def unsetAudioTypeData: BlockElement

    Permalink
  54. def unsetCodeTypeData: BlockElement

    Permalink
  55. def unsetCommentTypeData: BlockElement

    Permalink
  56. def unsetContentAtomTypeData: BlockElement

    Permalink
  57. def unsetDocumentTypeData: BlockElement

    Permalink
  58. def unsetEmbedTypeData: BlockElement

    Permalink
  59. def unsetField(_fieldId: Short): BlockElement

    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.

  60. def unsetImageTypeData: BlockElement

    Permalink
  61. def unsetInstagramTypeData: BlockElement

    Permalink
  62. def unsetInteractiveTypeData: BlockElement

    Permalink
  63. def unsetMapTypeData: BlockElement

    Permalink
  64. def unsetMembershipTypeData: BlockElement

    Permalink
  65. def unsetPullquoteTypeData: BlockElement

    Permalink
  66. def unsetRichLinkTypeData: BlockElement

    Permalink
  67. def unsetTableTypeData: BlockElement

    Permalink
  68. def unsetTextTypeData: BlockElement

    Permalink
  69. def unsetTracking: BlockElement

    Permalink
  70. def unsetTweetTypeData: BlockElement

    Permalink
  71. def unsetType: BlockElement

    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.

  72. def unsetVideoTypeData: BlockElement

    Permalink
  73. def unsetVineTypeData: BlockElement

    Permalink
  74. def unsetWitnessTypeData: BlockElement

    Permalink
  75. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    BlockElement → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[BlockElement]

Inherited from HasThriftStructCodec3[BlockElement]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped