Class/Object

com.gu.contentatom.thrift.atom.review.ReviewAtom

Immutable

Related Docs: object Immutable | package ReviewAtom

Permalink

class Immutable extends ReviewAtom

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

Linear Supertypes
ReviewAtom, Serializable, HasThriftStructCodec3[ReviewAtom], Product10[ReviewType, String, Rating, String, String, Option[Restaurant], Option[Game], Option[Film], Option[String], Option[Seq[Image]]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. ReviewAtom
  3. Serializable
  4. HasThriftStructCodec3
  5. Product10
  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(reviewType: ReviewType, reviewer: String, rating: Rating, reviewSnippet: String, entityId: String, restaurant: Option[Restaurant] = _root_.scala.None, game: Option[Game] = _root_.scala.None, film: Option[Film] = _root_.scala.None, sourceArticleId: Option[String] = _root_.scala.None, images: Option[Seq[Image]] = _root_.scala.None)

    Permalink
  2. new Immutable(reviewType: ReviewType, reviewer: String, rating: Rating, reviewSnippet: String, entityId: String, restaurant: Option[Restaurant], game: Option[Game], film: Option[Film], sourceArticleId: Option[String], images: Option[Seq[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: ReviewType

    Permalink
    Definition Classes
    ReviewAtom → Product10
  5. def _10: Option[Seq[Image]]

    Permalink
    Definition Classes
    ReviewAtom → Product10
  6. def _2: String

    Permalink
    Definition Classes
    ReviewAtom → Product10
  7. def _3: Rating

    Permalink
    Definition Classes
    ReviewAtom → Product10
  8. def _4: String

    Permalink
    Definition Classes
    ReviewAtom → Product10
  9. def _5: String

    Permalink
    Definition Classes
    ReviewAtom → Product10
  10. def _6: Option[Restaurant]

    Permalink
    Definition Classes
    ReviewAtom → Product10
  11. def _7: Option[Game]

    Permalink
    Definition Classes
    ReviewAtom → Product10
  12. def _8: Option[Film]

    Permalink
    Definition Classes
    ReviewAtom → Product10
  13. def _9: Option[String]

    Permalink
    Definition Classes
    ReviewAtom → Product10
  14. def _codec: ThriftStructCodec3[ReviewAtom]

    Permalink
    Definition Classes
    ReviewAtom → HasThriftStructCodec3
  15. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableReviewAtom
  16. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    ReviewAtom → Equals
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def copy(reviewType: ReviewType = this.reviewType, reviewer: String = this.reviewer, rating: Rating = this.rating, reviewSnippet: String = this.reviewSnippet, entityId: String = this.entityId, restaurant: Option[Restaurant] = this.restaurant, game: Option[Game] = this.game, film: Option[Film] = this.film, sourceArticleId: Option[String] = this.sourceArticleId, images: Option[Seq[Image]] = this.images, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  20. val entityId: String

    Permalink
    Definition Classes
    ImmutableReviewAtom
  21. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    ReviewAtom → Equals → AnyRef → Any
  23. val film: Option[Film]

    Permalink
    Definition Classes
    ImmutableReviewAtom
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. val game: Option[Game]

    Permalink
    Definition Classes
    ImmutableReviewAtom
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. 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
    ReviewAtom
  28. 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
    ReviewAtom
  29. def hashCode(): Int

    Permalink
    Definition Classes
    ReviewAtom → AnyRef → Any
  30. val images: Option[Seq[Image]]

    Permalink
    Definition Classes
    ImmutableReviewAtom
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def productArity: Int

    Permalink
    Definition Classes
    ReviewAtom → Product10 → Product
  36. def productElement(n: Int): Any

    Permalink
    Definition Classes
    ReviewAtom → Product10 → Product
  37. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  38. def productPrefix: String

    Permalink
    Definition Classes
    ReviewAtom → Product
  39. val rating: Rating

    Permalink
    Definition Classes
    ImmutableReviewAtom
  40. val restaurant: Option[Restaurant]

    Permalink
    Definition Classes
    ImmutableReviewAtom
  41. val reviewSnippet: String

    Permalink
    Definition Classes
    ImmutableReviewAtom
  42. val reviewType: ReviewType

    Permalink
    Definition Classes
    ImmutableReviewAtom
  43. val reviewer: String

    Permalink
    Definition Classes
    ImmutableReviewAtom
  44. def setField(_blob: TFieldBlob): ReviewAtom

    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
    ReviewAtom
  45. val sourceArticleId: Option[String]

    Permalink
    Definition Classes
    ImmutableReviewAtom
  46. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    ReviewAtom → AnyRef → Any
  48. def unsetEntityId: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  49. def unsetField(_fieldId: Short): ReviewAtom

    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
    ReviewAtom
  50. def unsetFilm: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  51. def unsetGame: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  52. def unsetImages: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  53. def unsetRating: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  54. def unsetRestaurant: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  55. def unsetReviewSnippet: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  56. def unsetReviewType: ReviewAtom

    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
    ReviewAtom
  57. def unsetReviewer: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  58. def unsetSourceArticleId: ReviewAtom

    Permalink
    Definition Classes
    ReviewAtom
  59. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    ReviewAtom → ThriftStruct

Inherited from ReviewAtom

Inherited from Serializable

Inherited from HasThriftStructCodec3[ReviewAtom]

Inherited from Product10[ReviewType, String, Rating, String, String, Option[Restaurant], Option[Game], Option[Film], Option[String], Option[Seq[Image]]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped