Object/Trait

com.gu.flexiblecontent.model.thrift

Asset

Related Docs: trait Asset | package thrift

Permalink

object Asset extends ValidatingThriftStructCodec3[Asset] with Serializable

An Asset represents an asset file and relevant metadata.

An image or video will have multiple Assets representing different crops, scalings or qualities. The consumer can pick the appropriate Asset to render for their usage and client device size etc.

Linear Supertypes
Serializable, Serializable, ValidatingThriftStructCodec3[Asset], ThriftStructCodec3[Asset], ThriftStructCodec[Asset], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Asset
  2. Serializable
  3. Serializable
  4. ValidatingThriftStructCodec3
  5. ThriftStructCodec3
  6. ThriftStructCodec
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Asset

    Permalink

    The default read-only implementation of 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.

  2. trait Proxy extends Asset

    Permalink

    This Proxy trait allows you to extend the Asset trait with additional state or behavior and implement the read-only methods from Asset using an underlying instance.

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. val AssetTypeField: TField

    Permalink
  5. val AssetTypeFieldI32: TField

    Permalink
  6. val AssetTypeFieldManifest: Manifest[AssetType]

    Permalink
  7. val FieldsField: TField

    Permalink
  8. val FieldsFieldManifest: Manifest[AssetFields]

    Permalink
  9. object Immutable extends ThriftStructCodec3[Asset] with Serializable

    Permalink
  10. val MimeTypeField: TField

    Permalink
  11. val MimeTypeFieldManifest: Manifest[String]

    Permalink
  12. val NoPassthroughFields: Map[Short, TFieldBlob]

    Permalink
  13. val Struct: TStruct

    Permalink
  14. val UrlField: TField

    Permalink
  15. val UrlFieldManifest: Manifest[String]

    Permalink
  16. def apply(assetType: AssetType, mimeType: String, url: String, fields: Option[AssetFields] = _root_.scala.None): Asset

    Permalink
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  19. def decode(_iprot: TProtocol): Asset

    Permalink
    Definition Classes
    Asset → ThriftStructCodec
  20. def encode(_item: Asset, _oproto: TProtocol): Unit

    Permalink
    Definition Classes
    Asset → ThriftStructCodec
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Permalink

    Field information in declaration order.

  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. lazy val metaData: ThriftStructMetaData[Asset]

    Permalink
    Definition Classes
    ThriftStructCodec
  28. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. lazy val structAnnotations: Map[String, String]

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def ttypeToString(byte: Byte): String

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  35. def unapply(_item: Asset): Option[(AssetType, String, String, Option[AssetFields])]

    Permalink
  36. def validate(_item: Asset): Unit

    Permalink

    Checks that all required fields are non-null.

  37. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]

    Permalink
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  38. def validateNewInstance(item: Asset): Seq[Issue]

    Permalink

    Checks that the struct is a valid as a new instance.

    Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.

    Definition Classes
    Asset → ValidatingThriftStructCodec3
  39. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def withoutPassthroughFields(original: Asset): Asset

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from ValidatingThriftStructCodec3[Asset]

Inherited from ThriftStructCodec3[Asset]

Inherited from ThriftStructCodec[Asset]

Inherited from AnyRef

Inherited from Any

Ungrouped