Trait/Object

com.gu.contentatom.thrift.atom.review

ReviewAtom

Related Docs: object ReviewAtom | package review

Permalink

trait ReviewAtom extends ThriftStruct with Product10[ReviewType, String, Rating, String, String, Option[Restaurant], Option[Game], Option[Film], Option[String], Option[Seq[Image]]] with ValidatingThriftStruct[ReviewAtom] with Serializable

Prefer the companion object's com.gu.contentatom.thrift.atom.review.ReviewAtom.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[ReviewAtom], HasThriftStructCodec3[ReviewAtom], Product10[ReviewType, String, Rating, String, String, Option[Restaurant], Option[Game], Option[Film], Option[String], Option[Seq[Image]]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReviewAtom
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product10
  6. Product
  7. Equals
  8. ThriftStruct
  9. ThriftStructIface
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def entityId: String

    Permalink
  2. abstract def film: Option[Film]

    Permalink
  3. abstract def game: Option[Game]

    Permalink
  4. abstract def images: Option[Seq[Image]]

    Permalink
  5. abstract def rating: Rating

    Permalink
  6. abstract def restaurant: Option[Restaurant]

    Permalink
  7. abstract def reviewSnippet: String

    Permalink
  8. abstract def reviewType: ReviewType

    Permalink
  9. abstract def reviewer: String

    Permalink
  10. abstract def sourceArticleId: Option[String]

    Permalink

Concrete 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: ValidatingThriftStructCodec3[ReviewAtom]

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

    Permalink
  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
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    ReviewAtom → Equals → AnyRef → Any
  22. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. 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.

  25. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

  26. def hashCode(): Int

    Permalink
    Definition Classes
    ReviewAtom → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  29. def newBuilder(): StructBuilder[ReviewAtom]

    Permalink
  30. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  32. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  35. def productPrefix: String

    Permalink
    Definition Classes
    ReviewAtom → Product
  36. 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.

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

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

    Permalink
    Definition Classes
    ReviewAtom → AnyRef → Any
  39. def toTuple: (ReviewType, String, Rating, String, String, Option[Restaurant], Option[Game], Option[Film], Option[String], Option[Seq[Image]])

    Permalink
  40. def unsetEntityId: ReviewAtom

    Permalink
  41. 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.

  42. def unsetFilm: ReviewAtom

    Permalink
  43. def unsetGame: ReviewAtom

    Permalink
  44. def unsetImages: ReviewAtom

    Permalink
  45. def unsetRating: ReviewAtom

    Permalink
  46. def unsetRestaurant: ReviewAtom

    Permalink
  47. def unsetReviewSnippet: ReviewAtom

    Permalink
  48. 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.

  49. def unsetReviewer: ReviewAtom

    Permalink
  50. def unsetSourceArticleId: ReviewAtom

    Permalink
  51. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    ReviewAtom → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[ReviewAtom]

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 ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped