Trait/Object

com.gu.flexiblecontent.model.thrift

Element

Related Docs: object Element | package thrift

Permalink

trait Element extends ThriftStruct with Product with ValidatingThriftStruct[Element] with Serializable

Prefer the companion object's com.gu.flexiblecontent.model.thrift.Element.apply for construction if you don't need to specify passthrough fields.

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

Abstract Value Members

  1. abstract def assets: Option[Seq[Asset]]

    Permalink

    The assets associated with this Element

  2. abstract def audioFields: Option[AudioElementFields]

    Permalink

    The audio type data associated with this Element

  3. abstract def calloutFields: Option[CalloutElementFields]

    Permalink
  4. abstract def codeFields: Option[CodeElementFields]

    Permalink

    The Code data associated with this Element

  5. abstract def commentFields: Option[CommentElementFields]

    Permalink

    The comment type data associated with this Element

  6. abstract def contentAtomFields: Option[ContentAtomElementFields]

    Permalink

    The Content Atom data associated with this Element

  7. abstract def documentFields: Option[StandardElementFields]

    Permalink

    The document type data associated with this Element

  8. abstract def elementType: ElementType

    Permalink

    The type of element this represents

  9. abstract def embedFields: Option[EmbedElementFields]

    Permalink
  10. abstract def fields: Option[ElementFields]

    Permalink

    The fields associated with the Element

  11. abstract def imageFields: Option[ImageElementFields]

    Permalink

    The image type data associated with this Element

  12. abstract def instagramFields: Option[InstagramElementFields]

    Permalink

    The Instagram data associated with this Element

  13. abstract def interactiveFields: Option[InteractiveElementFields]

    Permalink

    The interactive type data associated with this Element

  14. abstract def mapFields: Option[StandardElementFields]

    Permalink

    The map type data associated with this Element

  15. abstract def membershipFields: Option[MembershipElementFields]

    Permalink

    The membership type data associated with this Element

  16. abstract def pullquoteFields: Option[PullquoteElementFields]

    Permalink

    The pull quote type data associated with this Element

  17. abstract def richLinkFields: Option[RichLinkElementFields]

    Permalink

    The rich-link type data associated with this Element

  18. abstract def tableFields: Option[StandardElementFields]

    Permalink

    The table type data associated with this Element

  19. abstract def textFields: Option[TextElementFields]

    Permalink

    The text type data associated with this Element

  20. abstract def tweetFields: Option[TweetElementFields]

    Permalink

    The tweet type data associated with this Element

  21. abstract def videoFields: Option[VideoElementFields]

    Permalink

    The video type data associated with this Element

  22. abstract def vineFields: Option[VineElementFields]

    Permalink

    The Vine data associated with this Element

  23. abstract def witnessFields: Option[WitnessElementFields]

    Permalink

    The witness type data associated with this Element

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

    Permalink
  6. def _11: Option[StandardElementFields]

    Permalink
  7. def _12: Option[StandardElementFields]

    Permalink
  8. def _13: Option[WitnessElementFields]

    Permalink
  9. def _14: Option[StandardElementFields]

    Permalink
  10. def _15: Option[RichLinkElementFields]

    Permalink
  11. def _16: Option[MembershipElementFields]

    Permalink
  12. def _17: Option[EmbedElementFields]

    Permalink
  13. def _18: Option[CommentElementFields]

    Permalink
  14. def _19: Option[InstagramElementFields]

    Permalink
  15. def _2: Option[ElementFields]

    Permalink
  16. def _20: Option[VineElementFields]

    Permalink
  17. def _21: Option[ContentAtomElementFields]

    Permalink
  18. def _22: Option[CodeElementFields]

    Permalink
  19. def _23: Option[CalloutElementFields]

    Permalink
  20. def _3: Option[Seq[Asset]]

    Permalink
  21. def _4: Option[TextElementFields]

    Permalink
  22. def _5: Option[VideoElementFields]

    Permalink
  23. def _6: Option[TweetElementFields]

    Permalink
  24. def _7: Option[ImageElementFields]

    Permalink
  25. def _8: Option[PullquoteElementFields]

    Permalink
  26. def _9: Option[AudioElementFields]

    Permalink
  27. def _codec: ValidatingThriftStructCodec3[Element]

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

    Permalink
  29. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. 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
  33. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Element → Equals → AnyRef → Any
  35. def finalize(): Unit

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

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

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

    Permalink

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

  39. def hashCode(): Int

    Permalink
    Definition Classes
    Element → AnyRef → Any
  40. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  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
    Element → Product
  45. def productElement(n: Int): Any

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

    Permalink
    Definition Classes
    Product
  47. def productPrefix: String

    Permalink
    Definition Classes
    Element → Product
  48. 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.

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

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

    Permalink
    Definition Classes
    Element → AnyRef → Any
  51. def unsetAssets: Element

    Permalink
  52. def unsetAudioFields: Element

    Permalink
  53. def unsetCalloutFields: Element

    Permalink
  54. def unsetCodeFields: Element

    Permalink
  55. def unsetCommentFields: Element

    Permalink
  56. def unsetContentAtomFields: Element

    Permalink
  57. def unsetDocumentFields: Element

    Permalink
  58. 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.

  59. def unsetEmbedFields: Element

    Permalink
  60. 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.

  61. def unsetFields: Element

    Permalink
  62. def unsetImageFields: Element

    Permalink
  63. def unsetInstagramFields: Element

    Permalink
  64. def unsetInteractiveFields: Element

    Permalink
  65. def unsetMapFields: Element

    Permalink
  66. def unsetMembershipFields: Element

    Permalink
  67. def unsetPullquoteFields: Element

    Permalink
  68. def unsetRichLinkFields: Element

    Permalink
  69. def unsetTableFields: Element

    Permalink
  70. def unsetTextFields: Element

    Permalink
  71. def unsetTweetFields: Element

    Permalink
  72. def unsetVideoFields: Element

    Permalink
  73. def unsetVineFields: Element

    Permalink
  74. def unsetWitnessFields: Element

    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
    Element → ThriftStruct

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