com.gu.contentapi.client.model.v1

Element

trait Element extends ThriftStruct with Product5[String, String, ElementType, Option[Int], Seq[Asset]] with Serializable

Linear Supertypes
Serializable, Product5[String, String, ElementType, Option[Int], Seq[Asset]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Element
  2. Serializable
  3. Product5
  4. Product
  5. Equals
  6. ThriftStruct
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def assets: Seq[Asset]

  2. abstract def galleryIndex: Option[Int]

  3. abstract def id: String

  4. abstract def relation: String

  5. abstract def type: ElementType

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _1: String

    Definition Classes
    Element → Product5
  7. def _2: String

    Definition Classes
    Element → Product5
  8. def _3: ElementType

    Definition Classes
    Element → Product5
  9. def _4: Option[Int]

    Definition Classes
    Element → Product5
  10. def _5: Seq[Asset]

    Definition Classes
    Element → Product5
  11. def _passthroughFields: Map[Short, TFieldBlob]

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def canEqual(other: Any): Boolean

    Definition Classes
    Element → Equals
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def copy(id: String = this.id, relation: String = this.relation, type: ElementType = this.`type`, galleryIndex: Option[Int] = this.galleryIndex, assets: Seq[Asset] = this.assets, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Element

  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    Element → Equals → AnyRef → Any
  18. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  20. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    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 returend. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

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

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

  22. def hashCode(): Int

    Definition Classes
    Element → AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def productArity: Int

    Definition Classes
    Element → Product5 → Product
  28. def productElement(n: Int): Any

    Definition Classes
    Element → Product5 → Product
  29. def productIterator: Iterator[Any]

    Definition Classes
    Product
  30. def productPrefix: String

    Definition Classes
    Element → Product
  31. def setField(_blob: TFieldBlob): Element

    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.

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

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    Element → AnyRef → Any
  34. def unsetAssets: Element

  35. def unsetField(_fieldId: Short): Element

    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 subtracked from the passthroughFields map, if present.

  36. def unsetGalleryIndex: Element

  37. def unsetId: Element

    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 subtracked from the passthroughFields map, if present.

  38. def unsetRelation: Element

  39. def unsetType: Element

  40. final def wait(): Unit

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

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

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

    Definition Classes
    Element → ThriftStruct

Inherited from Serializable

Inherited from Product5[String, String, ElementType, Option[Int], Seq[Asset]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped