Trait/Object

com.gu.storypackage.model.v1

Article

Related Docs: object Article | package v1

Permalink

trait Article extends ThriftStruct with 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]] with ValidatingThriftStruct[Article] with Serializable

Prefer the companion object's com.gu.storypackage.model.v1.Article.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Article
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product16
  6. Product
  7. Equals
  8. ThriftStruct
  9. ThriftStructIface
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def articleType: ArticleType

    Permalink
  2. abstract def byline: Option[String]

    Permalink
  3. abstract def customKicker: Option[String]

    Permalink
  4. abstract def group: Group

    Permalink
  5. abstract def headline: Option[String]

    Permalink
  6. abstract def href: Option[String]

    Permalink
  7. abstract def id: String

    Permalink
  8. abstract def imageHide: Option[Boolean]

    Permalink
  9. abstract def imageSrc: Option[String]

    Permalink
  10. abstract def isBoosted: Option[Boolean]

    Permalink
  11. abstract def showBoostedHeadline: Option[Boolean]

    Permalink
  12. abstract def showKickerSection: Option[Boolean]

    Permalink
  13. abstract def showKickerTag: Option[Boolean]

    Permalink
  14. abstract def showMainVideo: Option[Boolean]

    Permalink
  15. abstract def showQuotedHeadline: Option[Boolean]

    Permalink
  16. abstract def trailText: Option[String]

    Permalink

Concrete 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. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  22. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. 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
  26. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Article → Equals → AnyRef → Any
  28. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. 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.

  31. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

  32. def hashCode(): Int

    Permalink
    Definition Classes
    Article → AnyRef → Any
  33. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  41. def productPrefix: String

    Permalink
    Definition Classes
    Article → Product
  42. 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.

  43. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Article → AnyRef → Any
  45. 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
  46. def unsetArticleType: Article

    Permalink
  47. def unsetByline: Article

    Permalink
  48. def unsetCustomKicker: Article

    Permalink
  49. 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.

  50. def unsetGroup: Article

    Permalink
  51. def unsetHeadline: Article

    Permalink
  52. def unsetHref: Article

    Permalink
  53. 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.

  54. def unsetImageHide: Article

    Permalink
  55. def unsetImageSrc: Article

    Permalink
  56. def unsetIsBoosted: Article

    Permalink
  57. def unsetShowBoostedHeadline: Article

    Permalink
  58. def unsetShowKickerSection: Article

    Permalink
  59. def unsetShowKickerTag: Article

    Permalink
  60. def unsetShowMainVideo: Article

    Permalink
  61. def unsetShowQuotedHeadline: Article

    Permalink
  62. def unsetTrailText: Article

    Permalink
  63. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Article → ThriftStruct

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