Packages

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.

Linear Supertypes
Content, Serializable, ValidatingThriftStruct[Content], HasThriftStructCodec3[Content], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Content
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product
  7. Equals
  8. ThriftStruct
  9. ThriftStructIface
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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)
  2. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _1: String
    Definition Classes
    Content
  5. def _10: Seq[Tag]
    Definition Classes
    Content
  6. def _11: Option[Seq[Element]]
    Definition Classes
    Content
  7. def _12: Seq[Reference]
    Definition Classes
    Content
  8. def _13: Option[Boolean]
    Definition Classes
    Content
  9. def _14: Option[Blocks]
    Definition Classes
    Content
  10. def _15: Option[Rights]
    Definition Classes
    Content
  11. def _16: Option[Crossword]
    Definition Classes
    Content
  12. def _17: Option[Atoms]
    Definition Classes
    Content
  13. def _18: Option[ContentStats]
    Definition Classes
    Content
  14. def _19: Option[Section]
    Definition Classes
    Content
  15. def _2: ContentType
    Definition Classes
    Content
  16. def _20: Option[Debug]
    Definition Classes
    Content
  17. def _21: Option[Boolean]
    Definition Classes
    Content
  18. def _22: Boolean
    Definition Classes
    Content
  19. def _23: Option[String]
    Definition Classes
    Content
  20. def _24: Option[String]
    Definition Classes
    Content
  21. def _25: Option[Seq[AliasPath]]
    Definition Classes
    Content
  22. def _26: Option[Seq[ContentChannel]]
    Definition Classes
    Content
  23. def _27: Option[SchemaOrg]
    Definition Classes
    Content
  24. def _3: Option[String]
    Definition Classes
    Content
  25. def _4: Option[String]
    Definition Classes
    Content
  26. def _5: Option[CapiDateTime]
    Definition Classes
    Content
  27. def _6: String
    Definition Classes
    Content
  28. def _7: String
    Definition Classes
    Content
  29. def _8: String
    Definition Classes
    Content
  30. def _9: Option[ContentFields]
    Definition Classes
    Content
  31. def _codec: ValidatingThriftStructCodec3[Content]
    Definition Classes
    Content → ValidatingThriftStruct → HasThriftStructCodec3
  32. val _passthroughFields: Map[Short, TFieldBlob]
    Definition Classes
    ImmutableContent
  33. val aliasPaths: Option[Seq[AliasPath]]
    Definition Classes
    ImmutableContent
  34. val apiUrl: String
    Definition Classes
    ImmutableContent
  35. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  36. val atoms: Option[Atoms]
    Definition Classes
    ImmutableContent
  37. val blocks: Option[Blocks]
    Definition Classes
    ImmutableContent
  38. def canEqual(other: Any): Boolean
    Definition Classes
    Content → Equals
  39. val channels: Option[Seq[ContentChannel]]
    Definition Classes
    ImmutableContent
  40. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  41. 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
  42. val crossword: Option[Crossword]
    Definition Classes
    ImmutableContent
  43. val debug: Option[Debug]
    Definition Classes
    ImmutableContent
  44. val elements: Option[Seq[Element]]
    Definition Classes
    ImmutableContent
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(other: Any): Boolean
    Definition Classes
    Content → Equals → AnyRef → Any
  47. val fields: Option[ContentFields]
    Definition Classes
    ImmutableContent
  48. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  49. 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
  50. 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
  51. def hashCode(): Int
    Definition Classes
    Content → AnyRef → Any
  52. val id: String
    Definition Classes
    ImmutableContent
  53. val isExpired: Option[Boolean]
    Definition Classes
    ImmutableContent
  54. val isGone: Option[Boolean]
    Definition Classes
    ImmutableContent
  55. val isHosted: Boolean
    Definition Classes
    ImmutableContent
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. def newBuilder(): StructBuilder[Content]
    Definition Classes
    Content
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  61. val pillarId: Option[String]
    Definition Classes
    ImmutableContent
  62. val pillarName: Option[String]
    Definition Classes
    ImmutableContent
  63. def productArity: Int
    Definition Classes
    Content → Product
  64. def productElement(n: Int): Any
    Definition Classes
    Content → Product
  65. def productElementName(n: Int): String
    Definition Classes
    Product
  66. def productElementNames: Iterator[String]
    Definition Classes
    Product
  67. def productIterator: Iterator[Any]
    Definition Classes
    Product
  68. def productPrefix: String
    Definition Classes
    Content → Product
  69. val references: Seq[Reference]
    Definition Classes
    ImmutableContent
  70. val rights: Option[Rights]
    Definition Classes
    ImmutableContent
  71. val schemaOrg: Option[SchemaOrg]
    Definition Classes
    ImmutableContent
  72. val section: Option[Section]
    Definition Classes
    ImmutableContent
  73. val sectionId: Option[String]
    Definition Classes
    ImmutableContent
  74. val sectionName: Option[String]
    Definition Classes
    ImmutableContent
  75. 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
  76. val stats: Option[ContentStats]
    Definition Classes
    ImmutableContent
  77. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  78. val tags: Seq[Tag]
    Definition Classes
    ImmutableContent
  79. def toString(): String
    Definition Classes
    Content → AnyRef → Any
  80. val type: ContentType
    Definition Classes
    ImmutableContent
  81. def unsetAliasPaths: Content
    Definition Classes
    Content
  82. def unsetApiUrl: Content
    Definition Classes
    Content
  83. def unsetAtoms: Content
    Definition Classes
    Content
  84. def unsetBlocks: Content
    Definition Classes
    Content
  85. def unsetChannels: Content
    Definition Classes
    Content
  86. def unsetCrossword: Content
    Definition Classes
    Content
  87. def unsetDebug: Content
    Definition Classes
    Content
  88. def unsetElements: Content
    Definition Classes
    Content
  89. 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
  90. def unsetFields: Content
    Definition Classes
    Content
  91. 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
  92. def unsetIsExpired: Content
    Definition Classes
    Content
  93. def unsetIsGone: Content
    Definition Classes
    Content
  94. def unsetIsHosted: Content
    Definition Classes
    Content
  95. def unsetPillarId: Content
    Definition Classes
    Content
  96. def unsetPillarName: Content
    Definition Classes
    Content
  97. def unsetReferences: Content
    Definition Classes
    Content
  98. def unsetRights: Content
    Definition Classes
    Content
  99. def unsetSchemaOrg: Content
    Definition Classes
    Content
  100. def unsetSection: Content
    Definition Classes
    Content
  101. def unsetSectionId: Content
    Definition Classes
    Content
  102. def unsetSectionName: Content
    Definition Classes
    Content
  103. def unsetStats: Content
    Definition Classes
    Content
  104. def unsetTags: Content
    Definition Classes
    Content
  105. def unsetType: Content
    Definition Classes
    Content
  106. def unsetWebPublicationDate: Content
    Definition Classes
    Content
  107. def unsetWebTitle: Content
    Definition Classes
    Content
  108. def unsetWebUrl: Content
    Definition Classes
    Content
  109. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  110. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  111. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  112. val webPublicationDate: Option[CapiDateTime]
    Definition Classes
    ImmutableContent
  113. val webTitle: String
    Definition Classes
    ImmutableContent
  114. val webUrl: String
    Definition Classes
    ImmutableContent
  115. def write(_oprot: TProtocol): Unit
    Definition Classes
    Content → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Content

Inherited from Serializable

Inherited from ValidatingThriftStruct[Content]

Inherited from HasThriftStructCodec3[Content]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped