Class/Object

com.gu.flexiblecontent.model.thrift.Content

Immutable

Related Docs: object Immutable | package Content

Permalink

class Immutable extends Content

The default read-only implementation of Content. You typically should not need to directly reference this class; instead, use the Content.apply method to construct new instances.

Linear Supertypes
Content, Serializable, ValidatingThriftStruct[Content], HasThriftStructCodec3[Content], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Content
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(id: String, identifiers: Identifiers, type: ContentType, published: Boolean, isGone: Boolean, isExpired: Boolean, scheduledLaunchDate: Option[Long] = _root_.scala.None, contentChangeDetails: Option[ContentChangeDetails] = _root_.scala.None, mainBlock: Option[Block] = _root_.scala.None, blocks: Option[Seq[Block]] = _root_.scala.None, collaborators: Option[Seq[User]] = _root_.scala.None, thumbnail: Option[String] = _root_.scala.None, fields: Option[ContentFields] = _root_.scala.None, settings: Option[ContentSettings] = _root_.scala.None, taxonomy: Option[Taxonomy] = _root_.scala.None, secureThumbnail: Option[String] = _root_.scala.None, expiry: Option[Expiry] = _root_.scala.None, rights: Option[Rights] = _root_.scala.None, thumbnailImage: Option[Image] = _root_.scala.None, atomIds: Option[Seq[AtomID]] = _root_.scala.None, isHosted: Boolean = false, originatingSystem: Option[String] = _root_.scala.None, aliases: Option[Seq[Alias]] = _root_.scala.None)

    Permalink
  2. new Immutable(id: String, identifiers: Identifiers, type: ContentType, published: Boolean, isGone: Boolean, isExpired: Boolean, scheduledLaunchDate: Option[Long], contentChangeDetails: Option[ContentChangeDetails], mainBlock: Option[Block], blocks: Option[Seq[Block]], collaborators: Option[Seq[User]], thumbnail: Option[String], fields: Option[ContentFields], settings: Option[ContentSettings], taxonomy: Option[Taxonomy], secureThumbnail: Option[String], expiry: Option[Expiry], rights: Option[Rights], thumbnailImage: Option[Image], atomIds: Option[Seq[AtomID]], isHosted: Boolean, originatingSystem: Option[String], aliases: Option[Seq[Alias]], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

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
  5. def _10: Option[Seq[Block]]

    Permalink
    Definition Classes
    Content
  6. def _11: Option[Seq[User]]

    Permalink
    Definition Classes
    Content
  7. def _12: Option[String]

    Permalink
    Definition Classes
    Content
  8. def _13: Option[ContentFields]

    Permalink
    Definition Classes
    Content
  9. def _14: Option[ContentSettings]

    Permalink
    Definition Classes
    Content
  10. def _15: Option[Taxonomy]

    Permalink
    Definition Classes
    Content
  11. def _16: Option[String]

    Permalink
    Definition Classes
    Content
  12. def _17: Option[Expiry]

    Permalink
    Definition Classes
    Content
  13. def _18: Option[Rights]

    Permalink
    Definition Classes
    Content
  14. def _19: Option[Image]

    Permalink
    Definition Classes
    Content
  15. def _2: Identifiers

    Permalink
    Definition Classes
    Content
  16. def _20: Option[Seq[AtomID]]

    Permalink
    Definition Classes
    Content
  17. def _21: Boolean

    Permalink
    Definition Classes
    Content
  18. def _22: Option[String]

    Permalink
    Definition Classes
    Content
  19. def _23: Option[Seq[Alias]]

    Permalink
    Definition Classes
    Content
  20. def _3: ContentType

    Permalink
    Definition Classes
    Content
  21. def _4: Boolean

    Permalink
    Definition Classes
    Content
  22. def _5: Boolean

    Permalink
    Definition Classes
    Content
  23. def _6: Boolean

    Permalink
    Definition Classes
    Content
  24. def _7: Option[Long]

    Permalink
    Definition Classes
    Content
  25. def _8: Option[ContentChangeDetails]

    Permalink
    Definition Classes
    Content
  26. def _9: Option[Block]

    Permalink
    Definition Classes
    Content
  27. def _codec: ValidatingThriftStructCodec3[Content]

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

    Permalink
    Definition Classes
    ImmutableContent
  29. val aliases: Option[Seq[Alias]]

    Permalink

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

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

    Definition Classes
    ImmutableContent
  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. val atomIds: Option[Seq[AtomID]]

    Permalink

    IDs of any atoms that are embedded in this content *

    IDs of any atoms that are embedded in this content *

    Definition Classes
    ImmutableContent
  32. val blocks: Option[Seq[Block]]

    Permalink

    The body block of the content

    The body block of the content

    Definition Classes
    ImmutableContent
  33. def canEqual(other: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. val collaborators: Option[Seq[User]]

    Permalink

    The users who have collaborated on this content

    The users who have collaborated on this content

    Definition Classes
    ImmutableContent
  36. val contentChangeDetails: Option[ContentChangeDetails]

    Permalink

    Audit information about content changes

    Audit information about content changes

    Definition Classes
    ImmutableContent
  37. 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, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Content

    Permalink
    Definition Classes
    Content
  38. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Content → Equals → AnyRef → Any
  40. val expiry: Option[Expiry]

    Permalink

    The expiry details for the content

    The expiry details for the content

    Definition Classes
    ImmutableContent
  41. val fields: Option[ContentFields]

    Permalink

    The fields collection for the content

    The fields collection for the content

    Definition Classes
    ImmutableContent
  42. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. 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
  45. 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
  46. def hashCode(): Int

    Permalink
    Definition Classes
    Content → AnyRef → Any
  47. val id: String

    Permalink

    The content's id

    The content's id

    Definition Classes
    ImmutableContent
  48. val identifiers: Identifiers

    Permalink

    The bundle of ids the content can be referenced by

    The bundle of ids the content can be referenced by

    Definition Classes
    ImmutableContent
  49. val isExpired: Boolean

    Permalink

    Indictes if the content is expired

    Indictes if the content is expired

    Definition Classes
    ImmutableContent
  50. val isGone: Boolean

    Permalink

    Indictes if the content is gone

    Indictes if the content is gone

    Definition Classes
    ImmutableContent
  51. val isHosted: Boolean

    Permalink

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

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

    Definition Classes
    ImmutableContent
  52. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  53. val mainBlock: Option[Block]

    Permalink

    The main medai block of the content

    The main medai block of the content

    Definition Classes
    ImmutableContent
  54. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  57. val originatingSystem: Option[String]

    Permalink

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

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

    Definition Classes
    ImmutableContent
  58. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  61. def productPrefix: String

    Permalink
    Definition Classes
    Content → Product
  62. val published: Boolean

    Permalink

    Indictes if the content is live

    Indictes if the content is live

    Definition Classes
    ImmutableContent
  63. val rights: Option[Rights]

    Permalink

    The rights profile for the content

    The rights profile for the content

    Definition Classes
    ImmutableContent
  64. val scheduledLaunchDate: Option[Long]

    Permalink

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

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

    Definition Classes
    ImmutableContent
  65. val secureThumbnail: Option[String]

    Permalink

    The secureThumbnail url for the content

    The secureThumbnail url for the content

    Definition Classes
    ImmutableContent
  66. 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
  67. val settings: Option[ContentSettings]

    Permalink

    The settings for the content

    The settings for the content

    Definition Classes
    ImmutableContent
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  69. val taxonomy: Option[Taxonomy]

    Permalink

    The taxonomy for the content

    The taxonomy for the content

    Definition Classes
    ImmutableContent
  70. val thumbnail: Option[String]

    Permalink

    The thumbnail url for the content

    The thumbnail url for the content

    Definition Classes
    ImmutableContent
  71. val thumbnailImage: Option[Image]

    Permalink

    Complete information about the thumbnail, including assets etc.

    Complete information about the thumbnail, including assets etc.

    Definition Classes
    ImmutableContent
  72. def toString(): String

    Permalink
    Definition Classes
    Content → AnyRef → Any
  73. val type: ContentType

    Permalink

    The content's type

    The content's type

    Definition Classes
    ImmutableContent
  74. def unsetAliases: Content

    Permalink
    Definition Classes
    Content
  75. def unsetAtomIds: Content

    Permalink
    Definition Classes
    Content
  76. def unsetBlocks: Content

    Permalink
    Definition Classes
    Content
  77. def unsetCollaborators: Content

    Permalink
    Definition Classes
    Content
  78. def unsetContentChangeDetails: Content

    Permalink
    Definition Classes
    Content
  79. def unsetExpiry: Content

    Permalink
    Definition Classes
    Content
  80. 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
  81. def unsetFields: Content

    Permalink
    Definition Classes
    Content
  82. 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
  83. def unsetIdentifiers: Content

    Permalink
    Definition Classes
    Content
  84. def unsetIsExpired: Content

    Permalink
    Definition Classes
    Content
  85. def unsetIsGone: Content

    Permalink
    Definition Classes
    Content
  86. def unsetIsHosted: Content

    Permalink
    Definition Classes
    Content
  87. def unsetMainBlock: Content

    Permalink
    Definition Classes
    Content
  88. def unsetOriginatingSystem: Content

    Permalink
    Definition Classes
    Content
  89. def unsetPublished: Content

    Permalink
    Definition Classes
    Content
  90. def unsetRights: Content

    Permalink
    Definition Classes
    Content
  91. def unsetScheduledLaunchDate: Content

    Permalink
    Definition Classes
    Content
  92. def unsetSecureThumbnail: Content

    Permalink
    Definition Classes
    Content
  93. def unsetSettings: Content

    Permalink
    Definition Classes
    Content
  94. def unsetTaxonomy: Content

    Permalink
    Definition Classes
    Content
  95. def unsetThumbnail: Content

    Permalink
    Definition Classes
    Content
  96. def unsetThumbnailImage: Content

    Permalink
    Definition Classes
    Content
  97. def unsetType: Content

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

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

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

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

    Permalink
    Definition Classes
    Content → ThriftStruct

Inherited from Content

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