← Back
Editing: v1.cpython-38.pyc
U Uٵg[ � @ s� d dl Z d dlmZmZ d dlmZ d dlmZ d dlm Z d dl mZ d dlm Z mZmZmZ dZG d d � d e �ZG dd� de e�Zeed �dd�Zee ed�dd�Zeddeed�Zdddeejdfejdfejdfejdfgddd�ZdS ) � N)� exceptions�secret_manager)�APIEndpoint)�AdditionalInfo)�UAConfig)�UAContractClient)� DataObject�Field�IntDataValue�StringDataValue�F c @ s* e Zd Zededd�gZed�dd�ZdS )�MagicAttachWaitOptions�magic_tokenz,The Token provided by the initiate endpoint.��doc�r c C s || _ d S �Nr )�selfr � r �I/usr/lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/wait/v1.py�__init__ s zMagicAttachWaitOptions.__init__N)�__name__� __module__�__qualname__r r �fields�strr r r r r r s ��r c @ sp e Zd Zededd�ededd�ededd�eded d�ed edd�eded d�gZeeeeeed�dd�Z dS )�MagicAttachWaitResult� user_codezACode the user will see in the UI when confirming the Magic Attachr �tokenz1The same Magic Token that was sent as an argument�expiresz0Timestamp of the Magic Attach process expiration� expires_inz/Seconds before the Magic Attach process expires�contract_idz2ID of the contract the machine will be attached to�contract_tokenz(The contract Token to attach the machine�r r r r r! r"