Class/Object

com.gu.storypackage.model.v1.Article

Immutable

Related Docs: object Immutable | package Article

Permalink

class Immutable extends Article

The default read-only implementation of Article. You typically should not need to directly reference this class; instead, use the Article.apply method to construct new instances.

Linear Supertypes
Article, Serializable, ValidatingThriftStruct[Article], HasThriftStructCodec3[Article], Product16[String, ArticleType, Group, Option[String], Option[String], Option[String], Option[String], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[String], Option[String], Option[Boolean], Option[Boolean]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Article
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product16
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(id: String, articleType: ArticleType, group: Group, headline: Option[String] = _root_.scala.None, href: Option[String] = _root_.scala.None, trailText: Option[String] = _root_.scala.None, imageSrc: Option[String] = _root_.scala.None, isBoosted: Option[Boolean] = _root_.scala.None, imageHide: Option[Boolean] = _root_.scala.None, showMainVideo: Option[Boolean] = _root_.scala.None, showKickerTag: Option[Boolean] = _root_.scala.None, showKickerSection: Option[Boolean] = _root_.scala.None, byline: Option[String] = _root_.scala.None, customKicker: Option[String] = _root_.scala.None, showBoostedHeadline: Option[Boolean] = _root_.scala.None, showQuotedHeadline: Option[Boolean] = _root_.scala.None)

    Permalink
  2. new Immutable(id: String, articleType: ArticleType, group: Group, headline: Option[String], href: Option[String], trailText: Option[String], imageSrc: Option[String], isBoosted: Option[Boolean], imageHide: Option[Boolean], showMainVideo: Option[Boolean], showKickerTag: Option[Boolean], showKickerSection: Option[Boolean], byline: Option[String], customKicker: Option[String], showBoostedHeadline: Option[Boolean], showQuotedHeadline: Option[Boolean], _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: String

    Permalink
    Definition Classes
    Article → Product16
  5. def _10: Option[Boolean]

    Permalink
    Definition Classes
    Article → Product16
  6. def _11: Option[Boolean]

    Permalink
    Definition Classes
    Article → Product16
  7. def _12: Option[Boolean]

    Permalink
    Definition Classes
    Article → Product16
  8. def _13: Option[String]

    Permalink
    Definition Classes
    Article → Product16
  9. def _14: Option[String]

    Permalink
    Definition Classes
    Article → Product16
  10. def _15: Option[Boolean]

    Permalink
    Definition Classes
    Article → Product16
  11. def _16: Option[Boolean]

    Permalink
    Definition Classes
    Article → Product16
  12. def _2: ArticleType

    Permalink
    Definition Classes
    Article → Product16
  13. def _3: Group

    Permalink
    Definition Classes
    Article → Product16
  14. def _4: Option[String]

    Permalink
    Definition Classes
    Article → Product16
  15. def _5: Option[String]

    Permalink
    Definition Classes
    Article → Product16
  16. def _6: Option[String]

    Permalink
    Definition Classes
    Article → Product16
  17. def _7: Option[String]

    Permalink
    Definition Classes
    Article → Product16
  18. def _8: Option[Boolean]

    Permalink
    Definition Classes
    Article → Product16
  19. def _9: Option[Boolean]

    Permalink
    Definition Classes
    Article → Product16
  20. def _codec: ValidatingThriftStructCodec3[Article]

    Permalink
    Definition Classes
    Article → ValidatingThriftStruct → HasThriftStructCodec3
  21. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableArticle
  22. val articleType: ArticleType

    Permalink
    Definition Classes
    ImmutableArticle
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. val byline: Option[String]

    Permalink
    Definition Classes
    ImmutableArticle
  25. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Article → Equals
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def copy(id: String = this.id, articleType: ArticleType = this.articleType, group: Group = this.group, headline: Option[String] = this.headline, href: Option[String] = this.href, trailText: Option[String] = this.trailText, imageSrc: Option[String] = this.imageSrc, isBoosted: Option[Boolean] = this.isBoosted, imageHide: Option[Boolean] = this.imageHide, showMainVideo: Option[Boolean] = this.showMainVideo, showKickerTag: Option[Boolean] = this.showKickerTag, showKickerSection: Option[Boolean] = this.showKickerSection, byline: Option[String] = this.byline, customKicker: Option[String] = this.customKicker, showBoostedHeadline: Option[Boolean] = this.showBoostedHeadline, showQuotedHeadline: Option[Boolean] = this.showQuotedHeadline, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Article

    Permalink
    Definition Classes
    Article
  28. val customKicker: Option[String]

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

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

    Permalink
    Definition Classes
    Article → 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 returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    Article
  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
    Article
  35. val group: Group

    Permalink
    Definition Classes
    ImmutableArticle
  36. def hashCode(): Int

    Permalink
    Definition Classes
    Article → AnyRef → Any
  37. val headline: Option[String]

    Permalink
    Definition Classes
    ImmutableArticle
  38. val href: Option[String]

    Permalink
    Definition Classes
    ImmutableArticle
  39. val id: String

    Permalink
    Definition Classes
    ImmutableArticle
  40. val imageHide: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableArticle
  41. val imageSrc: Option[String]

    Permalink
    Definition Classes
    ImmutableArticle
  42. val isBoosted: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableArticle
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  45. def newBuilder(): StructBuilder[Article]

    Permalink
    Definition Classes
    Article
  46. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  48. def productArity: Int

    Permalink
    Definition Classes
    Product16 → Product
  49. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product16 → Product
    Annotations
    @throws( ... )
  50. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  51. def productPrefix: String

    Permalink
    Definition Classes
    Article → Product
  52. def setField(_blob: TFieldBlob): Article

    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
    Article
  53. val showBoostedHeadline: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableArticle
  54. val showKickerSection: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableArticle
  55. val showKickerTag: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableArticle
  56. val showMainVideo: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableArticle
  57. val showQuotedHeadline: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableArticle
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  59. def toString(): String

    Permalink
    Definition Classes
    Article → AnyRef → Any
  60. def toTuple: (String, ArticleType, Group, Option[String], Option[String], Option[String], Option[String], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[String], Option[String], Option[Boolean], Option[Boolean])

    Permalink
    Definition Classes
    Article
  61. val trailText: Option[String]

    Permalink
    Definition Classes
    ImmutableArticle
  62. def unsetArticleType: Article

    Permalink
    Definition Classes
    Article
  63. def unsetByline: Article

    Permalink
    Definition Classes
    Article
  64. def unsetCustomKicker: Article

    Permalink
    Definition Classes
    Article
  65. def unsetField(_fieldId: Short): Article

    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 removed from the passthroughFields map, if present.

    Definition Classes
    Article
  66. def unsetGroup: Article

    Permalink
    Definition Classes
    Article
  67. def unsetHeadline: Article

    Permalink
    Definition Classes
    Article
  68. def unsetHref: Article

    Permalink
    Definition Classes
    Article
  69. def unsetId: Article

    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 removed from the passthroughFields map, if present.

    Definition Classes
    Article
  70. def unsetImageHide: Article

    Permalink
    Definition Classes
    Article
  71. def unsetImageSrc: Article

    Permalink
    Definition Classes
    Article
  72. def unsetIsBoosted: Article

    Permalink
    Definition Classes
    Article
  73. def unsetShowBoostedHeadline: Article

    Permalink
    Definition Classes
    Article
  74. def unsetShowKickerSection: Article

    Permalink
    Definition Classes
    Article
  75. def unsetShowKickerTag: Article

    Permalink
    Definition Classes
    Article
  76. def unsetShowMainVideo: Article

    Permalink
    Definition Classes
    Article
  77. def unsetShowQuotedHeadline: Article

    Permalink
    Definition Classes
    Article
  78. def unsetTrailText: Article

    Permalink
    Definition Classes
    Article
  79. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Article → ThriftStruct

Inherited from Article

Inherited from Serializable

Inherited from ValidatingThriftStruct[Article]

Inherited from HasThriftStructCodec3[Article]

Inherited from Product16[String, ArticleType, Group, Option[String], Option[String], Option[String], Option[String], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[String], Option[String], Option[Boolean], Option[Boolean]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped