o
    ëÉ¶dw  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sæ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZdd„ Zdd„ Zdd„ ZdS ) ÚGeolocationz7
    Geographic information about a vantage point.
    c                 K   sZ   ddddddddœ| _ dddddd	d
dœ| _d| _d| _d| _d| _d| _d| _d| _dS )a”  
        Initializes a new Geolocation object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param geo_key:
            The value to assign to the geo_key property of this Geolocation.
        :type geo_key: str

        :param admin_div_code:
            The value to assign to the admin_div_code property of this Geolocation.
        :type admin_div_code: str

        :param city_name:
            The value to assign to the city_name property of this Geolocation.
        :type city_name: str

        :param country_code:
            The value to assign to the country_code property of this Geolocation.
        :type country_code: str

        :param country_name:
            The value to assign to the country_name property of this Geolocation.
        :type country_name: str

        :param latitude:
            The value to assign to the latitude property of this Geolocation.
        :type latitude: float

        :param longitude:
            The value to assign to the longitude property of this Geolocation.
        :type longitude: float

        ÚstrÚfloat)Úgeo_keyÚadmin_div_codeÚ	city_nameÚcountry_codeÚcountry_nameÚlatitudeÚ	longitudeZgeoKeyZadminDivCodeZcityNameZcountryCodeZcountryNamer   r   N)	Zswagger_typesZattribute_mapÚ_geo_keyÚ_admin_div_codeÚ
_city_nameÚ_country_codeÚ_country_nameÚ	_latitudeÚ
_longitude)ÚselfÚkwargs© r   úGusr/lib/python3.10/site-packages/oci/healthchecks/models/geolocation.pyÚ__init__   s.   #ùù

zGeolocation.__init__c                 C   ó   | j S )zÎ
        Gets the geo_key of this Geolocation.
        An opaque identifier for the geographic location of the vantage point.


        :return: The geo_key of this Geolocation.
        :rtype: str
        ©r   ©r   r   r   r   r	   P   ó   
zGeolocation.geo_keyc                 C   ó
   || _ dS )zÔ
        Sets the geo_key of this Geolocation.
        An opaque identifier for the geographic location of the vantage point.


        :param geo_key: The geo_key of this Geolocation.
        :type: str
        Nr   )r   r	   r   r   r   r	   \   ó   

c                 C   r   )a®  
        Gets the admin_div_code of this Geolocation.
        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`__.

        __ https://www.iso.org/obp/ui/#search


        :return: The admin_div_code of this Geolocation.
        :rtype: str
        ©r   r   r   r   r   r
   h   s   zGeolocation.admin_div_codec                 C   r    )a»  
        Sets the admin_div_code of this Geolocation.
        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`__.

        __ https://www.iso.org/obp/ui/#search


        :param admin_div_code: The admin_div_code of this Geolocation.
        :type: str
        Nr"   )r   r
   r   r   r   r
   y   s   
c                 C   r   )z¶
        Gets the city_name of this Geolocation.
        Common English-language name for the city.


        :return: The city_name of this Geolocation.
        :rtype: str
        ©r   r   r   r   r   r   Š   r   zGeolocation.city_namec                 C   r    )z¾
        Sets the city_name of this Geolocation.
        Common English-language name for the city.


        :param city_name: The city_name of this Geolocation.
        :type: str
        Nr#   )r   r   r   r   r   r   –   r!   c                 C   r   )a  
        Gets the country_code of this Geolocation.
        The ISO 3166-1 alpha-2 country code. For a list of codes,
        see `Country Codes`__.

        __ https://www.iso.org/obp/ui/#search


        :return: The country_code of this Geolocation.
        :rtype: str
        ©r   r   r   r   r   r   ¢   s   zGeolocation.country_codec                 C   r    )a$  
        Sets the country_code of this Geolocation.
        The ISO 3166-1 alpha-2 country code. For a list of codes,
        see `Country Codes`__.

        __ https://www.iso.org/obp/ui/#search


        :param country_code: The country_code of this Geolocation.
        :type: str
        Nr$   )r   r   r   r   r   r   ±   s   
c                 C   r   )zÃ
        Gets the country_name of this Geolocation.
        The common English-language name for the country.


        :return: The country_name of this Geolocation.
        :rtype: str
        ©r   r   r   r   r   r   À   r   zGeolocation.country_namec                 C   r    )zÎ
        Sets the country_name of this Geolocation.
        The common English-language name for the country.


        :param country_name: The country_name of this Geolocation.
        :type: str
        Nr%   )r   r   r   r   r   r   Ì   r!   c                 C   r   )z©
        Gets the latitude of this Geolocation.
        Degrees north of the Equator.


        :return: The latitude of this Geolocation.
        :rtype: float
        ©r   r   r   r   r   r   Ø   r   zGeolocation.latitudec                 C   r    )z°
        Sets the latitude of this Geolocation.
        Degrees north of the Equator.


        :param latitude: The latitude of this Geolocation.
        :type: float
        Nr&   )r   r   r   r   r   r   ä   r!   c                 C   r   )z±
        Gets the longitude of this Geolocation.
        Degrees east of the prime meridian.


        :return: The longitude of this Geolocation.
        :rtype: float
        ©r   r   r   r   r   r   ð   r   zGeolocation.longitudec                 C   r    )z¹
        Sets the longitude of this Geolocation.
        Degrees east of the prime meridian.


        :param longitude: The longitude of this Geolocation.
        :type: float
        Nr'   )r   r   r   r   r   r   ü   r!   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__  s   zGeolocation.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__  s   zGeolocation.__eq__c                 C   s
   | |k S r(   r   r+   r   r   r   Ú__ne__  s   
zGeolocation.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r   r   r   r)   r-   r.   r   r   r   r   r      sD    >













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   