Packages

trait ComponentV2 extends ThriftStruct with Product5[ComponentType, Option[String], Set[Product], Option[String], Set[String]] with HasThriftStructCodec3[ComponentV2] with Serializable

Prefer the companion object's ophan.thrift.componentEvent.ComponentV2.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, HasThriftStructCodec3[ComponentV2], Product5[ComponentType, Option[String], Set[Product], Option[String], Set[String]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ComponentV2
  2. Serializable
  3. HasThriftStructCodec3
  4. Product5
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def campaignCode: Option[String]

    An optional identifier for the campaign the component was used in

  2. abstract def componentType: ComponentType
  3. abstract def id: Option[String]

    An ID that can be used to distinguish different instances of a given ComponentType

  4. abstract def labels: Set[String]

    Additional labels relating to the component

  5. abstract def products: Set[Product]

    The products related to the component

    The products related to the component

    e.g. a banner with two buttons, one asking for people to become Supporters and one asking for contributions would contain CONTRIBUTION and SUPPORTER

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _1: ComponentType
    Definition Classes
    ComponentV2 → Product5
  5. def _2: Option[String]
    Definition Classes
    ComponentV2 → Product5
  6. def _3: Set[Product]
    Definition Classes
    ComponentV2 → Product5
  7. def _4: Option[String]
    Definition Classes
    ComponentV2 → Product5
  8. def _5: Set[String]
    Definition Classes
    ComponentV2 → Product5
  9. def _codec: ThriftStructCodec3[ComponentV2]
    Definition Classes
    ComponentV2 → HasThriftStructCodec3
  10. def _passthroughFields: Map[Short, TFieldBlob]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def canEqual(other: Any): Boolean
    Definition Classes
    ComponentV2 → Equals
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def copy(componentType: ComponentType = this.componentType, id: Option[String] = this.id, products: Set[Product] = this.products, campaignCode: Option[String] = this.campaignCode, labels: Set[String] = this.labels, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ComponentV2
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(other: Any): Boolean
    Definition Classes
    ComponentV2 → Equals → AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. 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 returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

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

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

  21. def hashCode(): Int
    Definition Classes
    ComponentV2 → AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def productArity: Int
    Definition Classes
    ComponentV2 → Product5 → Product
  27. def productElement(n: Int): Any
    Definition Classes
    ComponentV2 → Product5 → Product
  28. def productIterator: Iterator[Any]
    Definition Classes
    Product
  29. def productPrefix: String
    Definition Classes
    ComponentV2 → Product
  30. def setField(_blob: TFieldBlob): ComponentV2

    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.

  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    ComponentV2 → AnyRef → Any
  33. def toTuple: (ComponentType, Option[String], Set[Product], Option[String], Set[String])
  34. def unsetCampaignCode: ComponentV2
  35. def unsetComponentType: ComponentV2

    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.

  36. def unsetField(_fieldId: Short): ComponentV2

    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.

  37. def unsetId: ComponentV2
  38. def unsetLabels: ComponentV2
  39. def unsetProducts: ComponentV2
  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
    @native() @throws( ... )
  43. def write(_oprot: TProtocol): Unit
    Definition Classes
    ComponentV2 → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[ComponentV2]

Inherited from Product5[ComponentType, Option[String], Set[Product], Option[String], Set[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped