Class/Object

com.gu.contentatom.thrift.atom.media.MediaAtom

Immutable

Related Docs: object Immutable | package MediaAtom

Permalink

class Immutable extends MediaAtom

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

Linear Supertypes
MediaAtom, Serializable, HasThriftStructCodec3[MediaAtom], Product16[Seq[Asset], Option[Long], String, Category, Option[String], Option[Long], Option[String], Option[String], Option[String], Option[Metadata], Option[Image], Option[String], Option[Seq[String]], Option[Seq[String]], Option[Seq[String]], Option[Image]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. MediaAtom
  3. Serializable
  4. HasThriftStructCodec3
  5. Product16
  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(assets: Seq[Asset] = ..., activeVersion: Option[Long] = _root_.scala.None, title: String, category: Category, plutoProjectId: Option[String] = _root_.scala.None, duration: Option[Long] = _root_.scala.None, source: Option[String] = _root_.scala.None, posterUrl: Option[String] = _root_.scala.None, description: Option[String] = _root_.scala.None, metadata: Option[Metadata] = _root_.scala.None, posterImage: Option[Image] = _root_.scala.None, trailText: Option[String] = _root_.scala.None, byline: Option[Seq[String]] = _root_.scala.None, commissioningDesks: Option[Seq[String]] = _root_.scala.None, keywords: Option[Seq[String]] = _root_.scala.None, trailImage: Option[Image] = _root_.scala.None)

    Permalink
  2. new Immutable(assets: Seq[Asset], activeVersion: Option[Long], title: String, category: Category, plutoProjectId: Option[String], duration: Option[Long], source: Option[String], posterUrl: Option[String], description: Option[String], metadata: Option[Metadata], posterImage: Option[Image], trailText: Option[String], byline: Option[Seq[String]], commissioningDesks: Option[Seq[String]], keywords: Option[Seq[String]], trailImage: Option[Image], _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: Seq[Asset]

    Permalink
    Definition Classes
    MediaAtom → Product16
  5. def _10: Option[Metadata]

    Permalink
    Definition Classes
    MediaAtom → Product16
  6. def _11: Option[Image]

    Permalink
    Definition Classes
    MediaAtom → Product16
  7. def _12: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product16
  8. def _13: Option[Seq[String]]

    Permalink
    Definition Classes
    MediaAtom → Product16
  9. def _14: Option[Seq[String]]

    Permalink
    Definition Classes
    MediaAtom → Product16
  10. def _15: Option[Seq[String]]

    Permalink
    Definition Classes
    MediaAtom → Product16
  11. def _16: Option[Image]

    Permalink
    Definition Classes
    MediaAtom → Product16
  12. def _2: Option[Long]

    Permalink
    Definition Classes
    MediaAtom → Product16
  13. def _3: String

    Permalink
    Definition Classes
    MediaAtom → Product16
  14. def _4: Category

    Permalink
    Definition Classes
    MediaAtom → Product16
  15. def _5: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product16
  16. def _6: Option[Long]

    Permalink
    Definition Classes
    MediaAtom → Product16
  17. def _7: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product16
  18. def _8: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product16
  19. def _9: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product16
  20. def _codec: ThriftStructCodec3[MediaAtom]

    Permalink
    Definition Classes
    MediaAtom → HasThriftStructCodec3
  21. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  22. val activeVersion: Option[Long]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. val assets: Seq[Asset]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  25. val byline: Option[Seq[String]]

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

    Permalink
    Definition Classes
    MediaAtom → Equals
  27. val category: Category

    Permalink
    Definition Classes
    ImmutableMediaAtom
  28. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. val commissioningDesks: Option[Seq[String]]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  30. def copy(assets: Seq[Asset] = this.assets, activeVersion: Option[Long] = this.activeVersion, title: String = this.title, category: Category = this.category, plutoProjectId: Option[String] = this.plutoProjectId, duration: Option[Long] = this.duration, source: Option[String] = this.source, posterUrl: Option[String] = this.posterUrl, description: Option[String] = this.description, metadata: Option[Metadata] = this.metadata, posterImage: Option[Image] = this.posterImage, trailText: Option[String] = this.trailText, byline: Option[Seq[String]] = this.byline, commissioningDesks: Option[Seq[String]] = this.commissioningDesks, keywords: Option[Seq[String]] = this.keywords, trailImage: Option[Image] = this.trailImage, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  31. val description: Option[String]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  32. val duration: Option[Long]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  33. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    MediaAtom → Equals → AnyRef → Any
  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
    MediaAtom
  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
    MediaAtom
  39. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  41. val keywords: Option[Seq[String]]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  42. val metadata: Option[Metadata]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  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. val plutoProjectId: Option[String]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  47. val posterImage: Option[Image]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  48. val posterUrl: Option[String]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  49. def productArity: Int

    Permalink
    Definition Classes
    MediaAtom → Product16 → Product
  50. def productElement(n: Int): Any

    Permalink
    Definition Classes
    MediaAtom → Product16 → Product
  51. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  52. def productPrefix: String

    Permalink
    Definition Classes
    MediaAtom → Product
  53. def setField(_blob: TFieldBlob): MediaAtom

    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
    MediaAtom
  54. val source: Option[String]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  56. val title: String

    Permalink
    Definition Classes
    ImmutableMediaAtom
  57. def toString(): String

    Permalink
    Definition Classes
    MediaAtom → AnyRef → Any
  58. def toTuple: (Seq[Asset], Option[Long], String, Category, Option[String], Option[Long], Option[String], Option[String], Option[String], Option[Metadata], Option[Image], Option[String], Option[Seq[String]], Option[Seq[String]], Option[Seq[String]], Option[Image])

    Permalink
    Definition Classes
    MediaAtom
  59. val trailImage: Option[Image]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  60. val trailText: Option[String]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  61. def unsetActiveVersion: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  62. def unsetAssets: MediaAtom

    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
    MediaAtom
  63. def unsetByline: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  64. def unsetCategory: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  65. def unsetCommissioningDesks: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  66. def unsetDescription: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  67. def unsetDuration: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  68. def unsetField(_fieldId: Short): MediaAtom

    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
    MediaAtom
  69. def unsetKeywords: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  70. def unsetMetadata: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  71. def unsetPlutoProjectId: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  72. def unsetPosterImage: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  73. def unsetPosterUrl: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  74. def unsetSource: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  75. def unsetTitle: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  76. def unsetTrailImage: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  77. def unsetTrailText: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  78. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    MediaAtom → ThriftStruct

Inherited from MediaAtom

Inherited from Serializable

Inherited from HasThriftStructCodec3[MediaAtom]

Inherited from Product16[Seq[Asset], Option[Long], String, Category, Option[String], Option[Long], Option[String], Option[String], Option[String], Option[Metadata], Option[Image], Option[String], Option[Seq[String]], Option[Seq[String]], Option[Seq[String]], Option[Image]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped