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.
- Alphabetic
- By Inheritance
- ContentFields
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def allowUgc: Option[Boolean]
- abstract def body: Option[String]
- abstract def bodyText: Option[String]
- abstract def byline: Option[String]
- abstract def bylineHtml: Option[String]
- abstract def charCount: Option[Int]
- abstract def commentCloseDate: Option[CapiDateTime]
- abstract def commentable: Option[Boolean]
- abstract def contributorBio: Option[String]
- abstract def creationDate: Option[CapiDateTime]
- abstract def displayHint: Option[String]
- abstract def firstPublicationDate: Option[CapiDateTime]
- abstract def hasStoryPackage: Option[Boolean]
- abstract def headline: Option[String]
- abstract def internalCommissionedWordcount: Option[Int]
- abstract def internalComposerCode: Option[String]
- abstract def internalContentCode: Option[Int]
- abstract def internalOctopusCode: Option[String]
- abstract def internalPageCode: Option[Int]
- abstract def internalRevision: Option[Int]
- abstract def internalShortId: Option[String]
- abstract def internalStoryPackageCode: Option[Int]
- abstract def internalVideoCode: Option[String]
- abstract def isInappropriateForSponsorship: Option[Boolean]
- abstract def isLive: Option[Boolean]
- abstract def isPremoderated: Option[Boolean]
- abstract def lang: Option[String]
- abstract def lastModified: Option[CapiDateTime]
- abstract def legallySensitive: Option[Boolean]
- abstract def liveBloggingNow: Option[Boolean]
- abstract def main: Option[String]
- abstract def membershipAccess: Option[MembershipTier]
- abstract def newspaperEditionDate: Option[CapiDateTime]
- abstract def newspaperPageNumber: Option[Int]
- abstract def productionOffice: Option[Office]
- abstract def publication: Option[String]
- abstract def scheduledPublicationDate: Option[CapiDateTime]
- abstract def secureThumbnail: Option[String]
- abstract def sensitive: Option[Boolean]
- abstract def shortSocialShareText: Option[String]
- abstract def shortUrl: Option[String]
- abstract def shouldHideAdverts: Option[Boolean]
- abstract def shouldHideReaderRevenue: Option[Boolean]
- abstract def showAffiliateLinks: Option[Boolean]
- abstract def showInRelatedContent: Option[Boolean]
- abstract def showTableOfContents: Option[Boolean]
- abstract def socialShareText: Option[String]
- abstract def standfirst: Option[String]
- abstract def starRating: Option[Int]
- abstract def thumbnail: Option[String]
- abstract def trailText: Option[String]
- abstract def wordcount: Option[Int]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _1: Option[String]
- def _10: Option[MembershipTier]
- def _11: Option[Int]
- def _12: Option[CapiDateTime]
- def _13: Option[Boolean]
- def _14: Option[CapiDateTime]
- def _15: Option[String]
- def _16: Option[CapiDateTime]
- def _17: Option[Boolean]
- def _18: Option[String]
- def _19: Option[String]
- def _2: Option[String]
- def _20: Option[Int]
- def _21: Option[Int]
- def _22: Option[Boolean]
- def _23: Option[Boolean]
- def _24: Option[CapiDateTime]
- def _25: Option[Boolean]
- def _26: Option[CapiDateTime]
- def _27: Option[Office]
- def _28: Option[String]
- def _29: Option[CapiDateTime]
- def _3: Option[String]
- def _30: Option[String]
- def _31: Option[String]
- def _32: Option[Boolean]
- def _33: Option[Boolean]
- def _34: Option[String]
- def _35: Option[Boolean]
- def _36: Option[Boolean]
- def _37: Option[Boolean]
- def _38: Option[String]
- def _39: Option[Int]
- def _4: Option[String]
- def _40: Option[Int]
- def _41: Option[Boolean]
- def _42: Option[String]
- def _43: Option[String]
- def _44: Option[String]
- def _45: Option[String]
- def _46: Option[Int]
- def _47: Option[String]
- def _48: Option[Boolean]
- def _49: Option[Int]
- def _5: Option[String]
- def _50: Option[Boolean]
- def _51: Option[String]
- def _52: Option[Boolean]
- def _6: Option[String]
- def _7: Option[Int]
- def _8: Option[Int]
- def _9: Option[String]
- def _codec: ValidatingThriftStructCodec3[ContentFields]
- Definition Classes
- ContentFields → ValidatingThriftStruct → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- ContentFields → Equals
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- ContentFields → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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.
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map. - def hashCode(): Int
- Definition Classes
- ContentFields → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[ContentFields]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productArity: Int
- Definition Classes
- ContentFields → Product
- def productElement(n: Int): Any
- Definition Classes
- ContentFields → Product
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- ContentFields → Product
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ContentFields → AnyRef → Any
- def unsetAllowUgc: ContentFields
- def unsetBody: ContentFields
- def unsetBodyText: ContentFields
- def unsetByline: ContentFields
- def unsetBylineHtml: ContentFields
- def unsetCharCount: ContentFields
- def unsetCommentCloseDate: ContentFields
- def unsetCommentable: ContentFields
- def unsetContributorBio: ContentFields
- def unsetCreationDate: ContentFields
- def unsetDisplayHint: ContentFields
- 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.
- def unsetFirstPublicationDate: ContentFields
- def unsetHasStoryPackage: ContentFields
- 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.
- def unsetInternalCommissionedWordcount: ContentFields
- def unsetInternalComposerCode: ContentFields
- def unsetInternalContentCode: ContentFields
- def unsetInternalOctopusCode: ContentFields
- def unsetInternalPageCode: ContentFields
- def unsetInternalRevision: ContentFields
- def unsetInternalShortId: ContentFields
- def unsetInternalStoryPackageCode: ContentFields
- def unsetInternalVideoCode: ContentFields
- def unsetIsInappropriateForSponsorship: ContentFields
- def unsetIsLive: ContentFields
- def unsetIsPremoderated: ContentFields
- def unsetLang: ContentFields
- def unsetLastModified: ContentFields
- def unsetLegallySensitive: ContentFields
- def unsetLiveBloggingNow: ContentFields
- def unsetMain: ContentFields
- def unsetMembershipAccess: ContentFields
- def unsetNewspaperEditionDate: ContentFields
- def unsetNewspaperPageNumber: ContentFields
- def unsetProductionOffice: ContentFields
- def unsetPublication: ContentFields
- def unsetScheduledPublicationDate: ContentFields
- def unsetSecureThumbnail: ContentFields
- def unsetSensitive: ContentFields
- def unsetShortSocialShareText: ContentFields
- def unsetShortUrl: ContentFields
- def unsetShouldHideAdverts: ContentFields
- def unsetShouldHideReaderRevenue: ContentFields
- def unsetShowAffiliateLinks: ContentFields
- def unsetShowInRelatedContent: ContentFields
- def unsetShowTableOfContents: ContentFields
- def unsetSocialShareText: ContentFields
- def unsetStandfirst: ContentFields
- def unsetStarRating: ContentFields
- def unsetThumbnail: ContentFields
- def unsetTrailText: ContentFields
- def unsetWordcount: ContentFields
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(_oprot: TProtocol): Unit
- Definition Classes
- ContentFields → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)