U vi @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@sleZdZdZddiZddiZdddZeddZej d dZd d Z d d Z ddZ ddZ ddZdS)ListStacksResponsezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. stacksz list[Stack]NcCsd|_d|_|dk r||_dS)z0ListStacksResponse - a model defined in OpenAPI.N)_stacksZ discriminatorrselfrr\/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/list_stacks_response.py__init__(szListStacksResponse.__init__cCs|jS)zGet the stacks of this ListStacksResponse. :return: The stacks of this ListStacksResponse. :rtype: list[Stack] rrrrrr0szListStacksResponse.stackscCs ||_dS)zSet the stacks of this ListStacksResponse. :param stacks: The stacks of this ListStacksResponse. :type: list[Stack] Nr rrrrr9scCsi}|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 )xrrrJz,ListStacksResponse.to_dict..r cSs&t|ddr"|d|dfS|S)Nr rr )itemrrrrQs ) openapi_typesitemsgetattr isinstancelistmaprr dict)rresultattr_valuerrrr Bs"       zListStacksResponse.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr r rrrto_strZszListStacksResponse.to_strcCs|S)zFor `print` and `pprint`.)r!r rrr__repr__^szListStacksResponse.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherrrr__eq__bs zListStacksResponse.__eq__cCs ||k S)z*Return true if both objects are not equal.rr$rrr__ne__iszListStacksResponse.__ne__)N)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterr r!r"r&r'rrrrrs"   r)r+rreobjectrrrrrs