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 ZdZddddZddddZddd Zed d Zej dd Zed d Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )NotificationRuleUpdatezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)namedescriptionstatusr r r Nc C sF d| _ d| _d| _d| _|dk r&|| _|dk r4|| _|dk rB|| _dS )z4NotificationRuleUpdate - a model defined in OpenAPI.N)_name_description_statusZ discriminatorr r r )selfr r r r `/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/notification_rule_update.py__init__, s zNotificationRuleUpdate.__init__c C s | j S )zGet the name of this NotificationRuleUpdate. :return: The name of this NotificationRuleUpdate. :rtype: str r r r r r r : s zNotificationRuleUpdate.namec C s || _ dS )zSet the name of this NotificationRuleUpdate. :param name: The name of this NotificationRuleUpdate. :type: str Nr )r r r r r r C s c C s | j S )zGet the description of this NotificationRuleUpdate. :return: The description of this NotificationRuleUpdate. :rtype: str r r r r r r L s z"NotificationRuleUpdate.descriptionc C s || _ dS )zSet the description of this NotificationRuleUpdate. :param description: The description of this NotificationRuleUpdate. :type: str Nr )r r r r r r U s c C s | j S )zGet the status of this NotificationRuleUpdate. :return: The status of this NotificationRuleUpdate. :rtype: str r r r r r r ^ s zNotificationRuleUpdate.statusc C s || _ dS )zSet the status of this NotificationRuleUpdate. :param status: The status of this NotificationRuleUpdate. :type: str Nr )r r r r r r g s c C s i }| j D ]z\}}t| |}t|trBttdd |||<