Packages

trait UserAgent extends ThriftStruct with Product6[String, Option[UserAgentType], Option[NameAndVersion], Option[NameAndVersion], Option[DeviceType], Option[Device]] with HasThriftStructCodec3[UserAgent] with Serializable

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

Linear Supertypes
Serializable, HasThriftStructCodec3[UserAgent], Product6[String, Option[UserAgentType], Option[NameAndVersion], Option[NameAndVersion], Option[DeviceType], Option[Device]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UserAgent
  2. Serializable
  3. HasThriftStructCodec3
  4. Product6
  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 device: Option[DeviceType]

    Device class of this user agent

  2. abstract def family: Option[NameAndVersion]

    The family name and version of the user agent e.g.

    The family name and version of the user agent e.g. Firefox 13.0 or iOS Core 3.1.1

  3. abstract def model: Option[Device]

    Full device model and manufacturer Only populated for native apps, where this data is available.

  4. abstract def os: Option[NameAndVersion]

    The operating system this request was made from

  5. abstract def type: Option[UserAgentType]

    The classification of this user agent

  6. abstract def userAgentString: String

    The raw user agent string supplied Note that for guardian native app events this is likely misleading, as it often represents the library that the app used to make the request

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: String
    Definition Classes
    UserAgent → Product6
  5. def _2: Option[UserAgentType]
    Definition Classes
    UserAgent → Product6
  6. def _3: Option[NameAndVersion]
    Definition Classes
    UserAgent → Product6
  7. def _4: Option[NameAndVersion]
    Definition Classes
    UserAgent → Product6
  8. def _5: Option[DeviceType]
    Definition Classes
    UserAgent → Product6
  9. def _6: Option[Device]
    Definition Classes
    UserAgent → Product6
  10. def _codec: ThriftStructCodec3[UserAgent]
    Definition Classes
    UserAgent → HasThriftStructCodec3
  11. def _passthroughFields: Map[Short, TFieldBlob]
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def canEqual(other: Any): Boolean
    Definition Classes
    UserAgent → Equals
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  15. def copy(userAgentString: String = this.userAgentString, type: Option[UserAgentType] = this.`type`, os: Option[NameAndVersion] = this.os, family: Option[NameAndVersion] = this.family, device: Option[DeviceType] = this.device, model: Option[Device] = this.model, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): UserAgent
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(other: Any): Boolean
    Definition Classes
    UserAgent → 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
    Annotations
    @native()
  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 returned. 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
    UserAgent → 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
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def productArity: Int
    Definition Classes
    UserAgent → Product6 → Product
  28. def productElement(n: Int): Any
    Definition Classes
    UserAgent → Product6 → Product
  29. def productIterator: Iterator[Any]
    Definition Classes
    Product
  30. def productPrefix: String
    Definition Classes
    UserAgent → Product
  31. def setField(_blob: TFieldBlob): UserAgent

    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
    UserAgent → AnyRef → Any
  34. def toTuple: (String, Option[UserAgentType], Option[NameAndVersion], Option[NameAndVersion], Option[DeviceType], Option[Device])
  35. def unsetDevice: UserAgent
  36. def unsetFamily: UserAgent
  37. def unsetField(_fieldId: Short): UserAgent

    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.

  38. def unsetModel: UserAgent
  39. def unsetOs: UserAgent
  40. def unsetType: UserAgent
  41. def unsetUserAgentString: UserAgent

    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.

  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  45. def write(_oprot: TProtocol): Unit
    Definition Classes
    UserAgent → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[UserAgent]

Inherited from Product6[String, Option[UserAgentType], Option[NameAndVersion], Option[NameAndVersion], Option[DeviceType], Option[Device]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped