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 ZdZddddZddddZdd d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )SubscriptionManifestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz list[str])namemodedestinationsr r r Nc C s. d| _ d| _d| _d| _|| _|| _|| _dS )z2SubscriptionManifest - a model defined in OpenAPI.N)_name_mode _destinationsZ discriminatorr r r )selfr r r r ]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/subscription_manifest.py__init__, s zSubscriptionManifest.__init__c C s | j S )zGet the name of this SubscriptionManifest. :return: The name of this SubscriptionManifest. :rtype: str )r r r r r r 7 s zSubscriptionManifest.namec C s |dkrt d|| _dS )zSet the name of this SubscriptionManifest. :param name: The name of this SubscriptionManifest. :type: str Nz,Invalid value for `name`, must not be `None`) ValueErrorr )r r r r r r @ s c C s | j S )zGet the mode of this SubscriptionManifest. :return: The mode of this SubscriptionManifest. :rtype: str )r r r r r r K s zSubscriptionManifest.modec C s |dkrt d|| _dS )zSet the mode of this SubscriptionManifest. :param mode: The mode of this SubscriptionManifest. :type: str Nz,Invalid value for `mode`, must not be `None`)r r )r r r r r r T s c C s | j S )zGet the destinations of this SubscriptionManifest. :return: The destinations of this SubscriptionManifest. :rtype: list[str] )r r r r r r _ s z!SubscriptionManifest.destinationsc C s |dkrt d|| _dS )zSet the destinations of this SubscriptionManifest. :param destinations: The destinations of this SubscriptionManifest. :type: list[str] Nz4Invalid value for `destinations`, must not be `None`)r r )r r r r r r h s c C s i }| j D ]z\}}t| |}t|trBttdd |||<