U wi @ s( d Z ddlZddlZG dd deZdS )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 e Zd ZdZddddZddddZdd d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )ReadyzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strdatetime)statusstartedupr r r Nc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z#Ready - a model defined in OpenAPI.N)_status_started_upZ discriminatorr r r )selfr r r r M/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/ready.py__init__, s zReady.__init__c C s | j S )zfGet the status of this Ready. :return: The status of this Ready. :rtype: str r r r r r r : s zReady.statusc C s || _ dS )zkSet the status of this Ready. :param status: The status of this Ready. :type: str Nr )r r r r r r C s c C s | j S )zmGet the started of this Ready. :return: The started of this Ready. :rtype: datetime r r r r r r L s z Ready.startedc C s || _ dS )zsSet the started of this Ready. :param started: The started of this Ready. :type: datetime Nr )r r r r r r U s c C s | j S )z^Get the up of this Ready. :return: The up of this Ready. :rtype: str r r r r r r ^ s zReady.upc C s || _ dS )z_Set the up of this Ready. :param up: The up of this Ready. :type: str Nr )r r r r r r g s c C s i }| j D ]z\}}t| |}t|trBttdd |||<