Packages

class Immutable extends GeoLocation

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

Linear Supertypes
GeoLocation, Serializable, HasThriftStructCodec3[GeoLocation], Product8[Option[GeoPoint], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Seq[String]], Option[String]], scala.Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. GeoLocation
  3. Serializable
  4. HasThriftStructCodec3
  5. Product8
  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(geo: Option[GeoPoint] = _root_.scala.None, countryCode: Option[String] = _root_.scala.None, countryName: Option[String] = _root_.scala.None, city: Option[String] = _root_.scala.None, metroCode: Option[Int] = _root_.scala.None, continent: Option[String] = _root_.scala.None, subdivisions: Option[Seq[String]] = _root_.scala.None, timezone: Option[String] = _root_.scala.None)
  2. new Immutable(geo: Option[GeoPoint], countryCode: Option[String], countryName: Option[String], city: Option[String], metroCode: Option[Int], continent: Option[String], subdivisions: Option[Seq[String]], timezone: Option[String], _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: Option[GeoPoint]
    Definition Classes
    GeoLocation → Product8
  5. def _2: Option[String]
    Definition Classes
    GeoLocation → Product8
  6. def _3: Option[String]
    Definition Classes
    GeoLocation → Product8
  7. def _4: Option[String]
    Definition Classes
    GeoLocation → Product8
  8. def _5: Option[Int]
    Definition Classes
    GeoLocation → Product8
  9. def _6: Option[String]
    Definition Classes
    GeoLocation → Product8
  10. def _7: Option[Seq[String]]
    Definition Classes
    GeoLocation → Product8
  11. def _8: Option[String]
    Definition Classes
    GeoLocation → Product8
  12. def _codec: ThriftStructCodec3[GeoLocation]
    Definition Classes
    GeoLocation → HasThriftStructCodec3
  13. val _passthroughFields: Map[Short, TFieldBlob]
    Definition Classes
    ImmutableGeoLocation
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def canEqual(other: Any): Boolean
    Definition Classes
    GeoLocation → Equals
  16. val city: Option[String]

    Human readable city name

    Human readable city name

    Definition Classes
    ImmutableGeoLocation
  17. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  18. val continent: Option[String]

    Human readable continent name

    Human readable continent name

    Definition Classes
    ImmutableGeoLocation
  19. def copy(geo: Option[GeoPoint] = this.geo, countryCode: Option[String] = this.countryCode, countryName: Option[String] = this.countryName, city: Option[String] = this.city, metroCode: Option[Int] = this.metroCode, continent: Option[String] = this.continent, subdivisions: Option[Seq[String]] = this.subdivisions, timezone: Option[String] = this.timezone, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): GeoLocation
    Definition Classes
    GeoLocation
  20. val countryCode: Option[String]

    The two letter country code of the ip address; Note that guardian internal traffic (within the Guardian offices) is assigned a country code of "GNM"

    The two letter country code of the ip address; Note that guardian internal traffic (within the Guardian offices) is assigned a country code of "GNM"

    Definition Classes
    ImmutableGeoLocation
  21. val countryName: Option[String]

    Human readable country name

    Human readable country name

    Definition Classes
    ImmutableGeoLocation
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(other: Any): Boolean
    Definition Classes
    GeoLocation → Equals → AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. val geo: Option[GeoPoint]

    The resolved geolocation of the ip address

    The resolved geolocation of the ip address

    Definition Classes
    ImmutableGeoLocation
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. 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
    GeoLocation
  28. 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
    GeoLocation
  29. def hashCode(): Int
    Definition Classes
    GeoLocation → AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. val metroCode: Option[Int]

    The metro code of the location if the location is in the US.

    The metro code of the location if the location is in the US.

    Definition Classes
    ImmutableGeoLocation
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def productArity: Int
    Definition Classes
    GeoLocation → Product8 → Product
  36. def productElement(n: Int): Any
    Definition Classes
    GeoLocation → Product8 → Product
  37. def productIterator: Iterator[Any]
    Definition Classes
    Product
  38. def productPrefix: String
    Definition Classes
    GeoLocation → Product
  39. def setField(_blob: TFieldBlob): GeoLocation

    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
    GeoLocation
  40. val subdivisions: Option[Seq[String]]

    Administrative subdivisions, e.g.

    Administrative subdivisions, e.g. "Wales", "Berkshire" or "Alaska"

    Definition Classes
    ImmutableGeoLocation
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. val timezone: Option[String]

    Time zone as specified by http://www.iana.org/time-zones e.g.

    Time zone as specified by http://www.iana.org/time-zones e.g. America/New_York

    Definition Classes
    ImmutableGeoLocation
  43. def toString(): String
    Definition Classes
    GeoLocation → AnyRef → Any
  44. def toTuple: (Option[GeoPoint], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Seq[String]], Option[String])
    Definition Classes
    GeoLocation
  45. def unsetCity: GeoLocation
    Definition Classes
    GeoLocation
  46. def unsetContinent: GeoLocation
    Definition Classes
    GeoLocation
  47. def unsetCountryCode: GeoLocation
    Definition Classes
    GeoLocation
  48. def unsetCountryName: GeoLocation
    Definition Classes
    GeoLocation
  49. def unsetField(_fieldId: Short): GeoLocation

    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
    GeoLocation
  50. def unsetGeo: GeoLocation

    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
    GeoLocation
  51. def unsetMetroCode: GeoLocation
    Definition Classes
    GeoLocation
  52. def unsetSubdivisions: GeoLocation
    Definition Classes
    GeoLocation
  53. def unsetTimezone: GeoLocation
    Definition Classes
    GeoLocation
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  57. def write(_oprot: TProtocol): Unit
    Definition Classes
    GeoLocation → ThriftStruct

Inherited from GeoLocation

Inherited from Serializable

Inherited from HasThriftStructCodec3[GeoLocation]

Inherited from Product8[Option[GeoPoint], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Seq[String]], Option[String]]

Inherited from scala.Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped