U vâ’iS ã@s(dZddlZddlZGdd„deƒZdS)a InfluxDB OSS API Service. The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://openapi-generator.tech éNc@s€eZdZdZddiZddiZddddœZdd d „Zed d „ƒZ e j d d „ƒZ dd„Z dd„Z dd„Z dd„Zdd„Zdd„ZdS)ÚCheckz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚtypeÚstrZ DeadmanCheckZ CustomCheckZThresholdCheck)ZdeadmanZcustomÚ thresholdNcCsd|_d|_||_dS)z#Check - a model defined in OpenAPI.Nr)Ú_typeÚ discriminatorr©Úselfr©r úM/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/check.pyÚ__init__.szCheck.__init__cCs|jS)zbGet the type of this Check. :return: The type of this Check. :rtype: str )r©r r r r r5sz Check.typecCs|dkrtdƒ‚||_dS)zeSet the type of this Check. :param type: The type of this Check. :type: str Nz,Invalid value for `type`, must not be `None`)Ú ValueErrorrrr r r r>scCs |j|j}||}|j |¡S)z:Return the real base class specified by the discriminator.)Ú attribute_maprÚdiscriminator_value_class_mapÚget)r ÚdataZdiscriminator_keyZdiscriminator_valuer r r Úget_real_child_modelIs zCheck.get_real_child_modelcCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)Úxr r r ÚWózCheck.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r r r^s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluer r r rOs"  þ   ý  z Check.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrr r r r Úto_strgsz Check.to_strcCs| ¡S)zFor `print` and `pprint`.)r)r r r r Ú__repr__kszCheck.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©r Úotherr r r Ú__eq__os z Check.__eq__cCs ||k S)z*Return true if both objects are not equal.r r,r r r Ú__ne__vsz Check.__ne__)N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrr ÚpropertyrÚsetterrrr)r*r.r/r r r r rs,ÿÿý   r)r3r'ÚreÚobjectrr r r r Ús