object ContentFields extends ValidatingThriftStructCodec3[ContentFields] with StructBuilderFactory[ContentFields] with Serializable
- Alphabetic
- By Inheritance
- ContentFields
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Immutable extends ContentFields
The default read-only implementation of ContentFields.
The default read-only implementation of ContentFields. You typically should not need to directly reference this class; instead, use the ContentFields.apply method to construct new instances.
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
- val AllowUgcField: TField
- val AllowUgcFieldManifest: Manifest[Boolean]
- val BodyField: TField
- val BodyFieldManifest: Manifest[String]
- val BodyTextField: TField
- val BodyTextFieldManifest: Manifest[String]
- val BylineField: TField
- val BylineFieldManifest: Manifest[String]
- val BylineHtmlField: TField
- val BylineHtmlFieldManifest: Manifest[String]
- val CharCountField: TField
- val CharCountFieldManifest: Manifest[Int]
- val CommentCloseDateField: TField
- val CommentCloseDateFieldManifest: Manifest[CapiDateTime]
- val CommentableField: TField
- val CommentableFieldManifest: Manifest[Boolean]
- val ContributorBioField: TField
- val ContributorBioFieldManifest: Manifest[String]
- val CreationDateField: TField
- val CreationDateFieldManifest: Manifest[CapiDateTime]
- val DisplayHintField: TField
- val DisplayHintFieldManifest: Manifest[String]
- val FirstPublicationDateField: TField
- val FirstPublicationDateFieldManifest: Manifest[CapiDateTime]
- val HasStoryPackageField: TField
- val HasStoryPackageFieldManifest: Manifest[Boolean]
- val HeadlineField: TField
- val HeadlineFieldManifest: Manifest[String]
- val InternalCommissionedWordcountField: TField
- val InternalCommissionedWordcountFieldManifest: Manifest[Int]
- val InternalComposerCodeField: TField
- val InternalComposerCodeFieldManifest: Manifest[String]
- val InternalContentCodeField: TField
- val InternalContentCodeFieldManifest: Manifest[Int]
- val InternalOctopusCodeField: TField
- val InternalOctopusCodeFieldManifest: Manifest[String]
- val InternalPageCodeField: TField
- val InternalPageCodeFieldManifest: Manifest[Int]
- val InternalRevisionField: TField
- val InternalRevisionFieldManifest: Manifest[Int]
- val InternalShortIdField: TField
- val InternalShortIdFieldManifest: Manifest[String]
- val InternalStoryPackageCodeField: TField
- val InternalStoryPackageCodeFieldManifest: Manifest[Int]
- val InternalVideoCodeField: TField
- val InternalVideoCodeFieldManifest: Manifest[String]
- val IsInappropriateForSponsorshipField: TField
- val IsInappropriateForSponsorshipFieldManifest: Manifest[Boolean]
- val IsLiveField: TField
- val IsLiveFieldManifest: Manifest[Boolean]
- val IsPremoderatedField: TField
- val IsPremoderatedFieldManifest: Manifest[Boolean]
- val LangField: TField
- val LangFieldManifest: Manifest[String]
- val LastModifiedField: TField
- val LastModifiedFieldManifest: Manifest[CapiDateTime]
- val LegallySensitiveField: TField
- val LegallySensitiveFieldManifest: Manifest[Boolean]
- val LiveBloggingNowField: TField
- val LiveBloggingNowFieldManifest: Manifest[Boolean]
- val MainField: TField
- val MainFieldManifest: Manifest[String]
- val MembershipAccessField: TField
- val MembershipAccessFieldI32: TField
- val MembershipAccessFieldManifest: Manifest[MembershipTier]
- val NewspaperEditionDateField: TField
- val NewspaperEditionDateFieldManifest: Manifest[CapiDateTime]
- val NewspaperPageNumberField: TField
- val NewspaperPageNumberFieldManifest: Manifest[Int]
- val ProductionOfficeField: TField
- val ProductionOfficeFieldI32: TField
- val ProductionOfficeFieldManifest: Manifest[Office]
- val PublicationField: TField
- val PublicationFieldManifest: Manifest[String]
- val ScheduledPublicationDateField: TField
- val ScheduledPublicationDateFieldManifest: Manifest[CapiDateTime]
- val SecureThumbnailField: TField
- val SecureThumbnailFieldManifest: Manifest[String]
- val SensitiveField: TField
- val SensitiveFieldManifest: Manifest[Boolean]
- val ShortSocialShareTextField: TField
- val ShortSocialShareTextFieldManifest: Manifest[String]
- val ShortUrlField: TField
- val ShortUrlFieldManifest: Manifest[String]
- val ShouldHideAdvertsField: TField
- val ShouldHideAdvertsFieldManifest: Manifest[Boolean]
- val ShouldHideReaderRevenueField: TField
- val ShouldHideReaderRevenueFieldManifest: Manifest[Boolean]
- val ShowAffiliateLinksField: TField
- val ShowAffiliateLinksFieldManifest: Manifest[Boolean]
- val ShowInRelatedContentField: TField
- val ShowInRelatedContentFieldManifest: Manifest[Boolean]
- val ShowTableOfContentsField: TField
- val ShowTableOfContentsFieldManifest: Manifest[Boolean]
- val SocialShareTextField: TField
- val SocialShareTextFieldManifest: Manifest[String]
- val StandfirstField: TField
- val StandfirstFieldManifest: Manifest[String]
- val StarRatingField: TField
- val StarRatingFieldManifest: Manifest[Int]
- val Struct: TStruct
- val ThumbnailField: TField
- val ThumbnailFieldManifest: Manifest[String]
- val TrailTextField: TField
- val TrailTextFieldManifest: Manifest[String]
- val WordcountField: TField
- val WordcountFieldManifest: Manifest[Int]
- def apply(headline: Option[String] = _root_.scala.None, standfirst: Option[String] = _root_.scala.None, trailText: Option[String] = _root_.scala.None, byline: Option[String] = _root_.scala.None, main: Option[String] = _root_.scala.None, body: Option[String] = _root_.scala.None, newspaperPageNumber: Option[Int] = _root_.scala.None, starRating: Option[Int] = _root_.scala.None, contributorBio: Option[String] = _root_.scala.None, membershipAccess: Option[MembershipTier] = _root_.scala.None, wordcount: Option[Int] = _root_.scala.None, commentCloseDate: Option[CapiDateTime] = _root_.scala.None, commentable: Option[Boolean] = _root_.scala.None, creationDate: Option[CapiDateTime] = _root_.scala.None, displayHint: Option[String] = _root_.scala.None, firstPublicationDate: Option[CapiDateTime] = _root_.scala.None, hasStoryPackage: Option[Boolean] = _root_.scala.None, internalComposerCode: Option[String] = _root_.scala.None, internalOctopusCode: Option[String] = _root_.scala.None, internalPageCode: Option[Int] = _root_.scala.None, internalStoryPackageCode: Option[Int] = _root_.scala.None, isInappropriateForSponsorship: Option[Boolean] = _root_.scala.None, isPremoderated: Option[Boolean] = _root_.scala.None, lastModified: Option[CapiDateTime] = _root_.scala.None, liveBloggingNow: Option[Boolean] = _root_.scala.None, newspaperEditionDate: Option[CapiDateTime] = _root_.scala.None, productionOffice: Option[Office] = _root_.scala.None, publication: Option[String] = _root_.scala.None, scheduledPublicationDate: Option[CapiDateTime] = _root_.scala.None, secureThumbnail: Option[String] = _root_.scala.None, shortUrl: Option[String] = _root_.scala.None, shouldHideAdverts: Option[Boolean] = _root_.scala.None, showInRelatedContent: Option[Boolean] = _root_.scala.None, thumbnail: Option[String] = _root_.scala.None, legallySensitive: Option[Boolean] = _root_.scala.None, allowUgc: Option[Boolean] = _root_.scala.None, sensitive: Option[Boolean] = _root_.scala.None, lang: Option[String] = _root_.scala.None, internalRevision: Option[Int] = _root_.scala.None, internalContentCode: Option[Int] = _root_.scala.None, isLive: Option[Boolean] = _root_.scala.None, internalShortId: Option[String] = _root_.scala.None, shortSocialShareText: Option[String] = _root_.scala.None, socialShareText: Option[String] = _root_.scala.None, bodyText: Option[String] = _root_.scala.None, charCount: Option[Int] = _root_.scala.None, internalVideoCode: Option[String] = _root_.scala.None, shouldHideReaderRevenue: Option[Boolean] = _root_.scala.None, internalCommissionedWordcount: Option[Int] = _root_.scala.None, showAffiliateLinks: Option[Boolean] = _root_.scala.None, bylineHtml: Option[String] = _root_.scala.None, showTableOfContents: Option[Boolean] = _root_.scala.None): ContentFields
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def decode(_iprot: TProtocol): ContentFields
- Definition Classes
- ContentFields → ThriftStructCodec
- def encode(_item: ContentFields, _oproto: TProtocol): Unit
- Definition Classes
- ContentFields → ThriftStructCodec
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val fieldInfos: List[ThriftStructFieldInfo]
Field information in declaration order.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val metaData: ThriftStructMetaData[ContentFields]
- Definition Classes
- ContentFields → ThriftStructCodec
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[ContentFields]
- Definition Classes
- ContentFields → StructBuilderFactory
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val structAnnotations: Map[String, String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def ttypeToString(byte: Byte): String
- Attributes
- protected
- Definition Classes
- ThriftStructCodec3
- lazy val unsafeEmpty: ContentFields
- def validate(_item: ContentFields): Unit
Checks that all required fields are non-null.
- final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- final def validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- def validateInstanceValue(item: ContentFields): Set[ThriftValidationViolation]
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
- Definition Classes
- ContentFields → ValidatingThriftStructCodec3
- def validateNewInstance(item: ContentFields): Seq[Issue]
Checks that the struct is a valid as a new instance.
Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.
- Definition Classes
- ContentFields → ValidatingThriftStructCodec3
- 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 withoutPassthroughFields(original: ContentFields): ContentFields
- object Immutable extends ThriftStructCodec3[ContentFields] with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)