Trait/Object

com.gu.contentapi.client.model.v1

ContentFields

Related Docs: object ContentFields | package v1

Permalink

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. All

Abstract Value Members

  1. abstract def allowUgc: Option[Boolean]

    Permalink
  2. abstract def body: Option[String]

    Permalink
  3. abstract def bodyText: Option[String]

    Permalink
  4. abstract def byline: Option[String]

    Permalink
  5. abstract def bylineHtml: Option[String]

    Permalink
  6. abstract def charCount: Option[Int]

    Permalink
  7. abstract def commentCloseDate: Option[CapiDateTime]

    Permalink
  8. abstract def commentable: Option[Boolean]

    Permalink
  9. abstract def contributorBio: Option[String]

    Permalink
  10. abstract def creationDate: Option[CapiDateTime]

    Permalink
  11. abstract def displayHint: Option[String]

    Permalink
  12. abstract def firstPublicationDate: Option[CapiDateTime]

    Permalink
  13. abstract def hasStoryPackage: Option[Boolean]

    Permalink
  14. abstract def headline: Option[String]

    Permalink
  15. abstract def internalCommissionedWordcount: Option[Int]

    Permalink
  16. abstract def internalComposerCode: Option[String]

    Permalink
  17. abstract def internalContentCode: Option[Int]

    Permalink
  18. abstract def internalOctopusCode: Option[String]

    Permalink
  19. abstract def internalPageCode: Option[Int]

    Permalink
  20. abstract def internalRevision: Option[Int]

    Permalink
  21. abstract def internalShortId: Option[String]

    Permalink
  22. abstract def internalStoryPackageCode: Option[Int]

    Permalink
  23. abstract def internalVideoCode: Option[String]

    Permalink
  24. abstract def isInappropriateForSponsorship: Option[Boolean]

    Permalink
  25. abstract def isLive: Option[Boolean]

    Permalink
  26. abstract def isPremoderated: Option[Boolean]

    Permalink
  27. abstract def lang: Option[String]

    Permalink
  28. abstract def lastModified: Option[CapiDateTime]

    Permalink
  29. abstract def legallySensitive: Option[Boolean]

    Permalink
  30. abstract def liveBloggingNow: Option[Boolean]

    Permalink
  31. abstract def main: Option[String]

    Permalink
  32. abstract def membershipAccess: Option[MembershipTier]

    Permalink
  33. abstract def newspaperEditionDate: Option[CapiDateTime]

    Permalink
  34. abstract def newspaperPageNumber: Option[Int]

    Permalink
  35. abstract def productionOffice: Option[Office]

    Permalink
  36. abstract def publication: Option[String]

    Permalink
  37. abstract def scheduledPublicationDate: Option[CapiDateTime]

    Permalink
  38. abstract def secureThumbnail: Option[String]

    Permalink
  39. abstract def sensitive: Option[Boolean]

    Permalink
  40. abstract def shortSocialShareText: Option[String]

    Permalink
  41. abstract def shortUrl: Option[String]

    Permalink
  42. abstract def shouldHideAdverts: Option[Boolean]

    Permalink
  43. abstract def shouldHideReaderRevenue: Option[Boolean]

    Permalink
  44. abstract def showAffiliateLinks: Option[Boolean]

    Permalink
  45. abstract def showInRelatedContent: Option[Boolean]

    Permalink
  46. abstract def socialShareText: Option[String]

    Permalink
  47. abstract def standfirst: Option[String]

    Permalink
  48. abstract def starRating: Option[Int]

    Permalink
  49. abstract def thumbnail: Option[String]

    Permalink
  50. abstract def trailText: Option[String]

    Permalink
  51. abstract def wordcount: Option[Int]

    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: Option[String]

    Permalink
  5. def _10: Option[MembershipTier]

    Permalink
  6. def _11: Option[Int]

    Permalink
  7. def _12: Option[CapiDateTime]

    Permalink
  8. def _13: Option[Boolean]

    Permalink
  9. def _14: Option[CapiDateTime]

    Permalink
  10. def _15: Option[String]

    Permalink
  11. def _16: Option[CapiDateTime]

    Permalink
  12. def _17: Option[Boolean]

    Permalink
  13. def _18: Option[String]

    Permalink
  14. def _19: Option[String]

    Permalink
  15. def _2: Option[String]

    Permalink
  16. def _20: Option[Int]

    Permalink
  17. def _21: Option[Int]

    Permalink
  18. def _22: Option[Boolean]

    Permalink
  19. def _23: Option[Boolean]

    Permalink
  20. def _24: Option[CapiDateTime]

    Permalink
  21. def _25: Option[Boolean]

    Permalink
  22. def _26: Option[CapiDateTime]

    Permalink
  23. def _27: Option[Office]

    Permalink
  24. def _28: Option[String]

    Permalink
  25. def _29: Option[CapiDateTime]

    Permalink
  26. def _3: Option[String]

    Permalink
  27. def _30: Option[String]

    Permalink
  28. def _31: Option[String]

    Permalink
  29. def _32: Option[Boolean]

    Permalink
  30. def _33: Option[Boolean]

    Permalink
  31. def _34: Option[String]

    Permalink
  32. def _35: Option[Boolean]

    Permalink
  33. def _36: Option[Boolean]

    Permalink
  34. def _37: Option[Boolean]

    Permalink
  35. def _38: Option[String]

    Permalink
  36. def _39: Option[Int]

    Permalink
  37. def _4: Option[String]

    Permalink
  38. def _40: Option[Int]

    Permalink
  39. def _41: Option[Boolean]

    Permalink
  40. def _42: Option[String]

    Permalink
  41. def _43: Option[String]

    Permalink
  42. def _44: Option[String]

    Permalink
  43. def _45: Option[String]

    Permalink
  44. def _46: Option[Int]

    Permalink
  45. def _47: Option[String]

    Permalink
  46. def _48: Option[Boolean]

    Permalink
  47. def _49: Option[Int]

    Permalink
  48. def _5: Option[String]

    Permalink
  49. def _50: Option[Boolean]

    Permalink
  50. def _51: Option[String]

    Permalink
  51. def _6: Option[String]

    Permalink
  52. def _7: Option[Int]

    Permalink
  53. def _8: Option[Int]

    Permalink
  54. def _9: Option[String]

    Permalink
  55. def _codec: ValidatingThriftStructCodec3[ContentFields]

    Permalink
    Definition Classes
    ContentFields → ValidatingThriftStruct → HasThriftStructCodec3
  56. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  57. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    ContentFields → Equals
  59. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. 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, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ContentFields

    Permalink
  61. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    ContentFields → Equals → AnyRef → Any
  63. def finalize(): Unit

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

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

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

    Permalink

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

  67. def hashCode(): Int

    Permalink
    Definition Classes
    ContentFields → AnyRef → Any
  68. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  70. def newBuilder(): StructBuilder[ContentFields]

    Permalink
  71. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  73. def productArity: Int

    Permalink
    Definition Classes
    ContentFields → Product
  74. def productElement(n: Int): Any

    Permalink
    Definition Classes
    ContentFields → Product
  75. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  76. def productPrefix: String

    Permalink
    Definition Classes
    ContentFields → Product
  77. def setField(_blob: TFieldBlob): ContentFields

    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.

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

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

    Permalink
    Definition Classes
    ContentFields → AnyRef → Any
  80. def unsetAllowUgc: ContentFields

    Permalink
  81. def unsetBody: ContentFields

    Permalink
  82. def unsetBodyText: ContentFields

    Permalink
  83. def unsetByline: ContentFields

    Permalink
  84. def unsetBylineHtml: ContentFields

    Permalink
  85. def unsetCharCount: ContentFields

    Permalink
  86. def unsetCommentCloseDate: ContentFields

    Permalink
  87. def unsetCommentable: ContentFields

    Permalink
  88. def unsetContributorBio: ContentFields

    Permalink
  89. def unsetCreationDate: ContentFields

    Permalink
  90. def unsetDisplayHint: ContentFields

    Permalink
  91. def unsetField(_fieldId: Short): ContentFields

    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.

  92. def unsetFirstPublicationDate: ContentFields

    Permalink
  93. def unsetHasStoryPackage: ContentFields

    Permalink
  94. def unsetHeadline: ContentFields

    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.

  95. def unsetInternalCommissionedWordcount: ContentFields

    Permalink
  96. def unsetInternalComposerCode: ContentFields

    Permalink
  97. def unsetInternalContentCode: ContentFields

    Permalink
  98. def unsetInternalOctopusCode: ContentFields

    Permalink
  99. def unsetInternalPageCode: ContentFields

    Permalink
  100. def unsetInternalRevision: ContentFields

    Permalink
  101. def unsetInternalShortId: ContentFields

    Permalink
  102. def unsetInternalStoryPackageCode: ContentFields

    Permalink
  103. def unsetInternalVideoCode: ContentFields

    Permalink
  104. def unsetIsInappropriateForSponsorship: ContentFields

    Permalink
  105. def unsetIsLive: ContentFields

    Permalink
  106. def unsetIsPremoderated: ContentFields

    Permalink
  107. def unsetLang: ContentFields

    Permalink
  108. def unsetLastModified: ContentFields

    Permalink
  109. def unsetLegallySensitive: ContentFields

    Permalink
  110. def unsetLiveBloggingNow: ContentFields

    Permalink
  111. def unsetMain: ContentFields

    Permalink
  112. def unsetMembershipAccess: ContentFields

    Permalink
  113. def unsetNewspaperEditionDate: ContentFields

    Permalink
  114. def unsetNewspaperPageNumber: ContentFields

    Permalink
  115. def unsetProductionOffice: ContentFields

    Permalink
  116. def unsetPublication: ContentFields

    Permalink
  117. def unsetScheduledPublicationDate: ContentFields

    Permalink
  118. def unsetSecureThumbnail: ContentFields

    Permalink
  119. def unsetSensitive: ContentFields

    Permalink
  120. def unsetShortSocialShareText: ContentFields

    Permalink
  121. def unsetShortUrl: ContentFields

    Permalink
  122. def unsetShouldHideAdverts: ContentFields

    Permalink
  123. def unsetShouldHideReaderRevenue: ContentFields

    Permalink
  124. def unsetShowAffiliateLinks: ContentFields

    Permalink
  125. def unsetShowInRelatedContent: ContentFields

    Permalink
  126. def unsetSocialShareText: ContentFields

    Permalink
  127. def unsetStandfirst: ContentFields

    Permalink
  128. def unsetStarRating: ContentFields

    Permalink
  129. def unsetThumbnail: ContentFields

    Permalink
  130. def unsetTrailText: ContentFields

    Permalink
  131. def unsetWordcount: ContentFields

    Permalink
  132. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    ContentFields → ThriftStruct

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