U wi @ s( d Z ddlZddlZG dd deZdS )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 e Zd ZdZdddZdddZddd Zed d Zej dd Zed d Z e j dd Z dd Zdd Zdd Z dd Zdd ZdS ) OrganizationszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ZLinkszlist[Organization])linksorgsr r Nc C s2 d| _ d| _d| _|dk r || _|dk r.|| _dS )z+Organizations - a model defined in OpenAPI.N)_links_orgsZ discriminatorr r )selfr r r U/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/organizations.py__init__* s zOrganizations.__init__c C s | j S )zvGet the links of this Organizations. :return: The links of this Organizations. :rtype: Links r r r r r r 5 s zOrganizations.linksc C s || _ dS )zzSet the links of this Organizations. :param links: The links of this Organizations. :type: Links Nr )r r r r r r > s c C s | j S )zGet the orgs of this Organizations. :return: The orgs of this Organizations. :rtype: list[Organization] r r r r r r G s zOrganizations.orgsc C s || _ dS )zSet the orgs of this Organizations. :param orgs: The orgs of this Organizations. :type: list[Organization] Nr )r r r r r r P s c C s i }| j D ]z\}}t| |}t|trBttdd |||<