U wi@s(dZddlZddlZGdddeZdS)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@seZdZdZddddZddddZdd d Zed d Zej d d ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)ReadyzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strdatetime)statusstarteduprrrNcCsFd|_d|_d|_d|_|dk r&||_|dk r4||_|dk rB||_dS)z#Ready - a model defined in OpenAPI.N)_status_started_upZ discriminatorrrr)selfrrrr M/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/ready.py__init__,szReady.__init__cCs|jS)zfGet the status of this Ready. :return: The status of this Ready. :rtype: str rr r r r r:sz Ready.statuscCs ||_dS)zkSet the status of this Ready. :param status: The status of this Ready. :type: str Nr)r rr r r rCscCs|jS)zmGet the started of this Ready. :return: The started of this Ready. :rtype: datetime r rr r r rLsz Ready.startedcCs ||_dS)zsSet the started of this Ready. :param started: The started of this Ready. :type: datetime Nr)r rr r r rUscCs|jS)z^Get the up of this Ready. :return: The up of this Ready. :rtype: str r rr r r r^szReady.upcCs ||_dS)z_Set the up of this Ready. :param up: The up of this Ready. :type: str Nr)r rr r r rgscCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr)xr r r xzReady.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rps"       z Ready.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strsz Ready.to_strcCs|S)zFor `print` and `pprint`.)r(rr r r __repr__szReady.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s z Ready.__eq__cCs ||k S)z*Return true if both objects are not equal.r r+r r r __ne__sz Ready.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrr(r)r-r.r r r r rs6       r)r2r&reobjectrr r r r s