U wib @ 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 ZdZdddddZdddddZd!d d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zdd Zdd ZdS )"SourceLinkszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)_selfqueryhealthbucketsselfr r r Nc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z)SourceLinks - a model defined in OpenAPI.N) _SourceLinks__self_query_health_bucketsZ discriminatorr r r r )r r r r r r T/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/source_links.py__init__. s zSourceLinks.__init__c C s | j S )zpGet the _self of this SourceLinks. :return: The _self of this SourceLinks. :rtype: str r r r r r r ? s zSourceLinks._selfc C s || _ dS )ztSet the _self of this SourceLinks. :param _self: The _self of this SourceLinks. :type: str Nr )r r r r r r H s c C s | j S )zpGet the query of this SourceLinks. :return: The query of this SourceLinks. :rtype: str r r r r r r Q s zSourceLinks.queryc C s || _ dS )ztSet the query of this SourceLinks. :param query: The query of this SourceLinks. :type: str Nr )r r r r r r Z s c C s | j S )zrGet the health of this SourceLinks. :return: The health of this SourceLinks. :rtype: str r r r r r r c s zSourceLinks.healthc C s || _ dS )zwSet the health of this SourceLinks. :param health: The health of this SourceLinks. :type: str Nr )r r r r r r l s c C s | j S )ztGet the buckets of this SourceLinks. :return: The buckets of this SourceLinks. :rtype: str r r r r r r u s zSourceLinks.bucketsc C s || _ dS )zzSet the buckets of this SourceLinks. :param buckets: The buckets of this SourceLinks. :type: str Nr )r r r r r r ~ s c C s i }| j D ]z\}}t| |}t|trBttdd |||<