Show / Hide Table of Contents

Class Geolocation

Geographic information about a vantage point.

Inheritance
object
Geolocation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.HealthchecksService.Models
Assembly: OCI.DotNetSDK.Healthchecks.dll
Syntax
public class Geolocation

Properties

AdminDivCode

Declaration
[JsonProperty(PropertyName = "adminDivCode")]
public string AdminDivCode { get; set; }
Property Value
Type Description
string

The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.

CityName

Declaration
[JsonProperty(PropertyName = "cityName")]
public string CityName { get; set; }
Property Value
Type Description
string

Common English-language name for the city.

CountryCode

Declaration
[JsonProperty(PropertyName = "countryCode")]
public string CountryCode { get; set; }
Property Value
Type Description
string

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

CountryName

Declaration
[JsonProperty(PropertyName = "countryName")]
public string CountryName { get; set; }
Property Value
Type Description
string

The common English-language name for the country.

GeoKey

Declaration
[JsonProperty(PropertyName = "geoKey")]
public string GeoKey { get; set; }
Property Value
Type Description
string

An opaque identifier for the geographic location of the vantage point.

Latitude

Declaration
[JsonProperty(PropertyName = "latitude")]
public float? Latitude { get; set; }
Property Value
Type Description
float?

Degrees north of the Equator.

Longitude

Declaration
[JsonProperty(PropertyName = "longitude")]
public float? Longitude { get; set; }
Property Value
Type Description
float?

Degrees east of the prime meridian.

In this article
Back to top