com.gu.contentapi.client.model.v1

Content

trait Content extends ThriftStruct with Product16[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]] with Serializable

Linear Supertypes
Serializable, Product16[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]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Content
  2. Serializable
  3. Product16
  4. Product
  5. Equals
  6. ThriftStruct
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apiUrl: String

  2. abstract def blocks: Option[Blocks]

  3. abstract def crossword: Option[Crossword]

  4. abstract def elements: Option[Seq[Element]]

  5. abstract def fields: Option[ContentFields]

  6. abstract def id: String

  7. abstract def isExpired: Option[Boolean]

  8. abstract def references: Seq[Reference]

  9. abstract def rights: Option[Rights]

  10. abstract def sectionId: Option[String]

  11. abstract def sectionName: Option[String]

  12. abstract def tags: Seq[Tag]

  13. abstract def type: ContentType

  14. abstract def webPublicationDate: Option[CapiDateTime]

  15. abstract def webTitle: String

  16. abstract def webUrl: String

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _1: String

    Definition Classes
    Content → Product16
  7. def _10: Seq[Tag]

    Definition Classes
    Content → Product16
  8. def _11: Option[Seq[Element]]

    Definition Classes
    Content → Product16
  9. def _12: Seq[Reference]

    Definition Classes
    Content → Product16
  10. def _13: Option[Boolean]

    Definition Classes
    Content → Product16
  11. def _14: Option[Blocks]

    Definition Classes
    Content → Product16
  12. def _15: Option[Rights]

    Definition Classes
    Content → Product16
  13. def _16: Option[Crossword]

    Definition Classes
    Content → Product16
  14. def _2: ContentType

    Definition Classes
    Content → Product16
  15. def _3: Option[String]

    Definition Classes
    Content → Product16
  16. def _4: Option[String]

    Definition Classes
    Content → Product16
  17. def _5: Option[CapiDateTime]

    Definition Classes
    Content → Product16
  18. def _6: String

    Definition Classes
    Content → Product16
  19. def _7: String

    Definition Classes
    Content → Product16
  20. def _8: String

    Definition Classes
    Content → Product16
  21. def _9: Option[ContentFields]

    Definition Classes
    Content → Product16
  22. def _passthroughFields: Map[Short, TFieldBlob]

  23. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  24. def canEqual(other: Any): Boolean

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

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

  27. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  31. 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 returend. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

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

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

  33. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  38. def productArity: Int

    Definition Classes
    Content → Product16 → Product
  39. def productElement(n: Int): Any

    Definition Classes
    Content → Product16 → Product
  40. def productIterator: Iterator[Any]

    Definition Classes
    Product
  41. def productPrefix: String

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

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

    Definition Classes
    AnyRef
  44. def toString(): String

    Definition Classes
    Content → AnyRef → Any
  45. def unsetApiUrl: Content

  46. def unsetBlocks: Content

  47. def unsetCrossword: Content

  48. def unsetElements: Content

  49. 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 subtracked from the passthroughFields map, if present.

  50. def unsetFields: Content

  51. 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 subtracked from the passthroughFields map, if present.

  52. def unsetIsExpired: Content

  53. def unsetReferences: Content

  54. def unsetRights: Content

  55. def unsetSectionId: Content

  56. def unsetSectionName: Content

  57. def unsetTags: Content

  58. def unsetType: Content

  59. def unsetWebPublicationDate: Content

  60. def unsetWebTitle: Content

  61. def unsetWebUrl: Content

  62. final def wait(): Unit

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

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

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

    Definition Classes
    Content → ThriftStruct

Inherited from Serializable

Inherited from Product16[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]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped