o
    ɶd                      @   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dd Zdd Zdd ZdS )Countryz
    Country details model
    c                 K   sF   dddddd| _ dddddd| _d	| _d	| _d	| _d	| _d	| _d	S )
a  
        Initializes a new Country object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param country_id:
            The value to assign to the country_id property of this Country.
        :type country_id: float

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

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

        :param language_id:
            The value to assign to the language_id property of this Country.
        :type language_id: float

        :param ascii3_country_code:
            The value to assign to the ascii3_country_code property of this Country.
        :type ascii3_country_code: str

        floatstr)
country_idcountry_codecountry_namelanguage_idascii3_country_codeZ	countryIdZcountryCodeZcountryNameZ
languageIdZascii3CountryCodeN)Zswagger_typesZattribute_map_country_id_country_code_country_name_language_id_ascii3_country_code)selfkwargs r   Busr/lib/python3.10/site-packages/oci/osp_gateway/models/country.py__init__   s"   	
zCountry.__init__c                 C      | j S )z
        Gets the country_id of this Country.
        Indentifier of the country. This is a DB side unique id which was generated when the entity was created in the table


        :return: The country_id of this Country.
        :rtype: float
        r   r   r   r   r   r	   B      
zCountry.country_idc                 C   
   || _ dS )a  
        Sets the country_id of this Country.
        Indentifier of the country. This is a DB side unique id which was generated when the entity was created in the table


        :param country_id: The country_id of this Country.
        :type: float
        Nr   )r   r	   r   r   r   r	   N      

c                 C   r   )z
        Gets the country_code of this Country.
        Country code in ISO-3166-1 2-letter format


        :return: The country_code of this Country.
        :rtype: str
        r   r   r   r   r   r
   Z   r   zCountry.country_codec                 C   r   )z
        Sets the country_code of this Country.
        Country code in ISO-3166-1 2-letter format


        :param country_code: The country_code of this Country.
        :type: str
        Nr   )r   r
   r   r   r   r
   f   r   c                 C   r   )z
        Gets the country_name of this Country.
        Name of the country


        :return: The country_name of this Country.
        :rtype: str
        r   r   r   r   r   r   r   r   zCountry.country_namec                 C   r   )z
        Sets the country_name of this Country.
        Name of the country


        :param country_name: The country_name of this Country.
        :type: str
        Nr   )r   r   r   r   r   r   ~   r   c                 C   r   )z
        Gets the language_id of this Country.
        Language identifier


        :return: The language_id of this Country.
        :rtype: float
        r   r   r   r   r   r      r   zCountry.language_idc                 C   r   )z
        Sets the language_id of this Country.
        Language identifier


        :param language_id: The language_id of this Country.
        :type: float
        Nr    )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the ascii3_country_code of this Country.
        Country code in ISO-3166-1 3-letter format


        :return: The ascii3_country_code of this Country.
        :rtype: str
        r   r   r   r   r   r      r   zCountry.ascii3_country_codec                 C   r   )z
        Sets the ascii3_country_code of this Country.
        Country code in ISO-3166-1 3-letter format


        :param ascii3_country_code: The ascii3_country_code of this Country.
        :type: str
        Nr!   )r   r   r   r   r   r      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zCountry.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zCountry.__eq__c                 C   s
   | |k S r"   r   r%   r   r   r   __ne__   s   
zCountry.__ne__N)__name__
__module____qualname____doc__r   propertyr	   setterr
   r   r   r   r#   r'   r(   r   r   r   r   r      s4    0









r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   