GeodataDetails¶
- class oci.threat_intelligence.models.GeodataDetails(**kwargs)¶
Bases:
objectGeodata information for a given IP address
Methods:
__init__(**kwargs)Initializes a new GeodataDetails object with values from keyword arguments.
Attributes:
[Required] Gets the admin_div of this GeodataDetails.
[Required] Gets the city of this GeodataDetails.
[Required] Gets the country_code of this GeodataDetails.
Gets the geo_id of this GeodataDetails.
[Required] Gets the label of this GeodataDetails.
[Required] Gets the latitude of this GeodataDetails.
[Required] Gets the longitude of this GeodataDetails.
[Required] Gets the origin of this GeodataDetails.
Gets the routed_prefix of this GeodataDetails.
- __init__(**kwargs)¶
Initializes a new GeodataDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
routed_prefix (str) – The value to assign to the routed_prefix property of this GeodataDetails.
origin (str) – The value to assign to the origin property of this GeodataDetails.
geo_id (str) – The value to assign to the geo_id property of this GeodataDetails.
country_code (str) – The value to assign to the country_code property of this GeodataDetails.
admin_div (str) – The value to assign to the admin_div property of this GeodataDetails.
city (str) – The value to assign to the city property of this GeodataDetails.
latitude (str) – The value to assign to the latitude property of this GeodataDetails.
longitude (str) – The value to assign to the longitude property of this GeodataDetails.
label (str) – The value to assign to the label property of this GeodataDetails.
- property admin_div¶
[Required] Gets the admin_div of this GeodataDetails. State/Province/subdivision within the country
- Returns
The admin_div of this GeodataDetails.
- Return type
str
- property city¶
[Required] Gets the city of this GeodataDetails. City of origin
- Returns
The city of this GeodataDetails.
- Return type
str
- property country_code¶
[Required] Gets the country_code of this GeodataDetails. Two-letter abbreviation for country of origin
- Returns
The country_code of this GeodataDetails.
- Return type
str
- property geo_id¶
Gets the geo_id of this GeodataDetails. Unique Identifier (optional)
- Returns
The geo_id of this GeodataDetails.
- Return type
str
- property label¶
[Required] Gets the label of this GeodataDetails. Information on source providing the information
- Returns
The label of this GeodataDetails.
- Return type
str
- property latitude¶
[Required] Gets the latitude of this GeodataDetails. Latitude
- Returns
The latitude of this GeodataDetails.
- Return type
str
- property longitude¶
[Required] Gets the longitude of this GeodataDetails. Longitude
- Returns
The longitude of this GeodataDetails.
- Return type
str
- property origin¶
[Required] Gets the origin of this GeodataDetails. ASN entry
- Returns
The origin of this GeodataDetails.
- Return type
str
- property routed_prefix¶
Gets the routed_prefix of this GeodataDetails. Encompassing assigned prefix for the IP
- Returns
The routed_prefix of this GeodataDetails.
- Return type
str