GeoSummary

class oci.apm_synthetics.models.GeoSummary(**kwargs)

Bases: object

Geographic summary about a vantage point.

Methods

__init__(**kwargs) Initializes a new GeoSummary object with values from keyword arguments.

Attributes

admin_div_code Gets the admin_div_code of this GeoSummary.
city_name Gets the city_name of this GeoSummary.
country_code Gets the country_code of this GeoSummary.
country_name Gets the country_name of this GeoSummary.
latitude Gets the latitude of this GeoSummary.
longitude Gets the longitude of this GeoSummary.
__init__(**kwargs)

Initializes a new GeoSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • admin_div_code (str) – The value to assign to the admin_div_code property of this GeoSummary.
  • city_name (str) – The value to assign to the city_name property of this GeoSummary.
  • country_code (str) – The value to assign to the country_code property of this GeoSummary.
  • country_name (str) – The value to assign to the country_name property of this GeoSummary.
  • latitude (float) – The value to assign to the latitude property of this GeoSummary.
  • longitude (float) – The value to assign to the longitude property of this GeoSummary.
admin_div_code

Gets the admin_div_code of this GeoSummary. 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.

Returns:The admin_div_code of this GeoSummary.
Return type:str
city_name

Gets the city_name of this GeoSummary. Common English-language name for the city.

Returns:The city_name of this GeoSummary.
Return type:str
country_code

Gets the country_code of this GeoSummary. The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

Returns:The country_code of this GeoSummary.
Return type:str
country_name

Gets the country_name of this GeoSummary. The common English-language name for the country.

Returns:The country_name of this GeoSummary.
Return type:str
latitude

Gets the latitude of this GeoSummary. Degrees north of the Equator.

Returns:The latitude of this GeoSummary.
Return type:float
longitude

Gets the longitude of this GeoSummary. Degrees east of the prime meridian.

Returns:The longitude of this GeoSummary.
Return type:float