Packages

class Immutable extends BlockElement

The default read-only implementation of BlockElement. You typically should not need to directly reference this class; instead, use the BlockElement.apply method to construct new instances.

Linear Supertypes
BlockElement, 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. BlockElement
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product22
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Immutable(type: ElementType, assets: Seq[Asset] = _root_.scala.collection.immutable.Nil, textTypeData: Option[TextElementFields] = _root_.scala.None, videoTypeData: Option[VideoElementFields] = _root_.scala.None, tweetTypeData: Option[TweetElementFields] = _root_.scala.None, imageTypeData: Option[ImageElementFields] = _root_.scala.None, audioTypeData: Option[AudioElementFields] = _root_.scala.None, pullquoteTypeData: Option[PullquoteElementFields] = _root_.scala.None, interactiveTypeData: Option[InteractiveElementFields] = _root_.scala.None, mapTypeData: Option[StandardElementFields] = _root_.scala.None, documentTypeData: Option[StandardElementFields] = _root_.scala.None, tableTypeData: Option[StandardElementFields] = _root_.scala.None, witnessTypeData: Option[WitnessElementFields] = _root_.scala.None, richLinkTypeData: Option[RichLinkElementFields] = _root_.scala.None, membershipTypeData: Option[MembershipElementFields] = _root_.scala.None, embedTypeData: Option[EmbedElementFields] = _root_.scala.None, instagramTypeData: Option[InstagramElementFields] = _root_.scala.None, commentTypeData: Option[CommentElementFields] = _root_.scala.None, vineTypeData: Option[VineElementFields] = _root_.scala.None, contentAtomTypeData: Option[ContentAtomElementFields] = _root_.scala.None, tracking: Option[EmbedTracking] = _root_.scala.None, codeTypeData: Option[CodeElementFields] = _root_.scala.None)
  2. new Immutable(type: ElementType, assets: Seq[Asset], textTypeData: Option[TextElementFields], videoTypeData: Option[VideoElementFields], tweetTypeData: Option[TweetElementFields], imageTypeData: Option[ImageElementFields], audioTypeData: Option[AudioElementFields], pullquoteTypeData: Option[PullquoteElementFields], interactiveTypeData: Option[InteractiveElementFields], mapTypeData: Option[StandardElementFields], documentTypeData: Option[StandardElementFields], tableTypeData: Option[StandardElementFields], witnessTypeData: Option[WitnessElementFields], richLinkTypeData: Option[RichLinkElementFields], membershipTypeData: Option[MembershipElementFields], embedTypeData: Option[EmbedElementFields], instagramTypeData: Option[InstagramElementFields], commentTypeData: Option[CommentElementFields], vineTypeData: Option[VineElementFields], contentAtomTypeData: Option[ContentAtomElementFields], tracking: Option[EmbedTracking], codeTypeData: Option[CodeElementFields], _passthroughFields: Map[Short, TFieldBlob])

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
    Definition Classes
    BlockElement → Product22
  5. def _10: Option[StandardElementFields]
    Definition Classes
    BlockElement → Product22
  6. def _11: Option[StandardElementFields]
    Definition Classes
    BlockElement → Product22
  7. def _12: Option[StandardElementFields]
    Definition Classes
    BlockElement → Product22
  8. def _13: Option[WitnessElementFields]
    Definition Classes
    BlockElement → Product22
  9. def _14: Option[RichLinkElementFields]
    Definition Classes
    BlockElement → Product22
  10. def _15: Option[MembershipElementFields]
    Definition Classes
    BlockElement → Product22
  11. def _16: Option[EmbedElementFields]
    Definition Classes
    BlockElement → Product22
  12. def _17: Option[InstagramElementFields]
    Definition Classes
    BlockElement → Product22
  13. def _18: Option[CommentElementFields]
    Definition Classes
    BlockElement → Product22
  14. def _19: Option[VineElementFields]
    Definition Classes
    BlockElement → Product22
  15. def _2: Seq[Asset]
    Definition Classes
    BlockElement → Product22
  16. def _20: Option[ContentAtomElementFields]
    Definition Classes
    BlockElement → Product22
  17. def _21: Option[EmbedTracking]
    Definition Classes
    BlockElement → Product22
  18. def _22: Option[CodeElementFields]
    Definition Classes
    BlockElement → Product22
  19. def _3: Option[TextElementFields]
    Definition Classes
    BlockElement → Product22
  20. def _4: Option[VideoElementFields]
    Definition Classes
    BlockElement → Product22
  21. def _5: Option[TweetElementFields]
    Definition Classes
    BlockElement → Product22
  22. def _6: Option[ImageElementFields]
    Definition Classes
    BlockElement → Product22
  23. def _7: Option[AudioElementFields]
    Definition Classes
    BlockElement → Product22
  24. def _8: Option[PullquoteElementFields]
    Definition Classes
    BlockElement → Product22
  25. def _9: Option[InteractiveElementFields]
    Definition Classes
    BlockElement → Product22
  26. def _codec: ValidatingThriftStructCodec3[BlockElement]
    Definition Classes
    BlockElement → ValidatingThriftStruct → HasThriftStructCodec3
  27. val _passthroughFields: Map[Short, TFieldBlob]
    Definition Classes
    ImmutableBlockElement
  28. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  29. val assets: Seq[Asset]
    Definition Classes
    ImmutableBlockElement
  30. val audioTypeData: Option[AudioElementFields]
    Definition Classes
    ImmutableBlockElement
  31. def canEqual(other: Any): Boolean
    Definition Classes
    BlockElement → Equals
  32. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException])
  33. val codeTypeData: Option[CodeElementFields]
    Definition Classes
    ImmutableBlockElement
  34. val commentTypeData: Option[CommentElementFields]
    Definition Classes
    ImmutableBlockElement
  35. val contentAtomTypeData: Option[ContentAtomElementFields]
    Definition Classes
    ImmutableBlockElement
  36. 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
    Definition Classes
    BlockElement
  37. val documentTypeData: Option[StandardElementFields]
    Definition Classes
    ImmutableBlockElement
  38. val embedTypeData: Option[EmbedElementFields]
    Definition Classes
    ImmutableBlockElement
  39. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. def equals(other: Any): Boolean
    Definition Classes
    BlockElement → Equals → AnyRef → Any
  41. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. 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.

    Definition Classes
    BlockElement
  43. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

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

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

    Definition Classes
    BlockElement
  44. def hashCode(): Int
    Definition Classes
    BlockElement → AnyRef → Any
  45. val imageTypeData: Option[ImageElementFields]
    Definition Classes
    ImmutableBlockElement
  46. val instagramTypeData: Option[InstagramElementFields]
    Definition Classes
    ImmutableBlockElement
  47. val interactiveTypeData: Option[InteractiveElementFields]
    Definition Classes
    ImmutableBlockElement
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. val mapTypeData: Option[StandardElementFields]
    Definition Classes
    ImmutableBlockElement
  50. val membershipTypeData: Option[MembershipElementFields]
    Definition Classes
    ImmutableBlockElement
  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. def newBuilder(): StructBuilder[BlockElement]
    Definition Classes
    BlockElement
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. def productArity: Int
    Definition Classes
    Product22 → Product
  56. def productElement(n: Int): Any
    Definition Classes
    Product22 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  57. def productElementName(n: Int): String
    Definition Classes
    Product
  58. def productElementNames: Iterator[String]
    Definition Classes
    Product
  59. def productIterator: Iterator[Any]
    Definition Classes
    Product
  60. def productPrefix: String
    Definition Classes
    BlockElement → Product
  61. val pullquoteTypeData: Option[PullquoteElementFields]
    Definition Classes
    ImmutableBlockElement
  62. val richLinkTypeData: Option[RichLinkElementFields]
    Definition Classes
    ImmutableBlockElement
  63. 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.

    Definition Classes
    BlockElement
  64. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  65. val tableTypeData: Option[StandardElementFields]
    Definition Classes
    ImmutableBlockElement
  66. val textTypeData: Option[TextElementFields]
    Definition Classes
    ImmutableBlockElement
  67. def toString(): String
    Definition Classes
    BlockElement → AnyRef → Any
  68. 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])
    Definition Classes
    BlockElement
  69. val tracking: Option[EmbedTracking]
    Definition Classes
    ImmutableBlockElement
  70. val tweetTypeData: Option[TweetElementFields]
    Definition Classes
    ImmutableBlockElement
  71. val type: ElementType
    Definition Classes
    ImmutableBlockElement
  72. def unsetAssets: BlockElement
    Definition Classes
    BlockElement
  73. def unsetAudioTypeData: BlockElement
    Definition Classes
    BlockElement
  74. def unsetCodeTypeData: BlockElement
    Definition Classes
    BlockElement
  75. def unsetCommentTypeData: BlockElement
    Definition Classes
    BlockElement
  76. def unsetContentAtomTypeData: BlockElement
    Definition Classes
    BlockElement
  77. def unsetDocumentTypeData: BlockElement
    Definition Classes
    BlockElement
  78. def unsetEmbedTypeData: BlockElement
    Definition Classes
    BlockElement
  79. 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.

    Definition Classes
    BlockElement
  80. def unsetImageTypeData: BlockElement
    Definition Classes
    BlockElement
  81. def unsetInstagramTypeData: BlockElement
    Definition Classes
    BlockElement
  82. def unsetInteractiveTypeData: BlockElement
    Definition Classes
    BlockElement
  83. def unsetMapTypeData: BlockElement
    Definition Classes
    BlockElement
  84. def unsetMembershipTypeData: BlockElement
    Definition Classes
    BlockElement
  85. def unsetPullquoteTypeData: BlockElement
    Definition Classes
    BlockElement
  86. def unsetRichLinkTypeData: BlockElement
    Definition Classes
    BlockElement
  87. def unsetTableTypeData: BlockElement
    Definition Classes
    BlockElement
  88. def unsetTextTypeData: BlockElement
    Definition Classes
    BlockElement
  89. def unsetTracking: BlockElement
    Definition Classes
    BlockElement
  90. def unsetTweetTypeData: BlockElement
    Definition Classes
    BlockElement
  91. 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.

    Definition Classes
    BlockElement
  92. def unsetVideoTypeData: BlockElement
    Definition Classes
    BlockElement
  93. def unsetVineTypeData: BlockElement
    Definition Classes
    BlockElement
  94. def unsetWitnessTypeData: BlockElement
    Definition Classes
    BlockElement
  95. val videoTypeData: Option[VideoElementFields]
    Definition Classes
    ImmutableBlockElement
  96. val vineTypeData: Option[VineElementFields]
    Definition Classes
    ImmutableBlockElement
  97. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  98. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  99. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  100. val witnessTypeData: Option[WitnessElementFields]
    Definition Classes
    ImmutableBlockElement
  101. 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
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from BlockElement

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