Class/Object

com.gu.contentapi.client.model.v1.BlockElement

Immutable

Related Docs: object Immutable | package BlockElement

Permalink

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

Instance Constructors

  1. new Immutable(type: ElementType, assets: Seq[Asset] = Seq[Asset](), textTypeData: Option[TextElementFields] = None, videoTypeData: Option[VideoElementFields] = None, tweetTypeData: Option[TweetElementFields] = None, imageTypeData: Option[ImageElementFields] = None, audioTypeData: Option[AudioElementFields] = None, pullquoteTypeData: Option[PullquoteElementFields] = None, interactiveTypeData: Option[InteractiveElementFields] = None, mapTypeData: Option[StandardElementFields] = None, documentTypeData: Option[StandardElementFields] = None, tableTypeData: Option[StandardElementFields] = None, witnessTypeData: Option[WitnessElementFields] = None, richLinkTypeData: Option[RichLinkElementFields] = None, membershipTypeData: Option[MembershipElementFields] = None, embedTypeData: Option[EmbedElementFields] = None)

    Permalink
  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], _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
    BlockElement → Product16
  5. def _10: Option[StandardElementFields]

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

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

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

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

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

    Permalink
    Definition Classes
    BlockElement → Product16
  11. def _16: Option[EmbedElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  12. def _2: Seq[Asset]

    Permalink
    Definition Classes
    BlockElement → Product16
  13. def _3: Option[TextElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  14. def _4: Option[VideoElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  15. def _5: Option[TweetElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  16. def _6: Option[ImageElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  17. def _7: Option[AudioElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  18. def _8: Option[PullquoteElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  19. def _9: Option[InteractiveElementFields]

    Permalink
    Definition Classes
    BlockElement → Product16
  20. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableBlockElement
  21. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    ImmutableBlockElement
  23. val audioTypeData: Option[AudioElementFields]

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

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

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

    Permalink
    Definition Classes
    BlockElement
  27. val documentTypeData: Option[StandardElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  28. val embedTypeData: Option[EmbedElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  29. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    BlockElement
  34. 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
    BlockElement
  35. def hashCode(): Int

    Permalink
    Definition Classes
    BlockElement → AnyRef → Any
  36. val imageTypeData: Option[ImageElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  37. val interactiveTypeData: Option[InteractiveElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. val mapTypeData: Option[StandardElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  40. val membershipTypeData: Option[MembershipElementFields]

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

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

    Permalink
    Definition Classes
    Product
  47. def productPrefix: String

    Permalink
    Definition Classes
    BlockElement → Product
  48. val pullquoteTypeData: Option[PullquoteElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  49. val richLinkTypeData: Option[RichLinkElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  50. 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.

    Definition Classes
    BlockElement
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. val tableTypeData: Option[StandardElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  53. val textTypeData: Option[TextElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  54. def toString(): String

    Permalink
    Definition Classes
    BlockElement → AnyRef → Any
  55. val tweetTypeData: Option[TweetElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  56. val type: ElementType

    Permalink
    Definition Classes
    ImmutableBlockElement
  57. def unsetAssets: BlockElement

    Permalink
    Definition Classes
    BlockElement
  58. def unsetAudioTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  59. def unsetDocumentTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  60. def unsetEmbedTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  61. 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.

    Definition Classes
    BlockElement
  62. def unsetImageTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  63. def unsetInteractiveTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  64. def unsetMapTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  65. def unsetMembershipTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  66. def unsetPullquoteTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  67. def unsetRichLinkTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  68. def unsetTableTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  69. def unsetTextTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  70. def unsetTweetTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  71. 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.

    Definition Classes
    BlockElement
  72. def unsetVideoTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  73. def unsetWitnessTypeData: BlockElement

    Permalink
    Definition Classes
    BlockElement
  74. val videoTypeData: Option[VideoElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  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. val witnessTypeData: Option[WitnessElementFields]

    Permalink
    Definition Classes
    ImmutableBlockElement
  79. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    BlockElement → ThriftStruct

Inherited from BlockElement

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped