class Immutable extends Content
The default read-only implementation of Content. You typically should not need to directly reference this class; instead, use the Content.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- Content
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(id: String, type: ContentType = ContentType.Article, sectionId: Option[String] = _root_.scala.None, sectionName: Option[String] = _root_.scala.None, webPublicationDate: Option[CapiDateTime] = _root_.scala.None, webTitle: String, webUrl: String, apiUrl: String, fields: Option[ContentFields] = _root_.scala.None, tags: Seq[Tag] = Seq(), elements: Option[Seq[Element]] = _root_.scala.None, references: Seq[Reference] = Seq(), isExpired: Option[Boolean] = _root_.scala.None, blocks: Option[Blocks] = _root_.scala.None, rights: Option[Rights] = _root_.scala.None, crossword: Option[Crossword] = _root_.scala.None, atoms: Option[Atoms] = _root_.scala.None, stats: Option[ContentStats] = _root_.scala.None, section: Option[Section] = _root_.scala.None, debug: Option[Debug] = _root_.scala.None, isGone: Option[Boolean] = _root_.scala.None, isHosted: Boolean = false, pillarId: Option[String] = _root_.scala.None, pillarName: Option[String] = _root_.scala.None, aliasPaths: Option[Seq[AliasPath]] = _root_.scala.None, channels: Option[Seq[ContentChannel]] = _root_.scala.None, schemaOrg: Option[SchemaOrg] = _root_.scala.None)
- new Immutable(id: String, type: ContentType, sectionId: Option[String], sectionName: Option[String], webPublicationDate: Option[CapiDateTime], webTitle: String, webUrl: String, apiUrl: String, fields: Option[ContentFields], tags: Seq[Tag], elements: Option[Seq[Element]], references: Seq[Reference], isExpired: Option[Boolean], blocks: Option[Blocks], rights: Option[Rights], crossword: Option[Crossword], atoms: Option[Atoms], stats: Option[ContentStats], section: Option[Section], debug: Option[Debug], isGone: Option[Boolean], isHosted: Boolean, pillarId: Option[String], pillarName: Option[String], aliasPaths: Option[Seq[AliasPath]], channels: Option[Seq[ContentChannel]], schemaOrg: Option[SchemaOrg], _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: String
- Definition Classes
- Content
- def _10: Seq[Tag]
- Definition Classes
- Content
- def _11: Option[Seq[Element]]
- Definition Classes
- Content
- def _12: Seq[Reference]
- Definition Classes
- Content
- def _13: Option[Boolean]
- Definition Classes
- Content
- def _14: Option[Blocks]
- Definition Classes
- Content
- def _15: Option[Rights]
- Definition Classes
- Content
- def _16: Option[Crossword]
- Definition Classes
- Content
- def _17: Option[Atoms]
- Definition Classes
- Content
- def _18: Option[ContentStats]
- Definition Classes
- Content
- def _19: Option[Section]
- Definition Classes
- Content
- def _2: ContentType
- Definition Classes
- Content
- def _20: Option[Debug]
- Definition Classes
- Content
- def _21: Option[Boolean]
- Definition Classes
- Content
- def _22: Boolean
- Definition Classes
- Content
- def _23: Option[String]
- Definition Classes
- Content
- def _24: Option[String]
- Definition Classes
- Content
- def _25: Option[Seq[AliasPath]]
- Definition Classes
- Content
- def _26: Option[Seq[ContentChannel]]
- Definition Classes
- Content
- def _27: Option[SchemaOrg]
- Definition Classes
- Content
- def _3: Option[String]
- Definition Classes
- Content
- def _4: Option[String]
- Definition Classes
- Content
- def _5: Option[CapiDateTime]
- Definition Classes
- Content
- def _6: String
- Definition Classes
- Content
- def _7: String
- Definition Classes
- Content
- def _8: String
- Definition Classes
- Content
- def _9: Option[ContentFields]
- Definition Classes
- Content
- def _codec: ValidatingThriftStructCodec3[Content]
- Definition Classes
- Content → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- val aliasPaths: Option[Seq[AliasPath]]
- val apiUrl: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val atoms: Option[Atoms]
- val blocks: Option[Blocks]
- def canEqual(other: Any): Boolean
- Definition Classes
- Content → Equals
- val channels: Option[Seq[ContentChannel]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(id: String = this.id, type: ContentType = this.`type`, sectionId: Option[String] = this.sectionId, sectionName: Option[String] = this.sectionName, webPublicationDate: Option[CapiDateTime] = this.webPublicationDate, webTitle: String = this.webTitle, webUrl: String = this.webUrl, apiUrl: String = this.apiUrl, fields: Option[ContentFields] = this.fields, tags: Seq[Tag] = this.tags, elements: Option[Seq[Element]] = this.elements, references: Seq[Reference] = this.references, isExpired: Option[Boolean] = this.isExpired, blocks: Option[Blocks] = this.blocks, rights: Option[Rights] = this.rights, crossword: Option[Crossword] = this.crossword, atoms: Option[Atoms] = this.atoms, stats: Option[ContentStats] = this.stats, section: Option[Section] = this.section, debug: Option[Debug] = this.debug, isGone: Option[Boolean] = this.isGone, isHosted: Boolean = this.isHosted, pillarId: Option[String] = this.pillarId, pillarName: Option[String] = this.pillarName, aliasPaths: Option[Seq[AliasPath]] = this.aliasPaths, channels: Option[Seq[ContentChannel]] = this.channels, schemaOrg: Option[SchemaOrg] = this.schemaOrg, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Content
- Definition Classes
- Content
- val crossword: Option[Crossword]
- val debug: Option[Debug]
- val elements: Option[Seq[Element]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Content → Equals → AnyRef → Any
- val fields: Option[ContentFields]
- 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
- Content
- 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
- Content
- def hashCode(): Int
- Definition Classes
- Content → AnyRef → Any
- val id: String
- val isExpired: Option[Boolean]
- val isGone: Option[Boolean]
- val isHosted: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[Content]
- Definition Classes
- Content
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val pillarId: Option[String]
- val pillarName: Option[String]
- def productArity: Int
- Definition Classes
- Content → Product
- def productElement(n: Int): Any
- Definition Classes
- Content → 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
- Content → Product
- val references: Seq[Reference]
- val rights: Option[Rights]
- val schemaOrg: Option[SchemaOrg]
- val section: Option[Section]
- val sectionId: Option[String]
- val sectionName: Option[String]
- def setField(_blob: TFieldBlob): Content
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
- Content
- val stats: Option[ContentStats]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Seq[Tag]
- def toString(): String
- Definition Classes
- Content → AnyRef → Any
- val type: ContentType
- def unsetAliasPaths: Content
- Definition Classes
- Content
- def unsetApiUrl: Content
- Definition Classes
- Content
- def unsetAtoms: Content
- Definition Classes
- Content
- def unsetBlocks: Content
- Definition Classes
- Content
- def unsetChannels: Content
- Definition Classes
- Content
- def unsetCrossword: Content
- Definition Classes
- Content
- def unsetDebug: Content
- Definition Classes
- Content
- def unsetElements: Content
- Definition Classes
- Content
- def unsetField(_fieldId: Short): Content
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
- Content
- def unsetFields: Content
- Definition Classes
- Content
- def unsetId: Content
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
- Content
- def unsetIsExpired: Content
- Definition Classes
- Content
- def unsetIsGone: Content
- Definition Classes
- Content
- def unsetIsHosted: Content
- Definition Classes
- Content
- def unsetPillarId: Content
- Definition Classes
- Content
- def unsetPillarName: Content
- Definition Classes
- Content
- def unsetReferences: Content
- Definition Classes
- Content
- def unsetRights: Content
- Definition Classes
- Content
- def unsetSchemaOrg: Content
- Definition Classes
- Content
- def unsetSection: Content
- Definition Classes
- Content
- def unsetSectionId: Content
- Definition Classes
- Content
- def unsetSectionName: Content
- Definition Classes
- Content
- def unsetStats: Content
- Definition Classes
- Content
- def unsetTags: Content
- Definition Classes
- Content
- def unsetType: Content
- Definition Classes
- Content
- def unsetWebPublicationDate: Content
- Definition Classes
- Content
- def unsetWebTitle: Content
- Definition Classes
- Content
- def unsetWebUrl: Content
- Definition Classes
- Content
- 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])
- val webPublicationDate: Option[CapiDateTime]
- val webTitle: String
- val webUrl: String
- def write(_oprot: TProtocol): Unit
- Definition Classes
- Content → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)