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], 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. HasThriftStructCodec3
  5. Product11
  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)

    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. def _codec: ThriftStructCodec3[MediaAtom]

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. 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
  24. val description: Option[String]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ImmutableMediaAtom
  41. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  44. def productPrefix: String

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

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

    Permalink
    Definition Classes
    AnyRef
  48. val title: String

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

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

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

    Permalink
    Definition Classes
    MediaAtom
  53. def unsetDescription: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  54. def unsetDuration: MediaAtom

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

    Permalink
    Definition Classes
    MediaAtom
  57. def unsetPlutoProjectId: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  58. def unsetPosterImage: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  59. def unsetPosterUrl: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  60. def unsetSource: MediaAtom

    Permalink
    Definition Classes
    MediaAtom
  61. def unsetTitle: MediaAtom

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

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

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

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

    Permalink
    Definition Classes
    MediaAtom → ThriftStruct

Inherited from MediaAtom

Inherited from Serializable

Inherited from HasThriftStructCodec3[MediaAtom]

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