U wi @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@seZdZdZdddZdddZddd Zed d Zej d d Zed dZ e j ddZ ddZ ddZ ddZ ddZddZdS)ViewszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Z ViewLinksz list[View])linksviewsrrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z#Views - a model defined in OpenAPI.N)_links_viewsZ discriminatorrr)selfrrrM/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/views.py__init__*szViews.__init__cCs|jS)zjGet the links of this Views. :return: The links of this Views. :rtype: ViewLinks rrrrr r5sz Views.linkscCs ||_dS)znSet the links of this Views. :param links: The links of this Views. :type: ViewLinks Nr )rrrrr r>scCs|jS)zkGet the views of this Views. :return: The views of this Views. :rtype: list[View] rr rrr rGsz Views.viewscCs ||_dS)zoSet the views of this Views. :param views: The views of this Views. :type: list[View] Nr )rrrrr rPscCsi}|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)xrrr azViews.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrr rhs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrr rYs"       z Views.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrr rrr to_strqsz Views.to_strcCs|S)zFor `print` and `pprint`.)r#r rrr __repr__uszViews.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherrrr __eq__ys z Views.__eq__cCs ||k S)z*Return true if both objects are not equal.rr&rrr __ne__sz Views.__ne__)NN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrr#r$r(r)rrrr rs*     r)r-r!reobjectrrrrr s