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) OrganizationszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZLinkszlist[Organization])linksorgsrrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z+Organizations - a model defined in OpenAPI.N)_links_orgsZ discriminatorrr)selfrrrU/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/organizations.py__init__*szOrganizations.__init__cCs|jS)zvGet the links of this Organizations. :return: The links of this Organizations. :rtype: Links rrrrr r5szOrganizations.linkscCs ||_dS)zzSet the links of this Organizations. :param links: The links of this Organizations. :type: Links Nr )rrrrr r>scCs|jS)zGet the orgs of this Organizations. :return: The orgs of this Organizations. :rtype: list[Organization] rr rrr rGszOrganizations.orgscCs ||_dS)zSet the orgs of this Organizations. :param orgs: The orgs of this Organizations. :type: list[Organization] 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 az'Organizations.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrr rhs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrr rYs"       zOrganizations.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrr rrr to_strqszOrganizations.to_strcCs|S)zFor `print` and `pprint`.)r#r rrr __repr__uszOrganizations.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherrrr __eq__ys zOrganizations.__eq__cCs ||k S)z*Return true if both objects are not equal.rr&rrr __ne__szOrganizations.__ne__)NN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrr#r$r(r)rrrr rs*     r)r-r!reobjectrrrrr s