Trait

com.gu.contentapi.client.model.v1.Content

Proxy

Related Doc: package Content

Permalink

trait Proxy extends Content

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.

Linear Supertypes
Content, Serializable, Product18[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]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Proxy
  2. Content
  3. Serializable
  4. Product18
  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 _underlying_Content: Content

    Permalink
    Attributes
    protected

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 → Product18
  5. def _10: Seq[Tag]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Content → Product18
  14. def _2: ContentType

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

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

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

    Permalink
    Definition Classes
    Content → Product18
  18. def _6: String

    Permalink
    Definition Classes
    Content → Product18
  19. def _7: String

    Permalink
    Definition Classes
    Content → Product18
  20. def _8: String

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

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

    Permalink
    Definition Classes
    ProxyContent
  23. def apiUrl: String

    Permalink
    Definition Classes
    ProxyContent
  24. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  25. def atoms: Option[Atoms]

    Permalink
    Definition Classes
    ProxyContent
  26. def blocks: Option[Blocks]

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

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

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

    Permalink
    Definition Classes
    Content
  30. def crossword: Option[Crossword]

    Permalink
    Definition Classes
    ProxyContent
  31. def elements: Option[Seq[Element]]

    Permalink
    Definition Classes
    ProxyContent
  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 fields: Option[ContentFields]

    Permalink
    Definition Classes
    ProxyContent
  35. def finalize(): Unit

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

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

    Definition Classes
    Content
  38. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

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

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

    Definition Classes
    Content
  39. def hashCode(): Int

    Permalink
    Definition Classes
    Content → AnyRef → Any
  40. def id: String

    Permalink
    Definition Classes
    ProxyContent
  41. def isExpired: Option[Boolean]

    Permalink
    Definition Classes
    ProxyContent
  42. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  46. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  49. def productPrefix: String

    Permalink
    Definition Classes
    Content → Product
  50. def references: Seq[Reference]

    Permalink
    Definition Classes
    ProxyContent
  51. def rights: Option[Rights]

    Permalink
    Definition Classes
    ProxyContent
  52. def sectionId: Option[String]

    Permalink
    Definition Classes
    ProxyContent
  53. def sectionName: Option[String]

    Permalink
    Definition Classes
    ProxyContent
  54. 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.

    Definition Classes
    Content
  55. def stats: Option[ContentStats]

    Permalink
    Definition Classes
    ProxyContent
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  57. def tags: Seq[Tag]

    Permalink
    Definition Classes
    ProxyContent
  58. def toString(): String

    Permalink
    Definition Classes
    Content → AnyRef → Any
  59. def type: ContentType

    Permalink
    Definition Classes
    ProxyContent
  60. def unsetApiUrl: Content

    Permalink
    Definition Classes
    Content
  61. def unsetAtoms: Content

    Permalink
    Definition Classes
    Content
  62. def unsetBlocks: Content

    Permalink
    Definition Classes
    Content
  63. def unsetCrossword: Content

    Permalink
    Definition Classes
    Content
  64. def unsetElements: Content

    Permalink
    Definition Classes
    Content
  65. 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.

    Definition Classes
    Content
  66. def unsetFields: Content

    Permalink
    Definition Classes
    Content
  67. 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.

    Definition Classes
    Content
  68. def unsetIsExpired: Content

    Permalink
    Definition Classes
    Content
  69. def unsetReferences: Content

    Permalink
    Definition Classes
    Content
  70. def unsetRights: Content

    Permalink
    Definition Classes
    Content
  71. def unsetSectionId: Content

    Permalink
    Definition Classes
    Content
  72. def unsetSectionName: Content

    Permalink
    Definition Classes
    Content
  73. def unsetStats: Content

    Permalink
    Definition Classes
    Content
  74. def unsetTags: Content

    Permalink
    Definition Classes
    Content
  75. def unsetType: Content

    Permalink
    Definition Classes
    Content
  76. def unsetWebPublicationDate: Content

    Permalink
    Definition Classes
    Content
  77. def unsetWebTitle: Content

    Permalink
    Definition Classes
    Content
  78. def unsetWebUrl: Content

    Permalink
    Definition Classes
    Content
  79. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. def webPublicationDate: Option[CapiDateTime]

    Permalink
    Definition Classes
    ProxyContent
  83. def webTitle: String

    Permalink
    Definition Classes
    ProxyContent
  84. def webUrl: String

    Permalink
    Definition Classes
    ProxyContent
  85. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Content → ThriftStruct

Inherited from Content

Inherited from Serializable

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

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped