Packages

trait ContentFields extends ThriftStruct with Product with ValidatingThriftStruct[ContentFields] with Serializable

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

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

Abstract Value Members

  1. abstract def allowUgc: Option[Boolean]
  2. abstract def body: Option[String]
  3. abstract def bodyText: Option[String]
  4. abstract def byline: Option[String]
  5. abstract def bylineHtml: Option[String]
  6. abstract def charCount: Option[Int]
  7. abstract def commentCloseDate: Option[CapiDateTime]
  8. abstract def commentable: Option[Boolean]
  9. abstract def contributorBio: Option[String]
  10. abstract def creationDate: Option[CapiDateTime]
  11. abstract def displayHint: Option[String]
  12. abstract def firstPublicationDate: Option[CapiDateTime]
  13. abstract def hasStoryPackage: Option[Boolean]
  14. abstract def headline: Option[String]
  15. abstract def internalCommissionedWordcount: Option[Int]
  16. abstract def internalComposerCode: Option[String]
  17. abstract def internalContentCode: Option[Int]
  18. abstract def internalOctopusCode: Option[String]
  19. abstract def internalPageCode: Option[Int]
  20. abstract def internalRevision: Option[Int]
  21. abstract def internalShortId: Option[String]
  22. abstract def internalStoryPackageCode: Option[Int]
  23. abstract def internalVideoCode: Option[String]
  24. abstract def isInappropriateForSponsorship: Option[Boolean]
  25. abstract def isLive: Option[Boolean]
  26. abstract def isPremoderated: Option[Boolean]
  27. abstract def lang: Option[String]
  28. abstract def lastModified: Option[CapiDateTime]
  29. abstract def legallySensitive: Option[Boolean]
  30. abstract def liveBloggingNow: Option[Boolean]
  31. abstract def main: Option[String]
  32. abstract def membershipAccess: Option[MembershipTier]
  33. abstract def newspaperEditionDate: Option[CapiDateTime]
  34. abstract def newspaperPageNumber: Option[Int]
  35. abstract def productionOffice: Option[Office]
  36. abstract def publication: Option[String]
  37. abstract def scheduledPublicationDate: Option[CapiDateTime]
  38. abstract def secureThumbnail: Option[String]
  39. abstract def sensitive: Option[Boolean]
  40. abstract def shortSocialShareText: Option[String]
  41. abstract def shortUrl: Option[String]
  42. abstract def shouldHideAdverts: Option[Boolean]
  43. abstract def shouldHideReaderRevenue: Option[Boolean]
  44. abstract def showAffiliateLinks: Option[Boolean]
  45. abstract def showInRelatedContent: Option[Boolean]
  46. abstract def showTableOfContents: Option[Boolean]
  47. abstract def socialShareText: Option[String]
  48. abstract def standfirst: Option[String]
  49. abstract def starRating: Option[Int]
  50. abstract def thumbnail: Option[String]
  51. abstract def trailText: Option[String]
  52. abstract def wordcount: Option[Int]

Concrete 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: Option[String]
  5. def _10: Option[MembershipTier]
  6. def _11: Option[Int]
  7. def _12: Option[CapiDateTime]
  8. def _13: Option[Boolean]
  9. def _14: Option[CapiDateTime]
  10. def _15: Option[String]
  11. def _16: Option[CapiDateTime]
  12. def _17: Option[Boolean]
  13. def _18: Option[String]
  14. def _19: Option[String]
  15. def _2: Option[String]
  16. def _20: Option[Int]
  17. def _21: Option[Int]
  18. def _22: Option[Boolean]
  19. def _23: Option[Boolean]
  20. def _24: Option[CapiDateTime]
  21. def _25: Option[Boolean]
  22. def _26: Option[CapiDateTime]
  23. def _27: Option[Office]
  24. def _28: Option[String]
  25. def _29: Option[CapiDateTime]
  26. def _3: Option[String]
  27. def _30: Option[String]
  28. def _31: Option[String]
  29. def _32: Option[Boolean]
  30. def _33: Option[Boolean]
  31. def _34: Option[String]
  32. def _35: Option[Boolean]
  33. def _36: Option[Boolean]
  34. def _37: Option[Boolean]
  35. def _38: Option[String]
  36. def _39: Option[Int]
  37. def _4: Option[String]
  38. def _40: Option[Int]
  39. def _41: Option[Boolean]
  40. def _42: Option[String]
  41. def _43: Option[String]
  42. def _44: Option[String]
  43. def _45: Option[String]
  44. def _46: Option[Int]
  45. def _47: Option[String]
  46. def _48: Option[Boolean]
  47. def _49: Option[Int]
  48. def _5: Option[String]
  49. def _50: Option[Boolean]
  50. def _51: Option[String]
  51. def _52: Option[Boolean]
  52. def _6: Option[String]
  53. def _7: Option[Int]
  54. def _8: Option[Int]
  55. def _9: Option[String]
  56. def _codec: ValidatingThriftStructCodec3[ContentFields]
    Definition Classes
    ContentFields → ValidatingThriftStruct → HasThriftStructCodec3
  57. def _passthroughFields: Map[Short, TFieldBlob]
  58. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  59. def canEqual(other: Any): Boolean
    Definition Classes
    ContentFields → Equals
  60. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  61. def copy(headline: Option[String] = this.headline, standfirst: Option[String] = this.standfirst, trailText: Option[String] = this.trailText, byline: Option[String] = this.byline, main: Option[String] = this.main, body: Option[String] = this.body, newspaperPageNumber: Option[Int] = this.newspaperPageNumber, starRating: Option[Int] = this.starRating, contributorBio: Option[String] = this.contributorBio, membershipAccess: Option[MembershipTier] = this.membershipAccess, wordcount: Option[Int] = this.wordcount, commentCloseDate: Option[CapiDateTime] = this.commentCloseDate, commentable: Option[Boolean] = this.commentable, creationDate: Option[CapiDateTime] = this.creationDate, displayHint: Option[String] = this.displayHint, firstPublicationDate: Option[CapiDateTime] = this.firstPublicationDate, hasStoryPackage: Option[Boolean] = this.hasStoryPackage, internalComposerCode: Option[String] = this.internalComposerCode, internalOctopusCode: Option[String] = this.internalOctopusCode, internalPageCode: Option[Int] = this.internalPageCode, internalStoryPackageCode: Option[Int] = this.internalStoryPackageCode, isInappropriateForSponsorship: Option[Boolean] = this.isInappropriateForSponsorship, isPremoderated: Option[Boolean] = this.isPremoderated, lastModified: Option[CapiDateTime] = this.lastModified, liveBloggingNow: Option[Boolean] = this.liveBloggingNow, newspaperEditionDate: Option[CapiDateTime] = this.newspaperEditionDate, productionOffice: Option[Office] = this.productionOffice, publication: Option[String] = this.publication, scheduledPublicationDate: Option[CapiDateTime] = this.scheduledPublicationDate, secureThumbnail: Option[String] = this.secureThumbnail, shortUrl: Option[String] = this.shortUrl, shouldHideAdverts: Option[Boolean] = this.shouldHideAdverts, showInRelatedContent: Option[Boolean] = this.showInRelatedContent, thumbnail: Option[String] = this.thumbnail, legallySensitive: Option[Boolean] = this.legallySensitive, allowUgc: Option[Boolean] = this.allowUgc, sensitive: Option[Boolean] = this.sensitive, lang: Option[String] = this.lang, internalRevision: Option[Int] = this.internalRevision, internalContentCode: Option[Int] = this.internalContentCode, isLive: Option[Boolean] = this.isLive, internalShortId: Option[String] = this.internalShortId, shortSocialShareText: Option[String] = this.shortSocialShareText, socialShareText: Option[String] = this.socialShareText, bodyText: Option[String] = this.bodyText, charCount: Option[Int] = this.charCount, internalVideoCode: Option[String] = this.internalVideoCode, shouldHideReaderRevenue: Option[Boolean] = this.shouldHideReaderRevenue, internalCommissionedWordcount: Option[Int] = this.internalCommissionedWordcount, showAffiliateLinks: Option[Boolean] = this.showAffiliateLinks, bylineHtml: Option[String] = this.bylineHtml, showTableOfContents: Option[Boolean] = this.showTableOfContents, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ContentFields
  62. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. def equals(other: Any): Boolean
    Definition Classes
    ContentFields → Equals → AnyRef → Any
  64. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  65. 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.

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

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

  67. def hashCode(): Int
    Definition Classes
    ContentFields → AnyRef → Any
  68. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  69. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  70. def newBuilder(): StructBuilder[ContentFields]
  71. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  72. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  73. def productArity: Int
    Definition Classes
    ContentFields → Product
  74. def productElement(n: Int): Any
    Definition Classes
    ContentFields → Product
  75. def productElementName(n: Int): String
    Definition Classes
    Product
  76. def productElementNames: Iterator[String]
    Definition Classes
    Product
  77. def productIterator: Iterator[Any]
    Definition Classes
    Product
  78. def productPrefix: String
    Definition Classes
    ContentFields → Product
  79. def setField(_blob: TFieldBlob): ContentFields

    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.

  80. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  81. def toString(): String
    Definition Classes
    ContentFields → AnyRef → Any
  82. def unsetAllowUgc: ContentFields
  83. def unsetBody: ContentFields
  84. def unsetBodyText: ContentFields
  85. def unsetByline: ContentFields
  86. def unsetBylineHtml: ContentFields
  87. def unsetCharCount: ContentFields
  88. def unsetCommentCloseDate: ContentFields
  89. def unsetCommentable: ContentFields
  90. def unsetContributorBio: ContentFields
  91. def unsetCreationDate: ContentFields
  92. def unsetDisplayHint: ContentFields
  93. def unsetField(_fieldId: Short): ContentFields

    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.

  94. def unsetFirstPublicationDate: ContentFields
  95. def unsetHasStoryPackage: ContentFields
  96. def unsetHeadline: ContentFields

    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.

  97. def unsetInternalCommissionedWordcount: ContentFields
  98. def unsetInternalComposerCode: ContentFields
  99. def unsetInternalContentCode: ContentFields
  100. def unsetInternalOctopusCode: ContentFields
  101. def unsetInternalPageCode: ContentFields
  102. def unsetInternalRevision: ContentFields
  103. def unsetInternalShortId: ContentFields
  104. def unsetInternalStoryPackageCode: ContentFields
  105. def unsetInternalVideoCode: ContentFields
  106. def unsetIsInappropriateForSponsorship: ContentFields
  107. def unsetIsLive: ContentFields
  108. def unsetIsPremoderated: ContentFields
  109. def unsetLang: ContentFields
  110. def unsetLastModified: ContentFields
  111. def unsetLegallySensitive: ContentFields
  112. def unsetLiveBloggingNow: ContentFields
  113. def unsetMain: ContentFields
  114. def unsetMembershipAccess: ContentFields
  115. def unsetNewspaperEditionDate: ContentFields
  116. def unsetNewspaperPageNumber: ContentFields
  117. def unsetProductionOffice: ContentFields
  118. def unsetPublication: ContentFields
  119. def unsetScheduledPublicationDate: ContentFields
  120. def unsetSecureThumbnail: ContentFields
  121. def unsetSensitive: ContentFields
  122. def unsetShortSocialShareText: ContentFields
  123. def unsetShortUrl: ContentFields
  124. def unsetShouldHideAdverts: ContentFields
  125. def unsetShouldHideReaderRevenue: ContentFields
  126. def unsetShowAffiliateLinks: ContentFields
  127. def unsetShowInRelatedContent: ContentFields
  128. def unsetShowTableOfContents: ContentFields
  129. def unsetSocialShareText: ContentFields
  130. def unsetStandfirst: ContentFields
  131. def unsetStarRating: ContentFields
  132. def unsetThumbnail: ContentFields
  133. def unsetTrailText: ContentFields
  134. def unsetWordcount: ContentFields
  135. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  136. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  137. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  138. def write(_oprot: TProtocol): Unit
    Definition Classes
    ContentFields → ThriftStruct

Deprecated Value Members

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

    (Since version 9)

Inherited from Serializable

Inherited from ValidatingThriftStruct[ContentFields]

Inherited from HasThriftStructCodec3[ContentFields]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped