|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/initiate/__pycache__/ |
Upload File : |
o
��JhT
� @ s� d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
mZmZmZ G dd � d e
e�Zd
efdd�Zd
e d
efdd�Zeddedd�Zdddeejdfejdfejdfgddd�ZdS )� )�secret_manager)�
exceptions)�APIEndpoint)�AdditionalInfo)�UAConfig)�UAContractClient)�
DataObject�Field�IntDataValue�StringDataValuec @ sZ e Zd Zededd�ededd�ededd�eded d�gZdedededefd
d�Z dS )
�MagicAttachInitiateResult� user_codezACode the user will see in the UI when confirming the Magic Attach)�doc�tokenzgMagic Token that can be used in either `u.pro.attach.magic.revoke.v1`_ or `u.pro.attach.magic.wait.v1`_�expiresz0Timestamp of the Magic Attach process expiration�
expires_inz/Seconds before the Magic Attach process expiresc C s || _ || _|| _|| _d S �N�r
r r r )�selfr
r r r � r �M/usr/lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/initiate/v1.py�__init__. s
z"MagicAttachInitiateResult.__init__N)
�__name__�
__module__�__qualname__r r r
�fields�str�intr r r r r r s>