Trait

com.gu.flexiblecontent.model.thrift.Element

Proxy

Related Doc: package Element

Permalink

trait Proxy extends Element

This Proxy trait allows you to extend the Element trait with additional state or behavior and implement the read-only methods from Element using an underlying instance.

Linear Supertypes
Element, Serializable, ValidatingThriftStruct[Element], HasThriftStructCodec3[Element], Product22[ElementType, Option[ElementFields], Option[Seq[Asset]], Option[TextElementFields], Option[VideoElementFields], Option[TweetElementFields], Option[ImageElementFields], Option[PullquoteElementFields], Option[AudioElementFields], Option[InteractiveElementFields], Option[StandardElementFields], Option[StandardElementFields], Option[WitnessElementFields], Option[StandardElementFields], Option[RichLinkElementFields], Option[MembershipElementFields], Option[EmbedElementFields], Option[CommentElementFields], Option[InstagramElementFields], Option[VineElementFields], Option[ContentAtomElementFields], Option[CodeElementFields]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Proxy
  2. Element
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product22
  7. Product
  8. Equals
  9. ThriftStruct
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def _underlying_Element: Element

    Permalink
    Attributes
    protected

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Element → Product22
  19. def _3: Option[Seq[Asset]]

    Permalink
    Definition Classes
    Element → Product22
  20. def _4: Option[TextElementFields]

    Permalink
    Definition Classes
    Element → Product22
  21. def _5: Option[VideoElementFields]

    Permalink
    Definition Classes
    Element → Product22
  22. def _6: Option[TweetElementFields]

    Permalink
    Definition Classes
    Element → Product22
  23. def _7: Option[ImageElementFields]

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

    Permalink
    Definition Classes
    Element → Product22
  25. def _9: Option[AudioElementFields]

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

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

    Permalink
    Definition Classes
    ProxyElement
  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. def assets: Option[Seq[Asset]]

    Permalink

    The assets associated with this Element

    The assets associated with this Element

    Definition Classes
    ProxyElement
  30. def audioFields: Option[AudioElementFields]

    Permalink

    The audio type data associated with this Element

    The audio type data associated with this Element

    Definition Classes
    ProxyElement
  31. def canEqual(other: Any): Boolean

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

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

    Permalink

    The Code data associated with this Element

    The Code data associated with this Element

    Definition Classes
    ProxyElement
  34. def commentFields: Option[CommentElementFields]

    Permalink

    The comment type data associated with this Element

    The comment type data associated with this Element

    Definition Classes
    ProxyElement
  35. def contentAtomFields: Option[ContentAtomElementFields]

    Permalink

    The Content Atom data associated with this Element

    The Content Atom data associated with this Element

    Definition Classes
    ProxyElement
  36. 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, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Element

    Permalink
    Definition Classes
    Element
  37. def documentFields: Option[StandardElementFields]

    Permalink

    The document type data associated with this Element

    The document type data associated with this Element

    Definition Classes
    ProxyElement
  38. def elementType: ElementType

    Permalink

    The type of element this represents

    The type of element this represents

    Definition Classes
    ProxyElement
  39. def embedFields: Option[EmbedElementFields]

    Permalink
    Definition Classes
    ProxyElement
  40. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Element → Equals → AnyRef → Any
  42. def fields: Option[ElementFields]

    Permalink

    The fields associated with the Element

    The fields associated with the Element

    Definition Classes
    ProxyElement
  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  44. 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
  45. 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
  46. def hashCode(): Int

    Permalink
    Definition Classes
    Element → AnyRef → Any
  47. def imageFields: Option[ImageElementFields]

    Permalink

    The image type data associated with this Element

    The image type data associated with this Element

    Definition Classes
    ProxyElement
  48. def instagramFields: Option[InstagramElementFields]

    Permalink

    The Instagram data associated with this Element

    The Instagram data associated with this Element

    Definition Classes
    ProxyElement
  49. def interactiveFields: Option[InteractiveElementFields]

    Permalink

    The interactive type data associated with this Element

    The interactive type data associated with this Element

    Definition Classes
    ProxyElement
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. def mapFields: Option[StandardElementFields]

    Permalink

    The map type data associated with this Element

    The map type data associated with this Element

    Definition Classes
    ProxyElement
  52. def membershipFields: Option[MembershipElementFields]

    Permalink

    The membership type data associated with this Element

    The membership type data associated with this Element

    Definition Classes
    ProxyElement
  53. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  55. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  56. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  59. def productPrefix: String

    Permalink
    Definition Classes
    Element → Product
  60. def pullquoteFields: Option[PullquoteElementFields]

    Permalink

    The pull quote type data associated with this Element

    The pull quote type data associated with this Element

    Definition Classes
    ProxyElement
  61. def richLinkFields: Option[RichLinkElementFields]

    Permalink

    The rich-link type data associated with this Element

    The rich-link type data associated with this Element

    Definition Classes
    ProxyElement
  62. 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
  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  64. def tableFields: Option[StandardElementFields]

    Permalink

    The table type data associated with this Element

    The table type data associated with this Element

    Definition Classes
    ProxyElement
  65. def textFields: Option[TextElementFields]

    Permalink

    The text type data associated with this Element

    The text type data associated with this Element

    Definition Classes
    ProxyElement
  66. def toString(): String

    Permalink
    Definition Classes
    Element → AnyRef → Any
  67. def toTuple: (ElementType, Option[ElementFields], Option[Seq[Asset]], Option[TextElementFields], Option[VideoElementFields], Option[TweetElementFields], Option[ImageElementFields], Option[PullquoteElementFields], Option[AudioElementFields], Option[InteractiveElementFields], Option[StandardElementFields], Option[StandardElementFields], Option[WitnessElementFields], Option[StandardElementFields], Option[RichLinkElementFields], Option[MembershipElementFields], Option[EmbedElementFields], Option[CommentElementFields], Option[InstagramElementFields], Option[VineElementFields], Option[ContentAtomElementFields], Option[CodeElementFields])

    Permalink
    Definition Classes
    Element
  68. def tweetFields: Option[TweetElementFields]

    Permalink

    The tweet type data associated with this Element

    The tweet type data associated with this Element

    Definition Classes
    ProxyElement
  69. def unsetAssets: Element

    Permalink
    Definition Classes
    Element
  70. def unsetAudioFields: Element

    Permalink
    Definition Classes
    Element
  71. def unsetCodeFields: Element

    Permalink
    Definition Classes
    Element
  72. def unsetCommentFields: Element

    Permalink
    Definition Classes
    Element
  73. def unsetContentAtomFields: Element

    Permalink
    Definition Classes
    Element
  74. def unsetDocumentFields: Element

    Permalink
    Definition Classes
    Element
  75. 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
  76. def unsetEmbedFields: Element

    Permalink
    Definition Classes
    Element
  77. 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
  78. def unsetFields: Element

    Permalink
    Definition Classes
    Element
  79. def unsetImageFields: Element

    Permalink
    Definition Classes
    Element
  80. def unsetInstagramFields: Element

    Permalink
    Definition Classes
    Element
  81. def unsetInteractiveFields: Element

    Permalink
    Definition Classes
    Element
  82. def unsetMapFields: Element

    Permalink
    Definition Classes
    Element
  83. def unsetMembershipFields: Element

    Permalink
    Definition Classes
    Element
  84. def unsetPullquoteFields: Element

    Permalink
    Definition Classes
    Element
  85. def unsetRichLinkFields: Element

    Permalink
    Definition Classes
    Element
  86. def unsetTableFields: Element

    Permalink
    Definition Classes
    Element
  87. def unsetTextFields: Element

    Permalink
    Definition Classes
    Element
  88. def unsetTweetFields: Element

    Permalink
    Definition Classes
    Element
  89. def unsetVideoFields: Element

    Permalink
    Definition Classes
    Element
  90. def unsetVineFields: Element

    Permalink
    Definition Classes
    Element
  91. def unsetWitnessFields: Element

    Permalink
    Definition Classes
    Element
  92. def videoFields: Option[VideoElementFields]

    Permalink

    The video type data associated with this Element

    The video type data associated with this Element

    Definition Classes
    ProxyElement
  93. def vineFields: Option[VineElementFields]

    Permalink

    The Vine data associated with this Element

    The Vine data associated with this Element

    Definition Classes
    ProxyElement
  94. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(): Unit

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

    Permalink

    The witness type data associated with this Element

    The witness type data associated with this Element

    Definition Classes
    ProxyElement
  98. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Element → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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