o
    1_WcT  ã                   @   sn   d dl Z d dlZd dlZd dlZd dlmZ ejr-d dlmZmZm	Z	m
Z
mZ d dlmZ G dd„ deƒZdS )é    N)ÚEnum)ÚDictÚListÚOptionalÚUnionÚAny)Údatetimec                   @   sD   e Zd ZdZdZdZdZdd„ Zdd„ Zd	d
„ Z	dd„ Z
dd„ ZdS )ÚAccessz¢
    A string representing if Alexa has access to location services running on the hostOS of device.



    Allowed enum values: [ENABLED, DISABLED, UNKNOWN]
    ÚENABLEDÚDISABLEDÚUNKNOWNc                 C   s   | j | ji}|S )z&Returns the model properties as a dict)ÚnameÚvalue)ÚselfÚresult© r   úMD:\Flask\env\Lib\site-packages\ask_sdk_model/interfaces/geolocation/access.pyÚto_dict(   s   zAccess.to_dictc                 C   s   t  | j¡S )z.Returns the string representation of the model)ÚpprintÚpformatr   ©r   r   r   r   Úto_str.   s   zAccess.to_strc                 C   s   |   ¡ S )zFor `print` and `pprint`)r   r   r   r   r   Ú__repr__3   s   zAccess.__repr__c                 C   s   t |tƒsdS | j|jkS )z&Returns true if both objects are equalF)Ú
isinstancer	   Ú__dict__©r   Úotherr   r   r   Ú__eq__8   s   
zAccess.__eq__c                 C   s
   | |k S )z*Returns true if both objects are not equalr   r   r   r   r   Ú__ne__@   s   
zAccess.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   r   r   r   r   r   r   r   r   r   r   r	      s    r	   )r   ÚreÚsixÚtypingÚenumr   ÚTYPE_CHECKINGr   r   r   r   r   r   r	   r   r   r   r   Ú<module>   s   