trait AdInfo extends ThriftStruct with Product3[Option[Boolean], Option[Seq[RenderedAd]], Option[Seq[String]]] with HasThriftStructCodec3[AdInfo] with Serializable
Prefer the companion object's ophan.thrift.event.AdInfo.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- AdInfo
- Serializable
- HasThriftStructCodec3
- Product3
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
adBlockerDetected: Option[Boolean]
If present, indicates that we have detected the presence or absence of ad blocking technology.
If present, indicates that we have detected the presence or absence of ad blocking technology.
If absent, this check was not performed. If we have previously sent an event with this field present, you should treat that value as still valid.
(Currently, the check is only performed on initial page load, so this field will only ever be set in the event relating to the initial page view not on subsequent events relating to that page view.)
-
abstract
def
ads: Option[Seq[RenderedAd]]
Details of one or more ads rendered.
Details of one or more ads rendered. Currently, each ad rendering is sent to ophan in a separate event so there will only ever be one entry in this list. This is likely to change in the future, however.
-
abstract
def
customSegments: Option[Seq[String]]
This is a list of custom segments assigned to this user.
This is a list of custom segments assigned to this user. Typically they will come from krux. Populated in the slab via dynamodb.
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[Boolean]
- Definition Classes
- AdInfo → Product3
-
def
_2: Option[Seq[RenderedAd]]
- Definition Classes
- AdInfo → Product3
-
def
_3: Option[Seq[String]]
- Definition Classes
- AdInfo → Product3
-
def
_codec: ThriftStructCodec3[AdInfo]
- Definition Classes
- AdInfo → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- AdInfo → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def copy(adBlockerDetected: Option[Boolean] = this.adBlockerDetected, ads: Option[Seq[RenderedAd]] = this.ads, customSegments: Option[Seq[String]] = this.customSegments, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): AdInfo
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- AdInfo → 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
- AdInfo → 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
- AdInfo → Product3 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- AdInfo → Product3 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- AdInfo → Product
-
def
setField(_blob: TFieldBlob): AdInfo
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
- AdInfo → AnyRef → Any
- def toTuple: (Option[Boolean], Option[Seq[RenderedAd]], Option[Seq[String]])
-
def
unsetAdBlockerDetected: AdInfo
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 unsetAds: AdInfo
- def unsetCustomSegments: AdInfo
-
def
unsetField(_fieldId: Short): AdInfo
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.
-
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
- AdInfo → ThriftStruct