Trait/Object

com.gu.contentapi.client.model.v1

Content

Related Docs: object Content | package v1

Permalink

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. All

Abstract Value Members

  1. abstract def aliasPaths: Option[Seq[String]]

    Permalink
  2. abstract def apiUrl: String

    Permalink
  3. abstract def atoms: Option[Atoms]

    Permalink
  4. abstract def blocks: Option[Blocks]

    Permalink
  5. abstract def crossword: Option[Crossword]

    Permalink
  6. abstract def debug: Option[Debug]

    Permalink
  7. abstract def elements: Option[Seq[Element]]

    Permalink
  8. abstract def fields: Option[ContentFields]

    Permalink
  9. abstract def id: String

    Permalink
  10. abstract def isExpired: Option[Boolean]

    Permalink
  11. abstract def isGone: Option[Boolean]

    Permalink
  12. abstract def isHosted: Boolean

    Permalink
  13. abstract def pillarId: Option[String]

    Permalink
  14. abstract def pillarName: Option[String]

    Permalink
  15. abstract def references: Seq[Reference]

    Permalink
  16. abstract def rights: Option[Rights]

    Permalink
  17. abstract def section: Option[Section]

    Permalink
  18. abstract def sectionId: Option[String]

    Permalink
  19. abstract def sectionName: Option[String]

    Permalink
  20. abstract def stats: Option[ContentStats]

    Permalink
  21. abstract def tags: Seq[Tag]

    Permalink
  22. abstract def type: ContentType

    Permalink
  23. abstract def webPublicationDate: Option[CapiDateTime]

    Permalink
  24. abstract def webTitle: String

    Permalink
  25. abstract def webUrl: String

    Permalink

Concrete 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. def _1: String

    Permalink
  5. def _10: Seq[Tag]

    Permalink
  6. def _11: Option[Seq[Element]]

    Permalink
  7. def _12: Seq[Reference]

    Permalink
  8. def _13: Option[Boolean]

    Permalink
  9. def _14: Option[Blocks]

    Permalink
  10. def _15: Option[Rights]

    Permalink
  11. def _16: Option[Crossword]

    Permalink
  12. def _17: Option[Atoms]

    Permalink
  13. def _18: Option[ContentStats]

    Permalink
  14. def _19: Option[Section]

    Permalink
  15. def _2: ContentType

    Permalink
  16. def _20: Option[Debug]

    Permalink
  17. def _21: Option[Boolean]

    Permalink
  18. def _22: Boolean

    Permalink
  19. def _23: Option[String]

    Permalink
  20. def _24: Option[String]

    Permalink
  21. def _25: Option[Seq[String]]

    Permalink
  22. def _3: Option[String]

    Permalink
  23. def _4: Option[String]

    Permalink
  24. def _5: Option[CapiDateTime]

    Permalink
  25. def _6: String

    Permalink
  26. def _7: String

    Permalink
  27. def _8: String

    Permalink
  28. def _9: Option[ContentFields]

    Permalink
  29. def _codec: ValidatingThriftStructCodec3[Content]

    Permalink
    Definition Classes
    Content → ValidatingThriftStruct → HasThriftStructCodec3
  30. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  31. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  32. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Content → Equals
  33. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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[String]] = this.aliasPaths, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Content

    Permalink
  35. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Content → Equals → AnyRef → Any
  37. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  39. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    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.

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

    Permalink

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

  41. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  43. final def ne(arg0: AnyRef): Boolean

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

    Permalink
  45. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  47. def productArity: Int

    Permalink
    Definition Classes
    Content → Product
  48. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Content → Product
  49. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  50. def productPrefix: String

    Permalink
    Definition Classes
    Content → Product
  51. def setField(_blob: TFieldBlob): Content

    Permalink

    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.

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

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

    Permalink
    Definition Classes
    Content → AnyRef → Any
  54. def unsetAliasPaths: Content

    Permalink
  55. def unsetApiUrl: Content

    Permalink
  56. def unsetAtoms: Content

    Permalink
  57. def unsetBlocks: Content

    Permalink
  58. def unsetCrossword: Content

    Permalink
  59. def unsetDebug: Content

    Permalink
  60. def unsetElements: Content

    Permalink
  61. def unsetField(_fieldId: Short): Content

    Permalink

    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.

  62. def unsetFields: Content

    Permalink
  63. def unsetId: Content

    Permalink

    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.

  64. def unsetIsExpired: Content

    Permalink
  65. def unsetIsGone: Content

    Permalink
  66. def unsetIsHosted: Content

    Permalink
  67. def unsetPillarId: Content

    Permalink
  68. def unsetPillarName: Content

    Permalink
  69. def unsetReferences: Content

    Permalink
  70. def unsetRights: Content

    Permalink
  71. def unsetSection: Content

    Permalink
  72. def unsetSectionId: Content

    Permalink
  73. def unsetSectionName: Content

    Permalink
  74. def unsetStats: Content

    Permalink
  75. def unsetTags: Content

    Permalink
  76. def unsetType: Content

    Permalink
  77. def unsetWebPublicationDate: Content

    Permalink
  78. def unsetWebTitle: Content

    Permalink
  79. def unsetWebUrl: Content

    Permalink
  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 write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Content → ThriftStruct

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