Trait/Object

com.gu.contentapi.client.model.v1

BlockElement

Related Docs: object BlockElement | package v1

Permalink

trait BlockElement extends ThriftStruct with Product15[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]] with Serializable

Linear Supertypes
Serializable, Product15[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]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BlockElement
  2. Serializable
  3. Product15
  4. Product
  5. Equals
  6. ThriftStruct
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def assets: Seq[Asset]

    Permalink
  2. abstract def audioTypeData: Option[AudioElementFields]

    Permalink
  3. abstract def documentTypeData: Option[StandardElementFields]

    Permalink
  4. abstract def imageTypeData: Option[ImageElementFields]

    Permalink
  5. abstract def interactiveTypeData: Option[InteractiveElementFields]

    Permalink
  6. abstract def mapTypeData: Option[StandardElementFields]

    Permalink
  7. abstract def membershipTypeData: Option[MembershipElementFields]

    Permalink
  8. abstract def pullquoteTypeData: Option[PullquoteElementFields]

    Permalink
  9. abstract def richLinkTypeData: Option[RichLinkElementFields]

    Permalink
  10. abstract def tableTypeData: Option[StandardElementFields]

    Permalink
  11. abstract def textTypeData: Option[TextElementFields]

    Permalink
  12. abstract def tweetTypeData: Option[TweetElementFields]

    Permalink
  13. abstract def type: ElementType

    Permalink
  14. abstract def videoTypeData: Option[VideoElementFields]

    Permalink
  15. abstract def witnessTypeData: Option[WitnessElementFields]

    Permalink

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
    BlockElement → Product15
  5. def _10: Option[StandardElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  6. def _11: Option[StandardElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  7. def _12: Option[StandardElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  8. def _13: Option[WitnessElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  9. def _14: Option[RichLinkElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  10. def _15: Option[MembershipElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  11. def _2: Seq[Asset]

    Permalink
    Definition Classes
    BlockElement → Product15
  12. def _3: Option[TextElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  13. def _4: Option[VideoElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  14. def _5: Option[TweetElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  15. def _6: Option[ImageElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  16. def _7: Option[AudioElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  17. def _8: Option[PullquoteElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  18. def _9: Option[InteractiveElementFields]

    Permalink
    Definition Classes
    BlockElement → Product15
  19. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  20. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    BlockElement → Equals
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. 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, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): BlockElement

    Permalink
  24. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    BlockElement → Equals → AnyRef → Any
  26. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. 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 returend. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

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

    Permalink

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

  30. def hashCode(): Int

    Permalink
    Definition Classes
    BlockElement → AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def productArity: Int

    Permalink
    Definition Classes
    BlockElement → Product15 → Product
  36. def productElement(n: Int): Any

    Permalink
    Definition Classes
    BlockElement → Product15 → Product
  37. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  38. def productPrefix: String

    Permalink
    Definition Classes
    BlockElement → Product
  39. def setField(_blob: TFieldBlob): BlockElement

    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.

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

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

    Permalink
    Definition Classes
    BlockElement → AnyRef → Any
  42. def unsetAssets: BlockElement

    Permalink
  43. def unsetAudioTypeData: BlockElement

    Permalink
  44. def unsetDocumentTypeData: BlockElement

    Permalink
  45. def unsetField(_fieldId: Short): BlockElement

    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 subtracked from the passthroughFields map, if present.

  46. def unsetImageTypeData: BlockElement

    Permalink
  47. def unsetInteractiveTypeData: BlockElement

    Permalink
  48. def unsetMapTypeData: BlockElement

    Permalink
  49. def unsetMembershipTypeData: BlockElement

    Permalink
  50. def unsetPullquoteTypeData: BlockElement

    Permalink
  51. def unsetRichLinkTypeData: BlockElement

    Permalink
  52. def unsetTableTypeData: BlockElement

    Permalink
  53. def unsetTextTypeData: BlockElement

    Permalink
  54. def unsetTweetTypeData: BlockElement

    Permalink
  55. def unsetType: BlockElement

    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 subtracked from the passthroughFields map, if present.

  56. def unsetVideoTypeData: BlockElement

    Permalink
  57. def unsetWitnessTypeData: BlockElement

    Permalink
  58. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    BlockElement → ThriftStruct

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped