Class/Object

com.gu.contentatom.thrift.atom.media.Asset

Immutable

Related Docs: object Immutable | package Asset

Permalink

class Immutable extends Asset

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

Linear Supertypes
Asset, Serializable, ValidatingThriftStruct[Asset], HasThriftStructCodec3[Asset], Product5[AssetType, Long, String, Platform, Option[String]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Asset
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product5
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(assetType: AssetType, version: Long, id: String, platform: Platform, mimeType: Option[String] = _root_.scala.None)

    Permalink
  2. new Immutable(assetType: AssetType, version: Long, id: String, platform: Platform, mimeType: Option[String], _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: AssetType

    Permalink
    Definition Classes
    Asset → Product5
  5. def _2: Long

    Permalink
    Definition Classes
    Asset → Product5
  6. def _3: String

    Permalink
    Definition Classes
    Asset → Product5
  7. def _4: Platform

    Permalink
    Definition Classes
    Asset → Product5
  8. def _5: Option[String]

    Permalink
    Definition Classes
    Asset → Product5
  9. def _codec: ValidatingThriftStructCodec3[Asset]

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

    Permalink
    Definition Classes
    ImmutableAsset
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. val assetType: AssetType

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

    Permalink
    Definition Classes
    Asset → Equals
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def copy(assetType: AssetType = this.assetType, version: Long = this.version, id: String = this.id, platform: Platform = this.platform, mimeType: Option[String] = this.mimeType, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Asset

    Permalink
    Definition Classes
    Asset
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Asset → Equals → AnyRef → Any
  18. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. 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
    Asset
  21. 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
    Asset
  22. def hashCode(): Int

    Permalink
    Definition Classes
    Asset → AnyRef → Any
  23. val id: String

    Permalink
    Definition Classes
    ImmutableAsset
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. val mimeType: Option[String]

    Permalink
    Definition Classes
    ImmutableAsset
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def newBuilder(): StructBuilder[Asset]

    Permalink
    Definition Classes
    Asset
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. val platform: Platform

    Permalink
    Definition Classes
    ImmutableAsset
  31. def productArity: Int

    Permalink
    Definition Classes
    Product5 → Product
  32. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product5 → Product
    Annotations
    @throws( ... )
  33. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  34. def productPrefix: String

    Permalink
    Definition Classes
    Asset → Product
  35. def setField(_blob: TFieldBlob): Asset

    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
    Asset
  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Asset → AnyRef → Any
  38. def toTuple: (AssetType, Long, String, Platform, Option[String])

    Permalink
    Definition Classes
    Asset
  39. def unsetAssetType: Asset

    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
    Asset
  40. def unsetField(_fieldId: Short): Asset

    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
    Asset
  41. def unsetId: Asset

    Permalink
    Definition Classes
    Asset
  42. def unsetMimeType: Asset

    Permalink
    Definition Classes
    Asset
  43. def unsetPlatform: Asset

    Permalink
    Definition Classes
    Asset
  44. def unsetVersion: Asset

    Permalink
    Definition Classes
    Asset
  45. val version: Long

    Permalink
    Definition Classes
    ImmutableAsset
  46. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Asset → ThriftStruct

Inherited from Asset

Inherited from Serializable

Inherited from ValidatingThriftStruct[Asset]

Inherited from HasThriftStructCodec3[Asset]

Inherited from Product5[AssetType, Long, String, Platform, Option[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped