Packages

trait Content extends ThriftStruct with Product with ValidatingThriftStruct[Content] with Serializable

Prefer the companion object's com.gu.contentapi.client.model.v1.Content.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[Content], HasThriftStructCodec3[Content], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Content
  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. Protected

Abstract Value Members

  1. abstract def aliasPaths: Option[Seq[AliasPath]]
  2. abstract def apiUrl: String
  3. abstract def atoms: Option[Atoms]
  4. abstract def blocks: Option[Blocks]
  5. abstract def channels: Option[Seq[ContentChannel]]
  6. abstract def crossword: Option[Crossword]
  7. abstract def debug: Option[Debug]
  8. abstract def elements: Option[Seq[Element]]
  9. abstract def fields: Option[ContentFields]
  10. abstract def id: String
  11. abstract def isExpired: Option[Boolean]
  12. abstract def isGone: Option[Boolean]
  13. abstract def isHosted: Boolean
  14. abstract def pillarId: Option[String]
  15. abstract def pillarName: Option[String]
  16. abstract def references: Seq[Reference]
  17. abstract def rights: Option[Rights]
  18. abstract def schemaOrg: Option[SchemaOrg]
  19. abstract def section: Option[Section]
  20. abstract def sectionId: Option[String]
  21. abstract def sectionName: Option[String]
  22. abstract def stats: Option[ContentStats]
  23. abstract def tags: Seq[Tag]
  24. abstract def type: ContentType
  25. abstract def webPublicationDate: Option[CapiDateTime]
  26. abstract def webTitle: String
  27. abstract def webUrl: String

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _1: String
  5. def _10: Seq[Tag]
  6. def _11: Option[Seq[Element]]
  7. def _12: Seq[Reference]
  8. def _13: Option[Boolean]
  9. def _14: Option[Blocks]
  10. def _15: Option[Rights]
  11. def _16: Option[Crossword]
  12. def _17: Option[Atoms]
  13. def _18: Option[ContentStats]
  14. def _19: Option[Section]
  15. def _2: ContentType
  16. def _20: Option[Debug]
  17. def _21: Option[Boolean]
  18. def _22: Boolean
  19. def _23: Option[String]
  20. def _24: Option[String]
  21. def _25: Option[Seq[AliasPath]]
  22. def _26: Option[Seq[ContentChannel]]
  23. def _27: Option[SchemaOrg]
  24. def _3: Option[String]
  25. def _4: Option[String]
  26. def _5: Option[CapiDateTime]
  27. def _6: String
  28. def _7: String
  29. def _8: String
  30. def _9: Option[ContentFields]
  31. def _codec: ValidatingThriftStructCodec3[Content]
    Definition Classes
    Content → ValidatingThriftStruct → HasThriftStructCodec3
  32. def _passthroughFields: Map[Short, TFieldBlob]
  33. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  34. def canEqual(other: Any): Boolean
    Definition Classes
    Content → Equals
  35. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  36. def copy(id: String = this.id, type: ContentType = this.`type`, sectionId: Option[String] = this.sectionId, sectionName: Option[String] = this.sectionName, webPublicationDate: Option[CapiDateTime] = this.webPublicationDate, webTitle: String = this.webTitle, webUrl: String = this.webUrl, apiUrl: String = this.apiUrl, fields: Option[ContentFields] = this.fields, tags: Seq[Tag] = this.tags, elements: Option[Seq[Element]] = this.elements, references: Seq[Reference] = this.references, isExpired: Option[Boolean] = this.isExpired, blocks: Option[Blocks] = this.blocks, rights: Option[Rights] = this.rights, crossword: Option[Crossword] = this.crossword, atoms: Option[Atoms] = this.atoms, stats: Option[ContentStats] = this.stats, section: Option[Section] = this.section, debug: Option[Debug] = this.debug, isGone: Option[Boolean] = this.isGone, isHosted: Boolean = this.isHosted, pillarId: Option[String] = this.pillarId, pillarName: Option[String] = this.pillarName, aliasPaths: Option[Seq[AliasPath]] = this.aliasPaths, channels: Option[Seq[ContentChannel]] = this.channels, schemaOrg: Option[SchemaOrg] = this.schemaOrg, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Content
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(other: Any): Boolean
    Definition Classes
    Content → Equals → AnyRef → Any
  39. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  40. 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.

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

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

  42. def hashCode(): Int
    Definition Classes
    Content → AnyRef → Any
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def newBuilder(): StructBuilder[Content]
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  48. def productArity: Int
    Definition Classes
    Content → Product
  49. def productElement(n: Int): Any
    Definition Classes
    Content → Product
  50. def productElementName(n: Int): String
    Definition Classes
    Product
  51. def productElementNames: Iterator[String]
    Definition Classes
    Product
  52. def productIterator: Iterator[Any]
    Definition Classes
    Product
  53. def productPrefix: String
    Definition Classes
    Content → Product
  54. def setField(_blob: TFieldBlob): Content

    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.

  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def toString(): String
    Definition Classes
    Content → AnyRef → Any
  57. def unsetAliasPaths: Content
  58. def unsetApiUrl: Content
  59. def unsetAtoms: Content
  60. def unsetBlocks: Content
  61. def unsetChannels: Content
  62. def unsetCrossword: Content
  63. def unsetDebug: Content
  64. def unsetElements: Content
  65. def unsetField(_fieldId: Short): Content

    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.

  66. def unsetFields: Content
  67. def unsetId: Content

    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.

  68. def unsetIsExpired: Content
  69. def unsetIsGone: Content
  70. def unsetIsHosted: Content
  71. def unsetPillarId: Content
  72. def unsetPillarName: Content
  73. def unsetReferences: Content
  74. def unsetRights: Content
  75. def unsetSchemaOrg: Content
  76. def unsetSection: Content
  77. def unsetSectionId: Content
  78. def unsetSectionName: Content
  79. def unsetStats: Content
  80. def unsetTags: Content
  81. def unsetType: Content
  82. def unsetWebPublicationDate: Content
  83. def unsetWebTitle: Content
  84. def unsetWebUrl: Content
  85. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  86. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  88. def write(_oprot: TProtocol): Unit
    Definition Classes
    Content → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from ValidatingThriftStruct[Content]

Inherited from HasThriftStructCodec3[Content]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped