class Immutable extends ListItem
The default read-only implementation of ListItem. You typically should not need to directly reference this class; instead, use the ListItem.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- ListItem
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product8
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(elements: Seq[BlockElement] = Seq(), title: Option[String] = _root_.scala.None, bio: Option[String] = _root_.scala.None, contributorImageOverrideUrl: Option[String] = _root_.scala.None, endNote: Option[String] = _root_.scala.None, byline: Option[String] = _root_.scala.None, bylineHtml: Option[String] = _root_.scala.None, contributorIds: Option[Seq[String]] = _root_.scala.None)
- new Immutable(elements: Seq[BlockElement], title: Option[String], bio: Option[String], contributorImageOverrideUrl: Option[String], endNote: Option[String], byline: Option[String], bylineHtml: Option[String], contributorIds: Option[Seq[String]], _passthroughFields: Map[Short, TFieldBlob])
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: Seq[BlockElement]
- Definition Classes
- ListItem → Product8
- def _2: Option[String]
- Definition Classes
- ListItem → Product8
- def _3: Option[String]
- Definition Classes
- ListItem → Product8
- def _4: Option[String]
- Definition Classes
- ListItem → Product8
- def _5: Option[String]
- Definition Classes
- ListItem → Product8
- def _6: Option[String]
- Definition Classes
- ListItem → Product8
- def _7: Option[String]
- Definition Classes
- ListItem → Product8
- def _8: Option[Seq[String]]
- Definition Classes
- ListItem → Product8
- def _codec: ValidatingThriftStructCodec3[ListItem]
- Definition Classes
- ListItem → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bio: Option[String]
- val byline: Option[String]
- val bylineHtml: Option[String]
- def canEqual(other: Any): Boolean
- Definition Classes
- ListItem → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val contributorIds: Option[Seq[String]]
- val contributorImageOverrideUrl: Option[String]
- def copy(elements: Seq[BlockElement] = this.elements, title: Option[String] = this.title, bio: Option[String] = this.bio, contributorImageOverrideUrl: Option[String] = this.contributorImageOverrideUrl, endNote: Option[String] = this.endNote, byline: Option[String] = this.byline, bylineHtml: Option[String] = this.bylineHtml, contributorIds: Option[Seq[String]] = this.contributorIds, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ListItem
- Definition Classes
- ListItem
- val elements: Seq[BlockElement]
- val endNote: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- ListItem → 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.
- Definition Classes
- ListItem
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- ListItem
- def hashCode(): Int
- Definition Classes
- ListItem → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[ListItem]
- Definition Classes
- ListItem
- 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
- Product8 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product8 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- 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
- ListItem → Product
- def setField(_blob: TFieldBlob): ListItem
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
- ListItem
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val title: Option[String]
- def toString(): String
- Definition Classes
- ListItem → AnyRef → Any
- def toTuple: (Seq[BlockElement], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Seq[String]])
- Definition Classes
- ListItem
- def unsetBio: ListItem
- Definition Classes
- ListItem
- def unsetByline: ListItem
- Definition Classes
- ListItem
- def unsetBylineHtml: ListItem
- Definition Classes
- ListItem
- def unsetContributorIds: ListItem
- Definition Classes
- ListItem
- def unsetContributorImageOverrideUrl: ListItem
- Definition Classes
- ListItem
- def unsetElements: ListItem
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
- ListItem
- def unsetEndNote: ListItem
- Definition Classes
- ListItem
- def unsetField(_fieldId: Short): ListItem
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
- ListItem
- def unsetTitle: ListItem
- Definition Classes
- ListItem
- 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
- ListItem → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)