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, Product11[Seq[Asset], Option[Long], String, Category, Option[String], Option[Long], Option[String], Option[String], Option[String], Option[Metadata], Option[Image]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. MediaAtom
  3. Serializable
  4. Product11
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. 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)

    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], _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 → Product11
  5. def _10: Option[Metadata]

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

    Permalink
    Definition Classes
    MediaAtom → Product11
  7. def _2: Option[Long]

    Permalink
    Definition Classes
    MediaAtom → Product11
  8. def _3: String

    Permalink
    Definition Classes
    MediaAtom → Product11
  9. def _4: Category

    Permalink
    Definition Classes
    MediaAtom → Product11
  10. def _5: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product11
  11. def _6: Option[Long]

    Permalink
    Definition Classes
    MediaAtom → Product11
  12. def _7: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product11
  13. def _8: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product11
  14. def _9: Option[String]

    Permalink
    Definition Classes
    MediaAtom → Product11
  15. val _passthroughFields: Map[Short, TFieldBlob]

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MediaAtom → Equals → AnyRef → Any
  27. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. 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
  30. 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
  31. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  33. val metadata: Option[Metadata]

    Permalink
    Definition Classes
    ImmutableMediaAtom
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  37. val plutoProjectId: Option[String]

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

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

    Permalink
    Definition Classes
    ImmutableMediaAtom
  40. def productArity: Int

    Permalink
    Definition Classes
    MediaAtom → Product11 → Product
  41. def productElement(n: Int): Any

    Permalink
    Definition Classes
    MediaAtom → Product11 → Product
  42. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  43. def productPrefix: String

    Permalink
    Definition Classes
    MediaAtom → Product
  44. 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
  45. val source: Option[String]

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

    Permalink
    Definition Classes
    AnyRef
  47. val title: String

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

    Permalink
    Definition Classes
    MediaAtom → AnyRef → Any
  49. def unsetActiveVersion: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  50. 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
  51. def unsetCategory: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  52. def unsetDescription: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  53. def unsetDuration: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  54. 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
  55. def unsetMetadata: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  56. def unsetPlutoProjectId: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  57. def unsetPosterImage: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  58. def unsetPosterUrl: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  59. def unsetSource: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  60. def unsetTitle: MediaAtom

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

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

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

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

    Permalink
    Definition Classes
    MediaAtom → ThriftStruct

Inherited from MediaAtom

Inherited from Serializable

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

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped