U wâ’i•ã@s(dZddlZddlZGdd„deƒZdS)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ÆeZdZdZdddddœZdddd dœZd#d d „Zed d„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ dd„Z dd„Zdd„Zdd „Zd!d"„Zd S)$ÚViewz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Z ViewLinksÚstrZViewProperties)ÚlinksÚidÚnameÚ propertiesrrrrNcCsJd|_d|_d|_d|_d|_|dk r,||_|dk r:||_||_||_dS)z"View - a model defined in OpenAPI.N) Ú_linksÚ_idÚ_nameÚ _propertiesZ discriminatorrrrr)Úselfrrrr©r úL/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/view.pyÚ__init__.sz View.__init__cCs|jS)zhGet the links of this View. :return: The links of this View. :rtype: ViewLinks ©r©r r r rr=sz View.linkscCs ||_dS)zlSet the links of this View. :param links: The links of this View. :type: ViewLinks Nr)r rr r rrFscCs|jS)z\Get the id of this View. :return: The id of this View. :rtype: str ©r rr r rrOszView.idcCs ||_dS)z]Set the id of this View. :param id: The id of this View. :type: str Nr)r rr r rrXscCs|jS)z`Get the name of this View. :return: The name of this View. :rtype: str )r rr r rrasz View.namecCs|dkrtdƒ‚||_dS)zcSet the name of this View. :param name: The name of this View. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr )r rr r rrjscCs|jS)zwGet the properties of this View. :return: The properties of this View. :rtype: ViewProperties )r rr r rruszView.propertiescCs|dkrtdƒ‚||_dS)z€Set the properties of this View. :param properties: The properties of this View. :type: ViewProperties Nz2Invalid value for `properties`, must not be `None`)rr )r rr r rr~scCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr)Úxr r rÚ‘ózView.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemr r rr˜s ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)r ÚresultÚattrÚ_Úvaluer r rr‰s"  þ   ý  z View.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrr r rÚto_str¡sz View.to_strcCs| ¡S)zFor `print` and `pprint`.)r)rr r rÚ__repr__¥sz View.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©r Úotherr r rÚ__eq__©s z View.__eq__cCs ||k S)z*Return true if both objects are not equal.r r,r r rÚ__ne__°sz View.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_maprÚpropertyrÚsetterrrrrr)r*r.r/r r r rrsBüü         r)r3r'ÚreÚobjectrr r r rÚs