o
    1_WcD  ã                   @   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                   @   s@   e 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 )ÚStatusz¬
    A string representing the status of whether location services is currently running or not on the host OS of device.



    Allowed enum values: [RUNNING, STOPPED]
    ÚRUNNINGÚSTOPPEDc                 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/status.pyÚto_dict'   s   zStatus.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Status.to_strc                 C   s   |   ¡ S )zFor `print` and `pprint`)r   r   r   r   r   Ú__repr__2   s   zStatus.__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__7   s   
zStatus.__eq__c                 C   s
   | |k S )z*Returns true if both objects are not equalr   r   r   r   r   Ú__ne__?   s   
zStatus.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__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   