Packages

trait BlockElement extends ThriftStruct with Product 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], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockElement
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product
  6. Equals
  7. ThriftStruct
  8. ThriftStructIface
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def assets: Seq[Asset]
  2. abstract def audioTypeData: Option[AudioElementFields]
  3. abstract def calloutTypeData: Option[CalloutElementFields]
  4. abstract def cartoonTypeData: Option[CartoonElementFields]
  5. abstract def codeTypeData: Option[CodeElementFields]
  6. abstract def commentTypeData: Option[CommentElementFields]
  7. abstract def contentAtomTypeData: Option[ContentAtomElementFields]
  8. abstract def documentTypeData: Option[StandardElementFields]
  9. abstract def embedTypeData: Option[EmbedElementFields]
  10. abstract def imageTypeData: Option[ImageElementFields]
  11. abstract def instagramTypeData: Option[InstagramElementFields]
  12. abstract def interactiveTypeData: Option[InteractiveElementFields]
  13. abstract def linkTypeData: Option[LinkElementFields]
  14. abstract def listTypeData: Option[ListElementFields]
  15. abstract def mapTypeData: Option[StandardElementFields]
  16. abstract def membershipTypeData: Option[MembershipElementFields]
  17. abstract def pullquoteTypeData: Option[PullquoteElementFields]
  18. abstract def recipeTypeData: Option[RecipeElementFields]
  19. abstract def richLinkTypeData: Option[RichLinkElementFields]
  20. abstract def tableTypeData: Option[StandardElementFields]
  21. abstract def textTypeData: Option[TextElementFields]
  22. abstract def timelineTypeData: Option[TimelineElementFields]
  23. abstract def tracking: Option[EmbedTracking]
  24. abstract def tweetTypeData: Option[TweetElementFields]
  25. abstract def type: ElementType
  26. abstract def videoTypeData: Option[VideoElementFields]
  27. abstract def vineTypeData: Option[VineElementFields]
  28. abstract def witnessTypeData: Option[WitnessElementFields]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _1: ElementType
  5. def _10: Option[StandardElementFields]
  6. def _11: Option[StandardElementFields]
  7. def _12: Option[StandardElementFields]
  8. def _13: Option[WitnessElementFields]
  9. def _14: Option[RichLinkElementFields]
  10. def _15: Option[MembershipElementFields]
  11. def _16: Option[EmbedElementFields]
  12. def _17: Option[InstagramElementFields]
  13. def _18: Option[CommentElementFields]
  14. def _19: Option[VineElementFields]
  15. def _2: Seq[Asset]
  16. def _20: Option[ContentAtomElementFields]
  17. def _21: Option[EmbedTracking]
  18. def _22: Option[CodeElementFields]
  19. def _23: Option[CalloutElementFields]
  20. def _24: Option[CartoonElementFields]
  21. def _25: Option[RecipeElementFields]
  22. def _26: Option[ListElementFields]
  23. def _27: Option[TimelineElementFields]
  24. def _28: Option[LinkElementFields]
  25. def _3: Option[TextElementFields]
  26. def _4: Option[VideoElementFields]
  27. def _5: Option[TweetElementFields]
  28. def _6: Option[ImageElementFields]
  29. def _7: Option[AudioElementFields]
  30. def _8: Option[PullquoteElementFields]
  31. def _9: Option[InteractiveElementFields]
  32. def _codec: ValidatingThriftStructCodec3[BlockElement]
    Definition Classes
    BlockElement → ValidatingThriftStruct → HasThriftStructCodec3
  33. def _passthroughFields: Map[Short, TFieldBlob]
  34. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  35. def canEqual(other: Any): Boolean
    Definition Classes
    BlockElement → Equals
  36. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  37. 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, calloutTypeData: Option[CalloutElementFields] = this.calloutTypeData, cartoonTypeData: Option[CartoonElementFields] = this.cartoonTypeData, recipeTypeData: Option[RecipeElementFields] = this.recipeTypeData, listTypeData: Option[ListElementFields] = this.listTypeData, timelineTypeData: Option[TimelineElementFields] = this.timelineTypeData, linkTypeData: Option[LinkElementFields] = this.linkTypeData, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): BlockElement
  38. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def equals(other: Any): Boolean
    Definition Classes
    BlockElement → Equals → AnyRef → Any
  40. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  41. 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 returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

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

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

  43. def hashCode(): Int
    Definition Classes
    BlockElement → AnyRef → Any
  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def newBuilder(): StructBuilder[BlockElement]
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  49. def productArity: Int
    Definition Classes
    BlockElement → Product
  50. def productElement(n: Int): Any
    Definition Classes
    BlockElement → Product
  51. def productElementName(n: Int): String
    Definition Classes
    Product
  52. def productElementNames: Iterator[String]
    Definition Classes
    Product
  53. def productIterator: Iterator[Any]
    Definition Classes
    Product
  54. def productPrefix: String
    Definition Classes
    BlockElement → Product
  55. 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.

  56. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  57. def toString(): String
    Definition Classes
    BlockElement → AnyRef → Any
  58. def unsetAssets: BlockElement
  59. def unsetAudioTypeData: BlockElement
  60. def unsetCalloutTypeData: BlockElement
  61. def unsetCartoonTypeData: BlockElement
  62. def unsetCodeTypeData: BlockElement
  63. def unsetCommentTypeData: BlockElement
  64. def unsetContentAtomTypeData: BlockElement
  65. def unsetDocumentTypeData: BlockElement
  66. def unsetEmbedTypeData: BlockElement
  67. 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 removed from the passthroughFields map, if present.

  68. def unsetImageTypeData: BlockElement
  69. def unsetInstagramTypeData: BlockElement
  70. def unsetInteractiveTypeData: BlockElement
  71. def unsetLinkTypeData: BlockElement
  72. def unsetListTypeData: BlockElement
  73. def unsetMapTypeData: BlockElement
  74. def unsetMembershipTypeData: BlockElement
  75. def unsetPullquoteTypeData: BlockElement
  76. def unsetRecipeTypeData: BlockElement
  77. def unsetRichLinkTypeData: BlockElement
  78. def unsetTableTypeData: BlockElement
  79. def unsetTextTypeData: BlockElement
  80. def unsetTimelineTypeData: BlockElement
  81. def unsetTracking: BlockElement
  82. def unsetTweetTypeData: BlockElement
  83. 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 removed from the passthroughFields map, if present.

  84. def unsetVideoTypeData: BlockElement
  85. def unsetVineTypeData: BlockElement
  86. def unsetWitnessTypeData: BlockElement
  87. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  88. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  89. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  90. def write(_oprot: TProtocol): Unit
    Definition Classes
    BlockElement → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

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