%PDF- %PDF-
Direktori : /lib/python3/dist-packages/uaclient/entitlements/__pycache__/ |
Current File : //lib/python3/dist-packages/uaclient/entitlements/__pycache__/entitlement_status.cpython-312.pyc |
� ��>f � � � d dl Z d dlmZ d dlmZ e j G d� de j � � Ze j G d� de j � � Ze j G d� d e j � � Z e j G d � de j � � Z e j G d� d e j � � Ze j G d� de j � � Ze j G d� de j � � Z G d� d� Ze j G d� de j � � Z G d� d� Zy)� N)�Optional)�messagesc �: � e Zd ZdZ e� Z e� Z e� Zy)�ApplicationStatuszO An enum to represent the current application status of an entitlement N)�__name__� __module__�__qualname__�__doc__�object�ENABLED�DISABLED�WARNING� � �J/usr/lib/python3/dist-packages/uaclient/entitlements/entitlement_status.pyr r s � �� �h�G��x�H��h�Gr r c � � e Zd ZdZdZdZy)�ContractStatusz� An enum to represent whether a user is entitled to an entitlement (The value of each member is the string that will be used in status output.) �yes�noN)r r r r �ENTITLED� UNENTITLEDr r r r r s � �� �H��Jr r c �, � e Zd ZdZ e� Z e� Zy)�ApplicabilityStatuszQ An enum to represent whether an entitlement could apply to this machine N)r r r r r � APPLICABLE�INAPPLICABLEr r r r r s � �� ��J��8�Lr r c � � e Zd ZdZdZdZy)�UserFacingAvailabilitya� An enum representing whether a service could be available for a machine. 'Availability' means whether a service is available to machines with this architecture, series and kernel. Whether a contract is entitled to use the specific service is determined by the contract level. This enum should only be used in display code, it should not be used in business logic. r r N)r r r r � AVAILABLE�UNAVAILABLEr r r r r ) s � � � �I��Kr r c � � e Zd ZdZdZdZdZy)�UserFacingConfigStatusz� An enum representing the user-visible config status of Pro system. This enum will be used in display code and will be written to status.json �inactive�activezreboot-requiredN)r r r r �INACTIVE�ACTIVE�REBOOTREQUIREDr r r r! r! : s � �� �H� �F�&�Nr r! c �$ � e Zd ZdZdZdZdZdZdZy)�UserFacingStatusz� An enum representing the states we will display in status output. This enum should only be used in display code, it should not be used in business logic. �enabled�disabledzn/au —�warningN) r r r r r% r$ r r r r r r r( r( G s"