!V1fddlmZddlmZddlmZddlmZddlm Z ddl m Z m Z m Z ddlmZGdd eZGd d e eZd efd Zde d efdZeddedZy))messages) APIEndpoint)AdditionalInfo)APIError)UAConfig) DataObjectFieldStringDataValue) get_versionc$eZdZejZy) VersionErrorN)__name__ __module__ __qualname__rE_API_VERSION_ERROR_formatted_msg?/usr/lib/python3/dist-packages/uaclient/api/u/pro/version/v1.pyr r s 11Nrr c,eZdZedegZdefdZy) VersionResultinstalled_versionc||_yNr)selfrs r__init__zVersionResult.__init__s !2rN)rrrr r fieldsstrrrrrrrs  !?3F3S3rrreturnc(ttSr)_versionrrrrversionr#s HJ rcfgc| t}t |S#t$r}tt|d}~wwxYw)N) error_msgr)r Exceptionr rr)r$r#es rr"r"s<-- 7 33 -SV,,-s  ;6;v1VersionN)r#namefn options_cls)uaclientruaclient.api.apiruaclient.api.data_typesruaclient.api.errorsruaclient.configruaclient.data_typesrr r uaclient.versionr r rr#r"endpointrrrr6sn(2($BB(2823J3  4(4}4     r