Trait/Object

ophan.thrift.event

Referrer

Related Docs: object Referrer | package event

Permalink

trait Referrer extends ThriftStruct with Product9[Option[Url], Option[String], Option[LinkName], Option[Platform], Option[String], Option[String], Option[Source], Option[GoogleReferral], Option[String]] with HasThriftStructCodec3[Referrer] with Serializable

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

Linear Supertypes
Serializable, HasThriftStructCodec3[Referrer], Product9[Option[Url], Option[String], Option[LinkName], Option[Platform], Option[String], Option[String], Option[Source], Option[GoogleReferral], Option[String]], scala.Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Referrer
  2. Serializable
  3. HasThriftStructCodec3
  4. Product9
  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 component: Option[String]

    Permalink

    the component that was clicked on for this referral, if the previous page was served by the guardian

  2. abstract def email: Option[String]

    Permalink

    if this was from a guardian email, what email it was

  3. abstract def google: Option[GoogleReferral]

    Permalink

    If this referral was from google, and we have additional data on the query string, the values we got.

  4. abstract def linkName: Option[LinkName]

    Permalink

    The link name associated with the element clicked.

  5. abstract def nativeAppSource: Option[Source]

    Permalink

    If this referral was from a native app, the source of the referral

  6. abstract def platform: Option[Platform]

    Permalink

    the platform of the referrer, if the previous page was served by the guardian

  7. abstract def tagIdFollowed: Option[String]

    Permalink
  8. abstract def url: Option[Url]

    Permalink

    Web: The "raw" value in here is the value of document.referrer as reported by the browser Native app: If this is populated, we will use it.

    Web: The "raw" value in here is the value of document.referrer as reported by the browser Native app: If this is populated, we will use it. If it is not populated, it will be synthesised using the nativeAppSource field.

  9. abstract def viewId: Option[String]

    Permalink

    the viewId of the referrer, if the previous page was served by the guardian

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: Option[Url]

    Permalink
    Definition Classes
    Referrer → Product9
  5. def _2: Option[String]

    Permalink
    Definition Classes
    Referrer → Product9
  6. def _3: Option[LinkName]

    Permalink
    Definition Classes
    Referrer → Product9
  7. def _4: Option[Platform]

    Permalink
    Definition Classes
    Referrer → Product9
  8. def _5: Option[String]

    Permalink
    Definition Classes
    Referrer → Product9
  9. def _6: Option[String]

    Permalink
    Definition Classes
    Referrer → Product9
  10. def _7: Option[Source]

    Permalink
    Definition Classes
    Referrer → Product9
  11. def _8: Option[GoogleReferral]

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

    Permalink
    Definition Classes
    Referrer → Product9
  13. def _codec: ThriftStructCodec3[Referrer]

    Permalink
    Definition Classes
    Referrer → HasThriftStructCodec3
  14. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  15. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def copy(url: Option[Url] = this.url, component: Option[String] = this.component, linkName: Option[LinkName] = this.linkName, platform: Option[Platform] = this.platform, viewId: Option[String] = this.viewId, email: Option[String] = this.email, nativeAppSource: Option[Source] = this.nativeAppSource, google: Option[GoogleReferral] = this.google, tagIdFollowed: Option[String] = this.tagIdFollowed, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Referrer

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Referrer → Equals → AnyRef → Any
  21. def finalize(): Unit

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

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

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

    Permalink

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

  25. def hashCode(): Int

    Permalink
    Definition Classes
    Referrer → AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def productArity: Int

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

    Permalink
    Definition Classes
    Referrer → Product9 → Product
  32. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  33. def productPrefix: String

    Permalink
    Definition Classes
    Referrer → Product
  34. def setField(_blob: TFieldBlob): Referrer

    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.

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

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

    Permalink
    Definition Classes
    Referrer → AnyRef → Any
  37. def toTuple: (Option[Url], Option[String], Option[LinkName], Option[Platform], Option[String], Option[String], Option[Source], Option[GoogleReferral], Option[String])

    Permalink
  38. def unsetComponent: Referrer

    Permalink
  39. def unsetEmail: Referrer

    Permalink
  40. def unsetField(_fieldId: Short): Referrer

    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.

  41. def unsetGoogle: Referrer

    Permalink
  42. def unsetLinkName: Referrer

    Permalink
  43. def unsetNativeAppSource: Referrer

    Permalink
  44. def unsetPlatform: Referrer

    Permalink
  45. def unsetTagIdFollowed: Referrer

    Permalink
  46. def unsetUrl: Referrer

    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.

  47. def unsetViewId: Referrer

    Permalink
  48. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Referrer → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[Referrer]

Inherited from Product9[Option[Url], Option[String], Option[LinkName], Option[Platform], Option[String], Option[String], Option[Source], Option[GoogleReferral], Option[String]]

Inherited from scala.Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped