Class/Object

com.gu.contentapi.client.model.v1.WitnessElementFields

Immutable

Related Docs: object Immutable | package WitnessElementFields

Permalink

class Immutable extends WitnessElementFields

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

Linear Supertypes
WitnessElementFields, Serializable, HasThriftStructCodec3[WitnessElementFields], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. WitnessElementFields
  3. Serializable
  4. HasThriftStructCodec3
  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(url: Option[String] = _root_.scala.None, originalUrl: Option[String] = _root_.scala.None, witnessEmbedType: Option[String] = _root_.scala.None, mediaId: Option[String] = _root_.scala.None, source: Option[String] = _root_.scala.None, title: Option[String] = _root_.scala.None, description: Option[String] = _root_.scala.None, authorName: Option[String] = _root_.scala.None, authorUsername: Option[String] = _root_.scala.None, authorWitnessProfileUrl: Option[String] = _root_.scala.None, authorGuardianProfileUrl: Option[String] = _root_.scala.None, caption: Option[String] = _root_.scala.None, alt: Option[String] = _root_.scala.None, width: Option[Int] = _root_.scala.None, height: Option[Int] = _root_.scala.None, html: Option[String] = _root_.scala.None, apiUrl: Option[String] = _root_.scala.None, photographer: Option[String] = _root_.scala.None, dateCreated: Option[CapiDateTime] = _root_.scala.None, youtubeUrl: Option[String] = _root_.scala.None, youtubeSource: Option[String] = _root_.scala.None, youtubeTitle: Option[String] = _root_.scala.None, youtubeDescription: Option[String] = _root_.scala.None, youtubeAuthorName: Option[String] = _root_.scala.None, youtubeHtml: Option[String] = _root_.scala.None, role: Option[String] = _root_.scala.None)

    Permalink
  2. new Immutable(url: Option[String], originalUrl: Option[String], witnessEmbedType: Option[String], mediaId: Option[String], source: Option[String], title: Option[String], description: Option[String], authorName: Option[String], authorUsername: Option[String], authorWitnessProfileUrl: Option[String], authorGuardianProfileUrl: Option[String], caption: Option[String], alt: Option[String], width: Option[Int], height: Option[Int], html: Option[String], apiUrl: Option[String], photographer: Option[String], dateCreated: Option[CapiDateTime], youtubeUrl: Option[String], youtubeSource: Option[String], youtubeTitle: Option[String], youtubeDescription: Option[String], youtubeAuthorName: Option[String], youtubeHtml: Option[String], role: 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: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  5. def _10: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  6. def _11: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  7. def _12: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  8. def _13: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  9. def _14: Option[Int]

    Permalink
    Definition Classes
    WitnessElementFields
  10. def _15: Option[Int]

    Permalink
    Definition Classes
    WitnessElementFields
  11. def _16: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  12. def _17: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  13. def _18: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  14. def _19: Option[CapiDateTime]

    Permalink
    Definition Classes
    WitnessElementFields
  15. def _2: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  16. def _20: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  17. def _21: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  18. def _22: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  19. def _23: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  20. def _24: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  21. def _25: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  22. def _26: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  23. def _3: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  24. def _4: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  25. def _5: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  26. def _6: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  27. def _7: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  28. def _8: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  29. def _9: Option[String]

    Permalink
    Definition Classes
    WitnessElementFields
  30. def _codec: ThriftStructCodec3[WitnessElementFields]

    Permalink
    Definition Classes
    WitnessElementFields → HasThriftStructCodec3
  31. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  32. val alt: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  33. val apiUrl: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  34. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  35. val authorGuardianProfileUrl: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  36. val authorName: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  37. val authorUsername: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  38. val authorWitnessProfileUrl: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  39. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    WitnessElementFields → Equals
  40. val caption: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  41. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def copy(url: Option[String] = this.url, originalUrl: Option[String] = this.originalUrl, witnessEmbedType: Option[String] = this.witnessEmbedType, mediaId: Option[String] = this.mediaId, source: Option[String] = this.source, title: Option[String] = this.title, description: Option[String] = this.description, authorName: Option[String] = this.authorName, authorUsername: Option[String] = this.authorUsername, authorWitnessProfileUrl: Option[String] = this.authorWitnessProfileUrl, authorGuardianProfileUrl: Option[String] = this.authorGuardianProfileUrl, caption: Option[String] = this.caption, alt: Option[String] = this.alt, width: Option[Int] = this.width, height: Option[Int] = this.height, html: Option[String] = this.html, apiUrl: Option[String] = this.apiUrl, photographer: Option[String] = this.photographer, dateCreated: Option[CapiDateTime] = this.dateCreated, youtubeUrl: Option[String] = this.youtubeUrl, youtubeSource: Option[String] = this.youtubeSource, youtubeTitle: Option[String] = this.youtubeTitle, youtubeDescription: Option[String] = this.youtubeDescription, youtubeAuthorName: Option[String] = this.youtubeAuthorName, youtubeHtml: Option[String] = this.youtubeHtml, role: Option[String] = this.role, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  43. val dateCreated: Option[CapiDateTime]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  44. val description: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  45. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    WitnessElementFields → Equals → AnyRef → Any
  47. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  49. 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
    WitnessElementFields
  50. 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
    WitnessElementFields
  51. def hashCode(): Int

    Permalink
    Definition Classes
    WitnessElementFields → AnyRef → Any
  52. val height: Option[Int]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  53. val html: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  54. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  55. val mediaId: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  56. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  59. val originalUrl: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  60. val photographer: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  61. def productArity: Int

    Permalink
    Definition Classes
    WitnessElementFields → Product
  62. def productElement(n: Int): Any

    Permalink
    Definition Classes
    WitnessElementFields → Product
  63. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  64. def productPrefix: String

    Permalink
    Definition Classes
    WitnessElementFields → Product
  65. val role: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  66. def setField(_blob: TFieldBlob): WitnessElementFields

    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
    WitnessElementFields
  67. val source: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  69. val title: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  70. def toString(): String

    Permalink
    Definition Classes
    WitnessElementFields → AnyRef → Any
  71. def unsetAlt: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  72. def unsetApiUrl: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  73. def unsetAuthorGuardianProfileUrl: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  74. def unsetAuthorName: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  75. def unsetAuthorUsername: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  76. def unsetAuthorWitnessProfileUrl: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  77. def unsetCaption: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  78. def unsetDateCreated: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  79. def unsetDescription: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  80. def unsetField(_fieldId: Short): WitnessElementFields

    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
    WitnessElementFields
  81. def unsetHeight: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  82. def unsetHtml: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  83. def unsetMediaId: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  84. def unsetOriginalUrl: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  85. def unsetPhotographer: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  86. def unsetRole: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  87. def unsetSource: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  88. def unsetTitle: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  89. def unsetUrl: WitnessElementFields

    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
    WitnessElementFields
  90. def unsetWidth: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  91. def unsetWitnessEmbedType: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  92. def unsetYoutubeAuthorName: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  93. def unsetYoutubeDescription: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  94. def unsetYoutubeHtml: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  95. def unsetYoutubeSource: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  96. def unsetYoutubeTitle: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  97. def unsetYoutubeUrl: WitnessElementFields

    Permalink
    Definition Classes
    WitnessElementFields
  98. val url: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  99. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  103. val witnessEmbedType: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  104. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    WitnessElementFields → ThriftStruct
  105. val youtubeAuthorName: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  106. val youtubeDescription: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  107. val youtubeHtml: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  108. val youtubeSource: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  109. val youtubeTitle: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields
  110. val youtubeUrl: Option[String]

    Permalink
    Definition Classes
    ImmutableWitnessElementFields

Inherited from WitnessElementFields

Inherited from Serializable

Inherited from HasThriftStructCodec3[WitnessElementFields]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped