trait BlockElement extends ThriftStruct with Product with ValidatingThriftStruct[BlockElement] with Serializable
Prefer the companion object's com.gu.contentapi.client.model.v1.BlockElement.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- BlockElement
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def assets: Seq[Asset]
- abstract def audioTypeData: Option[AudioElementFields]
- abstract def calloutTypeData: Option[CalloutElementFields]
- abstract def cartoonTypeData: Option[CartoonElementFields]
- abstract def codeTypeData: Option[CodeElementFields]
- abstract def commentTypeData: Option[CommentElementFields]
- abstract def contentAtomTypeData: Option[ContentAtomElementFields]
- abstract def documentTypeData: Option[StandardElementFields]
- abstract def embedTypeData: Option[EmbedElementFields]
- abstract def imageTypeData: Option[ImageElementFields]
- abstract def instagramTypeData: Option[InstagramElementFields]
- abstract def interactiveTypeData: Option[InteractiveElementFields]
- abstract def linkTypeData: Option[LinkElementFields]
- abstract def listTypeData: Option[ListElementFields]
- abstract def mapTypeData: Option[StandardElementFields]
- abstract def membershipTypeData: Option[MembershipElementFields]
- abstract def pullquoteTypeData: Option[PullquoteElementFields]
- abstract def recipeTypeData: Option[RecipeElementFields]
- abstract def richLinkTypeData: Option[RichLinkElementFields]
- abstract def tableTypeData: Option[StandardElementFields]
- abstract def textTypeData: Option[TextElementFields]
- abstract def timelineTypeData: Option[TimelineElementFields]
- abstract def tracking: Option[EmbedTracking]
- abstract def tweetTypeData: Option[TweetElementFields]
- abstract def type: ElementType
- abstract def videoTypeData: Option[VideoElementFields]
- abstract def vineTypeData: Option[VineElementFields]
- abstract def witnessTypeData: Option[WitnessElementFields]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _1: ElementType
- def _10: Option[StandardElementFields]
- def _11: Option[StandardElementFields]
- def _12: Option[StandardElementFields]
- def _13: Option[WitnessElementFields]
- def _14: Option[RichLinkElementFields]
- def _15: Option[MembershipElementFields]
- def _16: Option[EmbedElementFields]
- def _17: Option[InstagramElementFields]
- def _18: Option[CommentElementFields]
- def _19: Option[VineElementFields]
- def _2: Seq[Asset]
- def _20: Option[ContentAtomElementFields]
- def _21: Option[EmbedTracking]
- def _22: Option[CodeElementFields]
- def _23: Option[CalloutElementFields]
- def _24: Option[CartoonElementFields]
- def _25: Option[RecipeElementFields]
- def _26: Option[ListElementFields]
- def _27: Option[TimelineElementFields]
- def _28: Option[LinkElementFields]
- def _3: Option[TextElementFields]
- def _4: Option[VideoElementFields]
- def _5: Option[TweetElementFields]
- def _6: Option[ImageElementFields]
- def _7: Option[AudioElementFields]
- def _8: Option[PullquoteElementFields]
- def _9: Option[InteractiveElementFields]
- def _codec: ValidatingThriftStructCodec3[BlockElement]
- Definition Classes
- BlockElement → ValidatingThriftStruct → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- BlockElement → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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, instagramTypeData: Option[InstagramElementFields] = this.instagramTypeData, commentTypeData: Option[CommentElementFields] = this.commentTypeData, vineTypeData: Option[VineElementFields] = this.vineTypeData, contentAtomTypeData: Option[ContentAtomElementFields] = this.contentAtomTypeData, tracking: Option[EmbedTracking] = this.tracking, codeTypeData: Option[CodeElementFields] = this.codeTypeData, calloutTypeData: Option[CalloutElementFields] = this.calloutTypeData, cartoonTypeData: Option[CartoonElementFields] = this.cartoonTypeData, recipeTypeData: Option[RecipeElementFields] = this.recipeTypeData, listTypeData: Option[ListElementFields] = this.listTypeData, timelineTypeData: Option[TimelineElementFields] = this.timelineTypeData, linkTypeData: Option[LinkElementFields] = this.linkTypeData, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): BlockElement
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- BlockElement → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getFieldBlob(_fieldId: Short): Option[TFieldBlob]
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.
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map. - def hashCode(): Int
- Definition Classes
- BlockElement → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[BlockElement]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productArity: Int
- Definition Classes
- BlockElement → Product
- def productElement(n: Int): Any
- Definition Classes
- BlockElement → Product
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- BlockElement → Product
- def setField(_blob: TFieldBlob): BlockElement
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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- BlockElement → AnyRef → Any
- def unsetAssets: BlockElement
- def unsetAudioTypeData: BlockElement
- def unsetCalloutTypeData: BlockElement
- def unsetCartoonTypeData: BlockElement
- def unsetCodeTypeData: BlockElement
- def unsetCommentTypeData: BlockElement
- def unsetContentAtomTypeData: BlockElement
- def unsetDocumentTypeData: BlockElement
- def unsetEmbedTypeData: BlockElement
- def unsetField(_fieldId: Short): BlockElement
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.
- def unsetImageTypeData: BlockElement
- def unsetInstagramTypeData: BlockElement
- def unsetInteractiveTypeData: BlockElement
- def unsetLinkTypeData: BlockElement
- def unsetListTypeData: BlockElement
- def unsetMapTypeData: BlockElement
- def unsetMembershipTypeData: BlockElement
- def unsetPullquoteTypeData: BlockElement
- def unsetRecipeTypeData: BlockElement
- def unsetRichLinkTypeData: BlockElement
- def unsetTableTypeData: BlockElement
- def unsetTextTypeData: BlockElement
- def unsetTimelineTypeData: BlockElement
- def unsetTracking: BlockElement
- def unsetTweetTypeData: BlockElement
- def unsetType: BlockElement
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.
- def unsetVideoTypeData: BlockElement
- def unsetVineTypeData: BlockElement
- def unsetWitnessTypeData: BlockElement
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(_oprot: TProtocol): Unit
- Definition Classes
- BlockElement → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)