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.
- Alphabetic
- By Inheritance
- Referrer
- Serializable
- HasThriftStructCodec3
- Product9
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
component: Option[String]
the component that was clicked on for this referral, if the previous page was served by the guardian
-
abstract
def
email: Option[String]
if this was from a guardian email, what email it was
-
abstract
def
google: Option[GoogleReferral]
If this referral was from google, and we have additional data on the query string, the values we got.
-
abstract
def
linkName: Option[LinkName]
The link name associated with the element clicked.
-
abstract
def
nativeAppSource: Option[Source]
If this referral was from a native app, the source of the referral
-
abstract
def
platform: Option[Platform]
the platform of the referrer, if the previous page was served by the guardian
- abstract def tagIdFollowed: Option[String]
-
abstract
def
url: Option[Url]
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.
-
abstract
def
viewId: Option[String]
the viewId of the referrer, if the previous page was served by the guardian
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
_1: Option[Url]
- Definition Classes
- Referrer → Product9
-
def
_2: Option[String]
- Definition Classes
- Referrer → Product9
-
def
_3: Option[LinkName]
- Definition Classes
- Referrer → Product9
-
def
_4: Option[Platform]
- Definition Classes
- Referrer → Product9
-
def
_5: Option[String]
- Definition Classes
- Referrer → Product9
-
def
_6: Option[String]
- Definition Classes
- Referrer → Product9
-
def
_7: Option[Source]
- Definition Classes
- Referrer → Product9
-
def
_8: Option[GoogleReferral]
- Definition Classes
- Referrer → Product9
-
def
_9: Option[String]
- Definition Classes
- Referrer → Product9
-
def
_codec: ThriftStructCodec3[Referrer]
- Definition Classes
- Referrer → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- Referrer → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- 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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Referrer → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map. -
def
hashCode(): Int
- Definition Classes
- Referrer → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
productArity: Int
- Definition Classes
- Referrer → Product9 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Referrer → Product9 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Referrer → Product
-
def
setField(_blob: TFieldBlob): Referrer
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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Referrer → AnyRef → Any
- def toTuple: (Option[Url], Option[String], Option[LinkName], Option[Platform], Option[String], Option[String], Option[Source], Option[GoogleReferral], Option[String])
- def unsetComponent: Referrer
- def unsetEmail: Referrer
-
def
unsetField(_fieldId: Short): Referrer
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.
- def unsetGoogle: Referrer
- def unsetLinkName: Referrer
- def unsetNativeAppSource: Referrer
- def unsetPlatform: Referrer
- def unsetTagIdFollowed: Referrer
-
def
unsetUrl: Referrer
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.
- def unsetViewId: Referrer
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
write(_oprot: TProtocol): Unit
- Definition Classes
- Referrer → ThriftStruct