Class/Object

com.gu.flexiblecontent.model.thrift.AssetFields

Immutable

Related Docs: object Immutable | package AssetFields

Permalink

class Immutable extends AssetFields

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

Linear Supertypes
AssetFields, Serializable, ValidatingThriftStruct[AssetFields], HasThriftStructCodec3[AssetFields], Product15[Option[String], Option[String], Option[Boolean], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[String], Option[Int], Option[Boolean], Option[Long]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. AssetFields
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product15
  7. Product
  8. Equals
  9. ThriftStruct
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(aspectRatio: Option[String] = _root_.scala.None, guardianAltText: Option[String] = _root_.scala.None, guardianBlockAds: Option[Boolean] = _root_.scala.None, guardianCaption: Option[String] = _root_.scala.None, guardianCredit: Option[String] = _root_.scala.None, guardianEmbeddable: Option[String] = _root_.scala.None, guardianPhotographer: Option[String] = _root_.scala.None, guardianSource: Option[String] = _root_.scala.None, guardianStillImageUrl: Option[String] = _root_.scala.None, height: Option[Int] = _root_.scala.None, name: Option[String] = _root_.scala.None, secureFile: Option[String] = _root_.scala.None, width: Option[Int] = _root_.scala.None, isMaster: Option[Boolean] = _root_.scala.None, sizeInBytes: Option[Long] = _root_.scala.None)

    Permalink
  2. new Immutable(aspectRatio: Option[String], guardianAltText: Option[String], guardianBlockAds: Option[Boolean], guardianCaption: Option[String], guardianCredit: Option[String], guardianEmbeddable: Option[String], guardianPhotographer: Option[String], guardianSource: Option[String], guardianStillImageUrl: Option[String], height: Option[Int], name: Option[String], secureFile: Option[String], width: Option[Int], isMaster: Option[Boolean], sizeInBytes: Option[Long], _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: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  5. def _10: Option[Int]

    Permalink
    Definition Classes
    AssetFields → Product15
  6. def _11: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  7. def _12: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  8. def _13: Option[Int]

    Permalink
    Definition Classes
    AssetFields → Product15
  9. def _14: Option[Boolean]

    Permalink
    Definition Classes
    AssetFields → Product15
  10. def _15: Option[Long]

    Permalink
    Definition Classes
    AssetFields → Product15
  11. def _2: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  12. def _3: Option[Boolean]

    Permalink
    Definition Classes
    AssetFields → Product15
  13. def _4: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  14. def _5: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  15. def _6: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  16. def _7: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  17. def _8: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  18. def _9: Option[String]

    Permalink
    Definition Classes
    AssetFields → Product15
  19. def _codec: ValidatingThriftStructCodec3[AssetFields]

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

    Permalink
    Definition Classes
    ImmutableAssetFields
  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. val aspectRatio: Option[String]

    Permalink

    The aspect ratio of the asset

    The aspect ratio of the asset

    Definition Classes
    ImmutableAssetFields
  23. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    AssetFields → Equals
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def copy(aspectRatio: Option[String] = this.aspectRatio, guardianAltText: Option[String] = this.guardianAltText, guardianBlockAds: Option[Boolean] = this.guardianBlockAds, guardianCaption: Option[String] = this.guardianCaption, guardianCredit: Option[String] = this.guardianCredit, guardianEmbeddable: Option[String] = this.guardianEmbeddable, guardianPhotographer: Option[String] = this.guardianPhotographer, guardianSource: Option[String] = this.guardianSource, guardianStillImageUrl: Option[String] = this.guardianStillImageUrl, height: Option[Int] = this.height, name: Option[String] = this.name, secureFile: Option[String] = this.secureFile, width: Option[Int] = this.width, isMaster: Option[Boolean] = this.isMaster, sizeInBytes: Option[Long] = this.sizeInBytes, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): AssetFields

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

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

    Permalink
    Definition Classes
    AssetFields → 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
    AssetFields
  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
    AssetFields
  32. val guardianAltText: Option[String]

    Permalink

    Alt text

    Alt text

    Definition Classes
    ImmutableAssetFields
  33. val guardianBlockAds: Option[Boolean]

    Permalink

    Turns off inline adverts in a guardian video

    Turns off inline adverts in a guardian video

    Definition Classes
    ImmutableAssetFields
  34. val guardianCaption: Option[String]

    Permalink

    The caption

    The caption

    Definition Classes
    ImmutableAssetFields
  35. val guardianCredit: Option[String]

    Permalink

    The credit to be shown with the asset

    The credit to be shown with the asset

    Definition Classes
    ImmutableAssetFields
  36. val guardianEmbeddable: Option[String]

    Permalink

    The embed code for the Asset (used for video)

    The embed code for the Asset (used for video)

    Definition Classes
    ImmutableAssetFields
  37. val guardianPhotographer: Option[String]

    Permalink

    The photographer

    The photographer

    Definition Classes
    ImmutableAssetFields
  38. val guardianSource: Option[String]

    Permalink

    The source

    The source

    Definition Classes
    ImmutableAssetFields
  39. val guardianStillImageUrl: Option[String]

    Permalink

    The still image used to represent a video

    The still image used to represent a video

    Definition Classes
    ImmutableAssetFields
  40. def hashCode(): Int

    Permalink
    Definition Classes
    AssetFields → AnyRef → Any
  41. val height: Option[Int]

    Permalink

    The height of the asset

    The height of the asset

    Definition Classes
    ImmutableAssetFields
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. val isMaster: Option[Boolean]

    Permalink

    Is this image a master asset?

    Is this image a master asset?

    Definition Classes
    ImmutableAssetFields
  44. val name: Option[String]

    Permalink

    The name of this usage of the asset (e.g thumbnail)

    The name of this usage of the asset (e.g thumbnail)

    Definition Classes
    ImmutableAssetFields
  45. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  48. def productArity: Int

    Permalink
    Definition Classes
    AssetFields → Product15 → Product
  49. def productElement(n: Int): Any

    Permalink
    Definition Classes
    AssetFields → Product15 → Product
  50. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  51. def productPrefix: String

    Permalink
    Definition Classes
    AssetFields → Product
  52. val secureFile: Option[String]

    Permalink

    The https url for the asset

    The https url for the asset

    Definition Classes
    ImmutableAssetFields
  53. def setField(_blob: TFieldBlob): AssetFields

    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
    AssetFields
  54. val sizeInBytes: Option[Long]

    Permalink

    Will be present on audio assets.

    Will be present on audio assets.

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

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

    Permalink
    Definition Classes
    AssetFields → AnyRef → Any
  57. def toTuple: (Option[String], Option[String], Option[Boolean], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[String], Option[Int], Option[Boolean], Option[Long])

    Permalink
    Definition Classes
    AssetFields
  58. def unsetAspectRatio: AssetFields

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

    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
    AssetFields
  60. def unsetGuardianAltText: AssetFields

    Permalink
    Definition Classes
    AssetFields
  61. def unsetGuardianBlockAds: AssetFields

    Permalink
    Definition Classes
    AssetFields
  62. def unsetGuardianCaption: AssetFields

    Permalink
    Definition Classes
    AssetFields
  63. def unsetGuardianCredit: AssetFields

    Permalink
    Definition Classes
    AssetFields
  64. def unsetGuardianEmbeddable: AssetFields

    Permalink
    Definition Classes
    AssetFields
  65. def unsetGuardianPhotographer: AssetFields

    Permalink
    Definition Classes
    AssetFields
  66. def unsetGuardianSource: AssetFields

    Permalink
    Definition Classes
    AssetFields
  67. def unsetGuardianStillImageUrl: AssetFields

    Permalink
    Definition Classes
    AssetFields
  68. def unsetHeight: AssetFields

    Permalink
    Definition Classes
    AssetFields
  69. def unsetIsMaster: AssetFields

    Permalink
    Definition Classes
    AssetFields
  70. def unsetName: AssetFields

    Permalink
    Definition Classes
    AssetFields
  71. def unsetSecureFile: AssetFields

    Permalink
    Definition Classes
    AssetFields
  72. def unsetSizeInBytes: AssetFields

    Permalink
    Definition Classes
    AssetFields
  73. def unsetWidth: AssetFields

    Permalink
    Definition Classes
    AssetFields
  74. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. val width: Option[Int]

    Permalink

    The width of the asset

    The width of the asset

    Definition Classes
    ImmutableAssetFields
  78. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    AssetFields → ThriftStruct

Inherited from AssetFields

Inherited from Serializable

Inherited from ValidatingThriftStruct[AssetFields]

Inherited from HasThriftStructCodec3[AssetFields]

Inherited from Product15[Option[String], Option[String], Option[Boolean], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[String], Option[Int], Option[Boolean], Option[Long]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped