File: //lib/python3/dist-packages/uaclient/api/u/pro/services/dependencies/__pycache__/v1.cpython-38.pyc
U
��Jh% � @ s� d dl Z d dlmZ d dlmZmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
mZmZmZ e �e�e��ZG dd � d e
�ZG d
d� de
�ZG dd
� d
e
�ZG dd� de
e �Zed�dd�Zeed�dd�Zeddedd�Zdddeddd�ZdS )� N)�List)�entitlements�util)�APIEndpoint)�AdditionalInfo)�UAConfig)�
DataObject�Field�StringDataValue� data_listc @ s8 e Zd Zededd�ededd�gZeed�dd�Zd S )
�Reason�codez'Short string that represents the reason��doc�titlez9Longer string describing the reason - possibly translated�r
r c C s || _ || _d S �Nr )�selfr
r � r �M/usr/lib/python3/dist-packages/uaclient/api/u/pro/services/dependencies/v1.py�__init__ s zReason.__init__N)�__name__�
__module__�__qualname__r r
�fields�strr r r r r r
s ���
r c @ s8 e Zd Zededd�ededd�gZeed�dd�Zd S )
�ServiceWithReason�name�0Name of the Pro service this item corresponds tor �reasonz0Reason that this service is in the list it is in�r r c C s || _ || _d S r r )r r r r r r r . s zServiceWithReason.__init__N) r r r r r
r r r r r r r r r s ���
r c @ sV e Zd Zededd�edee�dd�edee�dd�gZee e e e d�d d
�Z
dS )�ServiceWithDependenciesr r r �incompatible_withzkList of Pro services this service is incompatible with. That means they cannot be enabled at the same time.�
depends_onzwList of Pro services this service depends on. The services in this list must be enabled for this service to be enabled.�r r"