U wib@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@seZdZdZdddddZdddddZd!d d Zed d Zej d d ZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZddZdd ZdS)" SourceLinkszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)_selfqueryhealthbucketsselfrrrNcCsZd|_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 discriminatorrrrr)rrrrrr T/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/source_links.py__init__.szSourceLinks.__init__cCs|jS)zpGet the _self of this SourceLinks. :return: The _self of this SourceLinks. :rtype: str r rr r rr?szSourceLinks._selfcCs ||_dS)ztSet the _self of this SourceLinks. :param _self: The _self of this SourceLinks. :type: str Nr)rrr r rrHscCs|jS)zpGet the query of this SourceLinks. :return: The query of this SourceLinks. :rtype: str r rr r rrQszSourceLinks.querycCs ||_dS)ztSet the query of this SourceLinks. :param query: The query of this SourceLinks. :type: str Nr)rrr r rrZscCs|jS)zrGet the health of this SourceLinks. :return: The health of this SourceLinks. :rtype: str r rr r rrcszSourceLinks.healthcCs ||_dS)zwSet the health of this SourceLinks. :param health: The health of this SourceLinks. :type: str Nr)rrr r rrlscCs|jS)ztGet the buckets of this SourceLinks. :return: The buckets of this SourceLinks. :rtype: str r rr r rruszSourceLinks.bucketscCs ||_dS)zzSet the buckets of this SourceLinks. :param buckets: The buckets of this SourceLinks. :type: str Nr)rrr r rr~scCsi}|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 rz%SourceLinks.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuer r rrs"       zSourceLinks.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszSourceLinks.to_strcCs|S)zFor `print` and `pprint`.)r*rr r r__repr__szSourceLinks.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r r__dict__rotherr r r__eq__s zSourceLinks.__eq__cCs ||k S)z*Return true if both objects are not equal.r r-r r r__ne__szSourceLinks.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrrr*r+r/r0r r r rrsB         r)r4r(reobjectrr r r rs