Class/Object

com.gu.contentatom.thrift.atom.recipe.RecipeAtom

Immutable

Related Docs: object Immutable | package RecipeAtom

Permalink

class Immutable extends RecipeAtom

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

Linear Supertypes
RecipeAtom, Serializable, ValidatingThriftStruct[RecipeAtom], HasThriftStructCodec3[RecipeAtom], Product9[String, Tags, Time, Option[Serves], Seq[IngredientsList], Seq[String], Seq[String], Seq[Image], Option[String]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. RecipeAtom
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product9
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(title: String, tags: Tags, time: Time, serves: Option[Serves] = _root_.scala.None, ingredientsLists: Seq[IngredientsList] = ..., steps: Seq[String] = ..., credits: Seq[String] = ..., images: Seq[Image] = ..., sourceArticleId: Option[String] = _root_.scala.None)

    Permalink
  2. new Immutable(title: String, tags: Tags, time: Time, serves: Option[Serves], ingredientsLists: Seq[IngredientsList], steps: Seq[String], credits: Seq[String], images: Seq[Image], sourceArticleId: 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: String

    Permalink
    Definition Classes
    RecipeAtom → Product9
  5. def _2: Tags

    Permalink
    Definition Classes
    RecipeAtom → Product9
  6. def _3: Time

    Permalink
    Definition Classes
    RecipeAtom → Product9
  7. def _4: Option[Serves]

    Permalink
    Definition Classes
    RecipeAtom → Product9
  8. def _5: Seq[IngredientsList]

    Permalink
    Definition Classes
    RecipeAtom → Product9
  9. def _6: Seq[String]

    Permalink
    Definition Classes
    RecipeAtom → Product9
  10. def _7: Seq[String]

    Permalink
    Definition Classes
    RecipeAtom → Product9
  11. def _8: Seq[Image]

    Permalink
    Definition Classes
    RecipeAtom → Product9
  12. def _9: Option[String]

    Permalink
    Definition Classes
    RecipeAtom → Product9
  13. def _codec: ValidatingThriftStructCodec3[RecipeAtom]

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

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  15. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    RecipeAtom → Equals
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def copy(title: String = this.title, tags: Tags = this.tags, time: Time = this.time, serves: Option[Serves] = this.serves, ingredientsLists: Seq[IngredientsList] = this.ingredientsLists, steps: Seq[String] = this.steps, credits: Seq[String] = this.credits, images: Seq[Image] = this.images, sourceArticleId: Option[String] = this.sourceArticleId, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  19. val credits: Seq[String]

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    RecipeAtom → 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.

    Definition Classes
    RecipeAtom
  25. 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
    RecipeAtom
  26. def hashCode(): Int

    Permalink
    Definition Classes
    RecipeAtom → AnyRef → Any
  27. val images: Seq[Image]

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  28. val ingredientsLists: Seq[IngredientsList]

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  29. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  31. def newBuilder(): StructBuilder[RecipeAtom]

    Permalink
    Definition Classes
    RecipeAtom
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. def productArity: Int

    Permalink
    Definition Classes
    Product9 → Product
  35. def productElement(n: Int): Any

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

    Permalink
    Definition Classes
    Product
  37. def productPrefix: String

    Permalink
    Definition Classes
    RecipeAtom → Product
  38. val serves: Option[Serves]

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  39. def setField(_blob: TFieldBlob): RecipeAtom

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

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  41. val steps: Seq[String]

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. val tags: Tags

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  44. val time: Time

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  45. val title: String

    Permalink
    Definition Classes
    ImmutableRecipeAtom
  46. def toString(): String

    Permalink
    Definition Classes
    RecipeAtom → AnyRef → Any
  47. def toTuple: (String, Tags, Time, Option[Serves], Seq[IngredientsList], Seq[String], Seq[String], Seq[Image], Option[String])

    Permalink
    Definition Classes
    RecipeAtom
  48. def unsetCredits: RecipeAtom

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

    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
    RecipeAtom
  50. def unsetImages: RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  51. def unsetIngredientsLists: RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  52. def unsetServes: RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  53. def unsetSourceArticleId: RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  54. def unsetSteps: RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  55. def unsetTags: RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  56. def unsetTime: RecipeAtom

    Permalink
    Definition Classes
    RecipeAtom
  57. def unsetTitle: RecipeAtom

    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
    RecipeAtom
  58. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    RecipeAtom → ThriftStruct

Inherited from RecipeAtom

Inherited from Serializable

Inherited from ValidatingThriftStruct[RecipeAtom]

Inherited from HasThriftStructCodec3[RecipeAtom]

Inherited from Product9[String, Tags, Time, Option[Serves], Seq[IngredientsList], Seq[String], Seq[String], Seq[Image], Option[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped