Trait/Object

com.gu.contentapi.client.model.v1

Content

Related Docs: object Content | package v1

Permalink

trait Content extends ThriftStruct with Product22[String, ContentType, Option[String], Option[String], Option[CapiDateTime], String, String, String, Option[ContentFields], Seq[Tag], Option[Seq[Element]], Seq[Reference], Option[Boolean], Option[Blocks], Option[Rights], Option[Crossword], Option[Atoms], Option[ContentStats], Option[Section], Option[Debug], Option[Boolean], Boolean] with HasThriftStructCodec3[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, HasThriftStructCodec3[Content], Product22[String, ContentType, Option[String], Option[String], Option[CapiDateTime], String, String, String, Option[ContentFields], Seq[Tag], Option[Seq[Element]], Seq[Reference], Option[Boolean], Option[Blocks], Option[Rights], Option[Crossword], Option[Atoms], Option[ContentStats], Option[Section], Option[Debug], Option[Boolean], Boolean], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Content
  2. Serializable
  3. HasThriftStructCodec3
  4. Product22
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apiUrl: String

    Permalink
  2. abstract def atoms: Option[Atoms]

    Permalink
  3. abstract def blocks: Option[Blocks]

    Permalink
  4. abstract def crossword: Option[Crossword]

    Permalink
  5. abstract def debug: Option[Debug]

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

    Permalink
  7. abstract def fields: Option[ContentFields]

    Permalink
  8. abstract def id: String

    Permalink
  9. abstract def isExpired: Option[Boolean]

    Permalink
  10. abstract def isGone: Option[Boolean]

    Permalink
  11. abstract def isHosted: Boolean

    Permalink
  12. abstract def references: Seq[Reference]

    Permalink
  13. abstract def rights: Option[Rights]

    Permalink
  14. abstract def section: Option[Section]

    Permalink
  15. abstract def sectionId: Option[String]

    Permalink
  16. abstract def sectionName: Option[String]

    Permalink
  17. abstract def stats: Option[ContentStats]

    Permalink
  18. abstract def tags: Seq[Tag]

    Permalink
  19. abstract def type: ContentType

    Permalink
  20. abstract def webPublicationDate: Option[CapiDateTime]

    Permalink
  21. abstract def webTitle: String

    Permalink
  22. 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
    Definition Classes
    Content → Product22
  5. def _10: Seq[Tag]

    Permalink
    Definition Classes
    Content → Product22
  6. def _11: Option[Seq[Element]]

    Permalink
    Definition Classes
    Content → Product22
  7. def _12: Seq[Reference]

    Permalink
    Definition Classes
    Content → Product22
  8. def _13: Option[Boolean]

    Permalink
    Definition Classes
    Content → Product22
  9. def _14: Option[Blocks]

    Permalink
    Definition Classes
    Content → Product22
  10. def _15: Option[Rights]

    Permalink
    Definition Classes
    Content → Product22
  11. def _16: Option[Crossword]

    Permalink
    Definition Classes
    Content → Product22
  12. def _17: Option[Atoms]

    Permalink
    Definition Classes
    Content → Product22
  13. def _18: Option[ContentStats]

    Permalink
    Definition Classes
    Content → Product22
  14. def _19: Option[Section]

    Permalink
    Definition Classes
    Content → Product22
  15. def _2: ContentType

    Permalink
    Definition Classes
    Content → Product22
  16. def _20: Option[Debug]

    Permalink
    Definition Classes
    Content → Product22
  17. def _21: Option[Boolean]

    Permalink
    Definition Classes
    Content → Product22
  18. def _22: Boolean

    Permalink
    Definition Classes
    Content → Product22
  19. def _3: Option[String]

    Permalink
    Definition Classes
    Content → Product22
  20. def _4: Option[String]

    Permalink
    Definition Classes
    Content → Product22
  21. def _5: Option[CapiDateTime]

    Permalink
    Definition Classes
    Content → Product22
  22. def _6: String

    Permalink
    Definition Classes
    Content → Product22
  23. def _7: String

    Permalink
    Definition Classes
    Content → Product22
  24. def _8: String

    Permalink
    Definition Classes
    Content → Product22
  25. def _9: Option[ContentFields]

    Permalink
    Definition Classes
    Content → Product22
  26. def _codec: ThriftStructCodec3[Content]

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

    Permalink
  28. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. 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.

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

    Permalink

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

  38. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  46. def productPrefix: String

    Permalink
    Definition Classes
    Content → Product
  47. 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.

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

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

    Permalink
    Definition Classes
    Content → AnyRef → Any
  50. def toTuple: (String, ContentType, Option[String], Option[String], Option[CapiDateTime], String, String, String, Option[ContentFields], Seq[Tag], Option[Seq[Element]], Seq[Reference], Option[Boolean], Option[Blocks], Option[Rights], Option[Crossword], Option[Atoms], Option[ContentStats], Option[Section], Option[Debug], Option[Boolean], Boolean)

    Permalink
  51. def unsetApiUrl: Content

    Permalink
  52. def unsetAtoms: Content

    Permalink
  53. def unsetBlocks: Content

    Permalink
  54. def unsetCrossword: Content

    Permalink
  55. def unsetDebug: Content

    Permalink
  56. def unsetElements: Content

    Permalink
  57. 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.

  58. def unsetFields: Content

    Permalink
  59. 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.

  60. def unsetIsExpired: Content

    Permalink
  61. def unsetIsGone: Content

    Permalink
  62. def unsetIsHosted: Content

    Permalink
  63. def unsetReferences: Content

    Permalink
  64. def unsetRights: Content

    Permalink
  65. def unsetSection: Content

    Permalink
  66. def unsetSectionId: Content

    Permalink
  67. def unsetSectionName: Content

    Permalink
  68. def unsetStats: Content

    Permalink
  69. def unsetTags: Content

    Permalink
  70. def unsetType: Content

    Permalink
  71. def unsetWebPublicationDate: Content

    Permalink
  72. def unsetWebTitle: Content

    Permalink
  73. def unsetWebUrl: Content

    Permalink
  74. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Content → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[Content]

Inherited from Product22[String, ContentType, Option[String], Option[String], Option[CapiDateTime], String, String, String, Option[ContentFields], Seq[Tag], Option[Seq[Element]], Seq[Reference], Option[Boolean], Option[Blocks], Option[Rights], Option[Crossword], Option[Atoms], Option[ContentStats], Option[Section], Option[Debug], Option[Boolean], Boolean]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped