Trait/Object

com.gu.flexiblecontent.model.thrift

Content

Related Docs: object Content | package thrift

Permalink

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

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

Linear Supertypes
Serializable, ValidatingThriftStruct[Content], HasThriftStructCodec3[Content], Product, Equals, ThriftStruct, 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. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def aliases: Option[Seq[Alias]]

    Permalink

    Additional paths that this content can be looked up by (added as part of 'Evolving URLs' project)

  2. abstract def atomIds: Option[Seq[AtomID]]

    Permalink

    IDs of any atoms that are embedded in this content *

  3. abstract def blocks: Option[Seq[Block]]

    Permalink

    The body block of the content

  4. abstract def channels: Option[Seq[Channel]]

    Permalink
  5. abstract def collaborators: Option[Seq[User]]

    Permalink

    The users who have collaborated on this content

  6. abstract def contentChangeDetails: Option[ContentChangeDetails]

    Permalink

    Audit information about content changes

  7. abstract def expiry: Option[Expiry]

    Permalink

    The expiry details for the content

  8. abstract def fields: Option[ContentFields]

    Permalink

    The fields collection for the content

  9. abstract def id: String

    Permalink

    The content's id

  10. abstract def identifiers: Identifiers

    Permalink

    The bundle of ids the content can be referenced by

  11. abstract def isExpired: Boolean

    Permalink

    Indictes if the content is expired

  12. abstract def isGone: Boolean

    Permalink

    Indictes if the content is gone

  13. abstract def isHosted: Boolean

    Permalink

    Shows whether this content is hosted on behalf of an external client(Hosted Content)

  14. abstract def mainBlock: Option[Block]

    Permalink

    The main medai block of the content

  15. abstract def originatingSystem: Option[String]

    Permalink

    Shows the originating tool of this content before it came to flex

  16. abstract def published: Boolean

    Permalink

    Indictes if the content is live

  17. abstract def rights: Option[Rights]

    Permalink

    The rights profile for the content

  18. abstract def scheduledLaunchDate: Option[Long]

    Permalink

    The date time (in millis since epoch UTC) at which the content is scheduled to launch

  19. abstract def secureThumbnail: Option[String]

    Permalink

    The secureThumbnail url for the content

  20. abstract def settings: Option[ContentSettings]

    Permalink

    The settings for the content

  21. abstract def taxonomy: Option[Taxonomy]

    Permalink

    The taxonomy for the content

  22. abstract def thumbnail: Option[String]

    Permalink

    The thumbnail url for the content

  23. abstract def thumbnailImage: Option[Image]

    Permalink

    Complete information about the thumbnail, including assets etc.

  24. abstract def type: ContentType

    Permalink

    The content's type

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: Option[Seq[Block]]

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

    Permalink
  7. def _12: Option[String]

    Permalink
  8. def _13: Option[ContentFields]

    Permalink
  9. def _14: Option[ContentSettings]

    Permalink
  10. def _15: Option[Taxonomy]

    Permalink
  11. def _16: Option[String]

    Permalink
  12. def _17: Option[Expiry]

    Permalink
  13. def _18: Option[Rights]

    Permalink
  14. def _19: Option[Image]

    Permalink
  15. def _2: Identifiers

    Permalink
  16. def _20: Option[Seq[AtomID]]

    Permalink
  17. def _21: Boolean

    Permalink
  18. def _22: Option[String]

    Permalink
  19. def _23: Option[Seq[Alias]]

    Permalink
  20. def _24: Option[Seq[Channel]]

    Permalink
  21. def _3: ContentType

    Permalink
  22. def _4: Boolean

    Permalink
  23. def _5: Boolean

    Permalink
  24. def _6: Boolean

    Permalink
  25. def _7: Option[Long]

    Permalink
  26. def _8: Option[ContentChangeDetails]

    Permalink
  27. def _9: Option[Block]

    Permalink
  28. def _codec: ValidatingThriftStructCodec3[Content]

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

    Permalink
  30. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  33. def copy(id: String = this.id, identifiers: Identifiers = this.identifiers, type: ContentType = this.`type`, published: Boolean = this.published, isGone: Boolean = this.isGone, isExpired: Boolean = this.isExpired, scheduledLaunchDate: Option[Long] = this.scheduledLaunchDate, contentChangeDetails: Option[ContentChangeDetails] = this.contentChangeDetails, mainBlock: Option[Block] = this.mainBlock, blocks: Option[Seq[Block]] = this.blocks, collaborators: Option[Seq[User]] = this.collaborators, thumbnail: Option[String] = this.thumbnail, fields: Option[ContentFields] = this.fields, settings: Option[ContentSettings] = this.settings, taxonomy: Option[Taxonomy] = this.taxonomy, secureThumbnail: Option[String] = this.secureThumbnail, expiry: Option[Expiry] = this.expiry, rights: Option[Rights] = this.rights, thumbnailImage: Option[Image] = this.thumbnailImage, atomIds: Option[Seq[AtomID]] = this.atomIds, isHosted: Boolean = this.isHosted, originatingSystem: Option[String] = this.originatingSystem, aliases: Option[Seq[Alias]] = this.aliases, channels: Option[Seq[Channel]] = this.channels, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Content

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

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

    Permalink
    Definition Classes
    Content → Equals → AnyRef → Any
  36. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  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.

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

    Permalink

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

  39. def hashCode(): Int

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  44. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  47. def productPrefix: String

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

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

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

    Permalink
    Definition Classes
    Content → AnyRef → Any
  51. def unsetAliases: Content

    Permalink
  52. def unsetAtomIds: Content

    Permalink
  53. def unsetBlocks: Content

    Permalink
  54. def unsetChannels: Content

    Permalink
  55. def unsetCollaborators: Content

    Permalink
  56. def unsetContentChangeDetails: Content

    Permalink
  57. def unsetExpiry: Content

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

  59. def unsetFields: Content

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

  61. def unsetIdentifiers: Content

    Permalink
  62. def unsetIsExpired: Content

    Permalink
  63. def unsetIsGone: Content

    Permalink
  64. def unsetIsHosted: Content

    Permalink
  65. def unsetMainBlock: Content

    Permalink
  66. def unsetOriginatingSystem: Content

    Permalink
  67. def unsetPublished: Content

    Permalink
  68. def unsetRights: Content

    Permalink
  69. def unsetScheduledLaunchDate: Content

    Permalink
  70. def unsetSecureThumbnail: Content

    Permalink
  71. def unsetSettings: Content

    Permalink
  72. def unsetTaxonomy: Content

    Permalink
  73. def unsetThumbnail: Content

    Permalink
  74. def unsetThumbnailImage: Content

    Permalink
  75. def unsetType: Content

    Permalink
  76. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(): Unit

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

    Permalink
    Definition Classes
    Content → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from ValidatingThriftStruct[Content]

Inherited from HasThriftStructCodec3[Content]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped