Packages

class Immutable extends UserAgent

The default read-only implementation of UserAgent. You typically should not need to directly reference this class; instead, use the UserAgent.apply method to construct new instances.

Linear Supertypes
UserAgent, Serializable, HasThriftStructCodec3[UserAgent], Product6[String, Option[UserAgentType], Option[NameAndVersion], Option[NameAndVersion], Option[DeviceType], Option[Device]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. UserAgent
  3. Serializable
  4. HasThriftStructCodec3
  5. Product6
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(userAgentString: String, type: Option[UserAgentType] = _root_.scala.None, os: Option[NameAndVersion] = _root_.scala.None, family: Option[NameAndVersion] = _root_.scala.None, device: Option[DeviceType] = _root_.scala.None, model: Option[Device] = _root_.scala.None)
  2. new Immutable(userAgentString: String, type: Option[UserAgentType], os: Option[NameAndVersion], family: Option[NameAndVersion], device: Option[DeviceType], model: Option[Device], _passthroughFields: Map[Short, TFieldBlob])

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. val _passthroughFields: Map[Short, TFieldBlob]
    Definition Classes
    ImmutableUserAgent
  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
    Definition Classes
    UserAgent
  16. val device: Option[DeviceType]

    Device class of this user agent

    Device class of this user agent

    Definition Classes
    ImmutableUserAgent
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(other: Any): Boolean
    Definition Classes
    UserAgent → Equals → AnyRef → Any
  19. val 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

    Definition Classes
    ImmutableUserAgent
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. 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.

    Definition Classes
    UserAgent
  23. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

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

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

    Definition Classes
    UserAgent
  24. def hashCode(): Int
    Definition Classes
    UserAgent → AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val model: Option[Device]

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

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

    Definition Classes
    ImmutableUserAgent
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. val os: Option[NameAndVersion]

    The operating system this request was made from

    The operating system this request was made from

    Definition Classes
    ImmutableUserAgent
  31. def productArity: Int
    Definition Classes
    UserAgent → Product6 → Product
  32. def productElement(n: Int): Any
    Definition Classes
    UserAgent → Product6 → Product
  33. def productIterator: Iterator[Any]
    Definition Classes
    Product
  34. def productPrefix: String
    Definition Classes
    UserAgent → Product
  35. 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.

    Definition Classes
    UserAgent
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    UserAgent → AnyRef → Any
  38. def toTuple: (String, Option[UserAgentType], Option[NameAndVersion], Option[NameAndVersion], Option[DeviceType], Option[Device])
    Definition Classes
    UserAgent
  39. val type: Option[UserAgentType]

    The classification of this user agent

    The classification of this user agent

    Definition Classes
    ImmutableUserAgent
  40. def unsetDevice: UserAgent
    Definition Classes
    UserAgent
  41. def unsetFamily: UserAgent
    Definition Classes
    UserAgent
  42. 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.

    Definition Classes
    UserAgent
  43. def unsetModel: UserAgent
    Definition Classes
    UserAgent
  44. def unsetOs: UserAgent
    Definition Classes
    UserAgent
  45. def unsetType: UserAgent
    Definition Classes
    UserAgent
  46. 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.

    Definition Classes
    UserAgent
  47. val 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

    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

    Definition Classes
    ImmutableUserAgent
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  51. def write(_oprot: TProtocol): Unit
    Definition Classes
    UserAgent → ThriftStruct

Inherited from UserAgent

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