Object/Trait

com.gu.contentapi.client.model.v1

Content

Related Docs: trait Content | package v1

Permalink

object Content extends ValidatingThriftStructCodec3[Content] with StructBuilderFactory[Content] with Serializable

Linear Supertypes
Serializable, Serializable, StructBuilderFactory[Content], ValidatingThriftStructCodec3[Content], ThriftStructCodec3[Content], ThriftStructCodec[Content], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Content
  2. Serializable
  3. Serializable
  4. StructBuilderFactory
  5. ValidatingThriftStructCodec3
  6. ThriftStructCodec3
  7. ThriftStructCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Content

    Permalink

    The default read-only implementation of Content.

    The default read-only implementation of Content. You typically should not need to directly reference this class; instead, use the Content.apply method to construct new instances.

  2. trait Proxy extends Content

    Permalink

    This Proxy trait allows you to extend the Content trait with additional state or behavior and implement the read-only methods from Content using an underlying instance.

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. val ApiUrlField: TField

    Permalink
  5. val ApiUrlFieldManifest: Manifest[String]

    Permalink
  6. val AtomsField: TField

    Permalink
  7. val AtomsFieldManifest: Manifest[Atoms]

    Permalink
  8. val BlocksField: TField

    Permalink
  9. val BlocksFieldManifest: Manifest[Blocks]

    Permalink
  10. val CrosswordField: TField

    Permalink
  11. val CrosswordFieldManifest: Manifest[Crossword]

    Permalink
  12. val DebugField: TField

    Permalink
  13. val DebugFieldManifest: Manifest[Debug]

    Permalink
  14. val ElementsField: TField

    Permalink
  15. val ElementsFieldManifest: Manifest[Seq[Element]]

    Permalink
  16. val FieldsField: TField

    Permalink
  17. val FieldsFieldManifest: Manifest[ContentFields]

    Permalink
  18. val IdField: TField

    Permalink
  19. val IdFieldManifest: Manifest[String]

    Permalink
  20. object Immutable extends ThriftStructCodec3[Content] with Serializable

    Permalink
  21. val IsExpiredField: TField

    Permalink
  22. val IsExpiredFieldManifest: Manifest[Boolean]

    Permalink
  23. val IsGoneField: TField

    Permalink
  24. val IsGoneFieldManifest: Manifest[Boolean]

    Permalink
  25. val IsHostedField: TField

    Permalink
  26. val IsHostedFieldManifest: Manifest[Boolean]

    Permalink
  27. val NoPassthroughFields: Map[Short, TFieldBlob]

    Permalink
  28. val PillarIdField: TField

    Permalink
  29. val PillarIdFieldManifest: Manifest[String]

    Permalink
  30. val PillarNameField: TField

    Permalink
  31. val PillarNameFieldManifest: Manifest[String]

    Permalink
  32. val ReferencesField: TField

    Permalink
  33. val ReferencesFieldManifest: Manifest[Seq[Reference]]

    Permalink
  34. val RightsField: TField

    Permalink
  35. val RightsFieldManifest: Manifest[Rights]

    Permalink
  36. val SectionField: TField

    Permalink
  37. val SectionFieldManifest: Manifest[Section]

    Permalink
  38. val SectionIdField: TField

    Permalink
  39. val SectionIdFieldManifest: Manifest[String]

    Permalink
  40. val SectionNameField: TField

    Permalink
  41. val SectionNameFieldManifest: Manifest[String]

    Permalink
  42. val StatsField: TField

    Permalink
  43. val StatsFieldManifest: Manifest[ContentStats]

    Permalink
  44. val Struct: TStruct

    Permalink
  45. val TagsField: TField

    Permalink
  46. val TagsFieldManifest: Manifest[Seq[Tag]]

    Permalink
  47. val TypeField: TField

    Permalink
  48. val TypeFieldI32: TField

    Permalink
  49. val TypeFieldManifest: Manifest[ContentType]

    Permalink
  50. val WebPublicationDateField: TField

    Permalink
  51. val WebPublicationDateFieldManifest: Manifest[CapiDateTime]

    Permalink
  52. val WebTitleField: TField

    Permalink
  53. val WebTitleFieldManifest: Manifest[String]

    Permalink
  54. val WebUrlField: TField

    Permalink
  55. val WebUrlFieldManifest: Manifest[String]

    Permalink
  56. 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): Content

    Permalink
  57. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  58. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. def decode(_iprot: TProtocol): Content

    Permalink
    Definition Classes
    Content → ThriftStructCodec
  60. def encode(_item: Content, _oproto: TProtocol): Unit

    Permalink
    Definition Classes
    Content → ThriftStructCodec
  61. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  63. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Permalink

    Field information in declaration order.

  64. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  66. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  68. lazy val metaData: ThriftStructMetaData[Content]

    Permalink
    Definition Classes
    Content → ThriftStructCodec
  69. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Content → StructBuilderFactory
  71. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  73. val structAnnotations: Map[String, String]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  76. def ttypeToString(byte: Byte): String

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  77. def validate(_item: Content): Unit

    Permalink

    Checks that all required fields are non-null.

  78. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]

    Permalink
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  79. def validateNewInstance(item: Content): Seq[Issue]

    Permalink

    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
  80. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. def withoutPassthroughFields(original: Content): Content

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from StructBuilderFactory[Content]

Inherited from ValidatingThriftStructCodec3[Content]

Inherited from ThriftStructCodec3[Content]

Inherited from ThriftStructCodec[Content]

Inherited from AnyRef

Inherited from Any

Ungrouped