object Content extends ValidatingThriftStructCodec3[Content] with StructBuilderFactory[Content] with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Content
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
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 AliasPathsField: TField
- val AliasPathsFieldManifest: Manifest[Seq[AliasPath]]
- val ApiUrlField: TField
- val ApiUrlFieldManifest: Manifest[String]
- val AtomsField: TField
- val AtomsFieldManifest: Manifest[Atoms]
- val BlocksField: TField
- val BlocksFieldManifest: Manifest[Blocks]
- val ChannelsField: TField
- val ChannelsFieldManifest: Manifest[Seq[ContentChannel]]
- val CrosswordField: TField
- val CrosswordFieldManifest: Manifest[Crossword]
- val DebugField: TField
- val DebugFieldManifest: Manifest[Debug]
- val ElementsField: TField
- val ElementsFieldManifest: Manifest[Seq[Element]]
- val FieldsField: TField
- val FieldsFieldManifest: Manifest[ContentFields]
- val IdField: TField
- val IdFieldManifest: Manifest[String]
- val IsExpiredField: TField
- val IsExpiredFieldManifest: Manifest[Boolean]
- val IsGoneField: TField
- val IsGoneFieldManifest: Manifest[Boolean]
- val IsHostedField: TField
- val IsHostedFieldManifest: Manifest[Boolean]
- val PillarIdField: TField
- val PillarIdFieldManifest: Manifest[String]
- val PillarNameField: TField
- val PillarNameFieldManifest: Manifest[String]
- val ReferencesField: TField
- val ReferencesFieldManifest: Manifest[Seq[Reference]]
- val RightsField: TField
- val RightsFieldManifest: Manifest[Rights]
- val SchemaOrgField: TField
- val SchemaOrgFieldManifest: Manifest[SchemaOrg]
- val SectionField: TField
- val SectionFieldManifest: Manifest[Section]
- val SectionIdField: TField
- val SectionIdFieldManifest: Manifest[String]
- val SectionNameField: TField
- val SectionNameFieldManifest: Manifest[String]
- val StatsField: TField
- val StatsFieldManifest: Manifest[ContentStats]
- val Struct: TStruct
- val TagsField: TField
- val TagsFieldManifest: Manifest[Seq[Tag]]
- val TypeField: TField
- val TypeFieldI32: TField
- val TypeFieldManifest: Manifest[ContentType]
- val WebPublicationDateField: TField
- val WebPublicationDateFieldManifest: Manifest[CapiDateTime]
- val WebTitleField: TField
- val WebTitleFieldManifest: Manifest[String]
- val WebUrlField: TField
- val WebUrlFieldManifest: Manifest[String]
- def apply(id: String, type: ContentType = ContentType.Article, sectionId: Option[String] = _root_.scala.None, sectionName: Option[String] = _root_.scala.None, webPublicationDate: Option[CapiDateTime] = _root_.scala.None, webTitle: String, webUrl: String, apiUrl: String, fields: Option[ContentFields] = _root_.scala.None, tags: Seq[Tag] = Seq(), elements: Option[Seq[Element]] = _root_.scala.None, references: Seq[Reference] = Seq(), isExpired: Option[Boolean] = _root_.scala.None, blocks: Option[Blocks] = _root_.scala.None, rights: Option[Rights] = _root_.scala.None, crossword: Option[Crossword] = _root_.scala.None, atoms: Option[Atoms] = _root_.scala.None, stats: Option[ContentStats] = _root_.scala.None, section: Option[Section] = _root_.scala.None, debug: Option[Debug] = _root_.scala.None, isGone: Option[Boolean] = _root_.scala.None, isHosted: Boolean = false, pillarId: Option[String] = _root_.scala.None, pillarName: Option[String] = _root_.scala.None, aliasPaths: Option[Seq[AliasPath]] = _root_.scala.None, channels: Option[Seq[ContentChannel]] = _root_.scala.None, schemaOrg: Option[SchemaOrg] = _root_.scala.None): Content
- 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): Content
- Definition Classes
- Content → ThriftStructCodec
- def encode(_item: Content, _oproto: TProtocol): Unit
- Definition Classes
- Content → 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[Content]
- Definition Classes
- Content → ThriftStructCodec
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[Content]
- Definition Classes
- Content → 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: Content
- def validate(_item: Content): 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: Content): 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
- Content → ValidatingThriftStructCodec3
- def validateNewInstance(item: Content): 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
- Content → 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withoutPassthroughFields(original: Content): Content
- object Immutable extends ThriftStructCodec3[Content] 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)