Class/Object

com.gu.flexiblecontent.model.thrift.Element

Immutable

Related Docs: object Immutable | package Element

Permalink

class Immutable extends Element

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

Linear Supertypes
Element, Serializable, ValidatingThriftStruct[Element], HasThriftStructCodec3[Element], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Element
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(elementType: ElementType, fields: Option[ElementFields] = _root_.scala.None, assets: Option[Seq[Asset]] = _root_.scala.None, textFields: Option[TextElementFields] = _root_.scala.None, videoFields: Option[VideoElementFields] = _root_.scala.None, tweetFields: Option[TweetElementFields] = _root_.scala.None, imageFields: Option[ImageElementFields] = _root_.scala.None, pullquoteFields: Option[PullquoteElementFields] = _root_.scala.None, audioFields: Option[AudioElementFields] = _root_.scala.None, interactiveFields: Option[InteractiveElementFields] = _root_.scala.None, mapFields: Option[StandardElementFields] = _root_.scala.None, documentFields: Option[StandardElementFields] = _root_.scala.None, witnessFields: Option[WitnessElementFields] = _root_.scala.None, tableFields: Option[StandardElementFields] = _root_.scala.None, richLinkFields: Option[RichLinkElementFields] = _root_.scala.None, membershipFields: Option[MembershipElementFields] = _root_.scala.None, embedFields: Option[EmbedElementFields] = _root_.scala.None, commentFields: Option[CommentElementFields] = _root_.scala.None, instagramFields: Option[InstagramElementFields] = _root_.scala.None, vineFields: Option[VineElementFields] = _root_.scala.None, contentAtomFields: Option[ContentAtomElementFields] = _root_.scala.None, codeFields: Option[CodeElementFields] = _root_.scala.None, calloutFields: Option[CalloutElementFields] = _root_.scala.None)

    Permalink
  2. new Immutable(elementType: ElementType, fields: Option[ElementFields], assets: Option[Seq[Asset]], textFields: Option[TextElementFields], videoFields: Option[VideoElementFields], tweetFields: Option[TweetElementFields], imageFields: Option[ImageElementFields], pullquoteFields: Option[PullquoteElementFields], audioFields: Option[AudioElementFields], interactiveFields: Option[InteractiveElementFields], mapFields: Option[StandardElementFields], documentFields: Option[StandardElementFields], witnessFields: Option[WitnessElementFields], tableFields: Option[StandardElementFields], richLinkFields: Option[RichLinkElementFields], membershipFields: Option[MembershipElementFields], embedFields: Option[EmbedElementFields], commentFields: Option[CommentElementFields], instagramFields: Option[InstagramElementFields], vineFields: Option[VineElementFields], contentAtomFields: Option[ContentAtomElementFields], codeFields: Option[CodeElementFields], calloutFields: Option[CalloutElementFields], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

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
    Element
  5. def _10: Option[InteractiveElementFields]

    Permalink
    Definition Classes
    Element
  6. def _11: Option[StandardElementFields]

    Permalink
    Definition Classes
    Element
  7. def _12: Option[StandardElementFields]

    Permalink
    Definition Classes
    Element
  8. def _13: Option[WitnessElementFields]

    Permalink
    Definition Classes
    Element
  9. def _14: Option[StandardElementFields]

    Permalink
    Definition Classes
    Element
  10. def _15: Option[RichLinkElementFields]

    Permalink
    Definition Classes
    Element
  11. def _16: Option[MembershipElementFields]

    Permalink
    Definition Classes
    Element
  12. def _17: Option[EmbedElementFields]

    Permalink
    Definition Classes
    Element
  13. def _18: Option[CommentElementFields]

    Permalink
    Definition Classes
    Element
  14. def _19: Option[InstagramElementFields]

    Permalink
    Definition Classes
    Element
  15. def _2: Option[ElementFields]

    Permalink
    Definition Classes
    Element
  16. def _20: Option[VineElementFields]

    Permalink
    Definition Classes
    Element
  17. def _21: Option[ContentAtomElementFields]

    Permalink
    Definition Classes
    Element
  18. def _22: Option[CodeElementFields]

    Permalink
    Definition Classes
    Element
  19. def _23: Option[CalloutElementFields]

    Permalink
    Definition Classes
    Element
  20. def _3: Option[Seq[Asset]]

    Permalink
    Definition Classes
    Element
  21. def _4: Option[TextElementFields]

    Permalink
    Definition Classes
    Element
  22. def _5: Option[VideoElementFields]

    Permalink
    Definition Classes
    Element
  23. def _6: Option[TweetElementFields]

    Permalink
    Definition Classes
    Element
  24. def _7: Option[ImageElementFields]

    Permalink
    Definition Classes
    Element
  25. def _8: Option[PullquoteElementFields]

    Permalink
    Definition Classes
    Element
  26. def _9: Option[AudioElementFields]

    Permalink
    Definition Classes
    Element
  27. def _codec: ValidatingThriftStructCodec3[Element]

    Permalink
    Definition Classes
    Element → ValidatingThriftStruct → HasThriftStructCodec3
  28. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableElement
  29. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  30. val assets: Option[Seq[Asset]]

    Permalink

    The assets associated with this Element

    The assets associated with this Element

    Definition Classes
    ImmutableElement
  31. val audioFields: Option[AudioElementFields]

    Permalink

    The audio type data associated with this Element

    The audio type data associated with this Element

    Definition Classes
    ImmutableElement
  32. val calloutFields: Option[CalloutElementFields]

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

    Permalink
    Definition Classes
    Element → Equals
  34. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. val codeFields: Option[CodeElementFields]

    Permalink

    The Code data associated with this Element

    The Code data associated with this Element

    Definition Classes
    ImmutableElement
  36. val commentFields: Option[CommentElementFields]

    Permalink

    The comment type data associated with this Element

    The comment type data associated with this Element

    Definition Classes
    ImmutableElement
  37. val contentAtomFields: Option[ContentAtomElementFields]

    Permalink

    The Content Atom data associated with this Element

    The Content Atom data associated with this Element

    Definition Classes
    ImmutableElement
  38. def copy(elementType: ElementType = this.elementType, fields: Option[ElementFields] = this.fields, assets: Option[Seq[Asset]] = this.assets, textFields: Option[TextElementFields] = this.textFields, videoFields: Option[VideoElementFields] = this.videoFields, tweetFields: Option[TweetElementFields] = this.tweetFields, imageFields: Option[ImageElementFields] = this.imageFields, pullquoteFields: Option[PullquoteElementFields] = this.pullquoteFields, audioFields: Option[AudioElementFields] = this.audioFields, interactiveFields: Option[InteractiveElementFields] = this.interactiveFields, mapFields: Option[StandardElementFields] = this.mapFields, documentFields: Option[StandardElementFields] = this.documentFields, witnessFields: Option[WitnessElementFields] = this.witnessFields, tableFields: Option[StandardElementFields] = this.tableFields, richLinkFields: Option[RichLinkElementFields] = this.richLinkFields, membershipFields: Option[MembershipElementFields] = this.membershipFields, embedFields: Option[EmbedElementFields] = this.embedFields, commentFields: Option[CommentElementFields] = this.commentFields, instagramFields: Option[InstagramElementFields] = this.instagramFields, vineFields: Option[VineElementFields] = this.vineFields, contentAtomFields: Option[ContentAtomElementFields] = this.contentAtomFields, codeFields: Option[CodeElementFields] = this.codeFields, calloutFields: Option[CalloutElementFields] = this.calloutFields, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Element

    Permalink
    Definition Classes
    Element
  39. val documentFields: Option[StandardElementFields]

    Permalink

    The document type data associated with this Element

    The document type data associated with this Element

    Definition Classes
    ImmutableElement
  40. val elementType: ElementType

    Permalink

    The type of element this represents

    The type of element this represents

    Definition Classes
    ImmutableElement
  41. val embedFields: Option[EmbedElementFields]

    Permalink
    Definition Classes
    ImmutableElement
  42. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Element → Equals → AnyRef → Any
  44. val fields: Option[ElementFields]

    Permalink

    The fields associated with the Element

    The fields associated with the Element

    Definition Classes
    ImmutableElement
  45. def finalize(): Unit

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

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

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

    Permalink

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

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

    Definition Classes
    Element
  49. def hashCode(): Int

    Permalink
    Definition Classes
    Element → AnyRef → Any
  50. val imageFields: Option[ImageElementFields]

    Permalink

    The image type data associated with this Element

    The image type data associated with this Element

    Definition Classes
    ImmutableElement
  51. val instagramFields: Option[InstagramElementFields]

    Permalink

    The Instagram data associated with this Element

    The Instagram data associated with this Element

    Definition Classes
    ImmutableElement
  52. val interactiveFields: Option[InteractiveElementFields]

    Permalink

    The interactive type data associated with this Element

    The interactive type data associated with this Element

    Definition Classes
    ImmutableElement
  53. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  54. val mapFields: Option[StandardElementFields]

    Permalink

    The map type data associated with this Element

    The map type data associated with this Element

    Definition Classes
    ImmutableElement
  55. val membershipFields: Option[MembershipElementFields]

    Permalink

    The membership type data associated with this Element

    The membership type data associated with this Element

    Definition Classes
    ImmutableElement
  56. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  59. def productArity: Int

    Permalink
    Definition Classes
    Element → Product
  60. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Element → Product
  61. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  62. def productPrefix: String

    Permalink
    Definition Classes
    Element → Product
  63. val pullquoteFields: Option[PullquoteElementFields]

    Permalink

    The pull quote type data associated with this Element

    The pull quote type data associated with this Element

    Definition Classes
    ImmutableElement
  64. val richLinkFields: Option[RichLinkElementFields]

    Permalink

    The rich-link type data associated with this Element

    The rich-link type data associated with this Element

    Definition Classes
    ImmutableElement
  65. def setField(_blob: TFieldBlob): Element

    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.

    Definition Classes
    Element
  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  67. val tableFields: Option[StandardElementFields]

    Permalink

    The table type data associated with this Element

    The table type data associated with this Element

    Definition Classes
    ImmutableElement
  68. val textFields: Option[TextElementFields]

    Permalink

    The text type data associated with this Element

    The text type data associated with this Element

    Definition Classes
    ImmutableElement
  69. def toString(): String

    Permalink
    Definition Classes
    Element → AnyRef → Any
  70. val tweetFields: Option[TweetElementFields]

    Permalink

    The tweet type data associated with this Element

    The tweet type data associated with this Element

    Definition Classes
    ImmutableElement
  71. def unsetAssets: Element

    Permalink
    Definition Classes
    Element
  72. def unsetAudioFields: Element

    Permalink
    Definition Classes
    Element
  73. def unsetCalloutFields: Element

    Permalink
    Definition Classes
    Element
  74. def unsetCodeFields: Element

    Permalink
    Definition Classes
    Element
  75. def unsetCommentFields: Element

    Permalink
    Definition Classes
    Element
  76. def unsetContentAtomFields: Element

    Permalink
    Definition Classes
    Element
  77. def unsetDocumentFields: Element

    Permalink
    Definition Classes
    Element
  78. def unsetElementType: Element

    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.

    Definition Classes
    Element
  79. def unsetEmbedFields: Element

    Permalink
    Definition Classes
    Element
  80. def unsetField(_fieldId: Short): Element

    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.

    Definition Classes
    Element
  81. def unsetFields: Element

    Permalink
    Definition Classes
    Element
  82. def unsetImageFields: Element

    Permalink
    Definition Classes
    Element
  83. def unsetInstagramFields: Element

    Permalink
    Definition Classes
    Element
  84. def unsetInteractiveFields: Element

    Permalink
    Definition Classes
    Element
  85. def unsetMapFields: Element

    Permalink
    Definition Classes
    Element
  86. def unsetMembershipFields: Element

    Permalink
    Definition Classes
    Element
  87. def unsetPullquoteFields: Element

    Permalink
    Definition Classes
    Element
  88. def unsetRichLinkFields: Element

    Permalink
    Definition Classes
    Element
  89. def unsetTableFields: Element

    Permalink
    Definition Classes
    Element
  90. def unsetTextFields: Element

    Permalink
    Definition Classes
    Element
  91. def unsetTweetFields: Element

    Permalink
    Definition Classes
    Element
  92. def unsetVideoFields: Element

    Permalink
    Definition Classes
    Element
  93. def unsetVineFields: Element

    Permalink
    Definition Classes
    Element
  94. def unsetWitnessFields: Element

    Permalink
    Definition Classes
    Element
  95. val videoFields: Option[VideoElementFields]

    Permalink

    The video type data associated with this Element

    The video type data associated with this Element

    Definition Classes
    ImmutableElement
  96. val vineFields: Option[VineElementFields]

    Permalink

    The Vine data associated with this Element

    The Vine data associated with this Element

    Definition Classes
    ImmutableElement
  97. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. val witnessFields: Option[WitnessElementFields]

    Permalink

    The witness type data associated with this Element

    The witness type data associated with this Element

    Definition Classes
    ImmutableElement
  101. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Element → ThriftStruct

Inherited from Element

Inherited from Serializable

Inherited from ValidatingThriftStruct[Element]

Inherited from HasThriftStructCodec3[Element]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped