U wiB@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@seZdZdZddddZddddZddd Zed d Zej d d Zed dZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)NotificationEndpointUpdatezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)name descriptionstatusrrrNcCsFd|_d|_d|_d|_|dk r&||_|dk r4||_|dk rB||_dS)z8NotificationEndpointUpdate - a model defined in OpenAPI.N)_name _description_statusZ discriminatorrrr)selfrrrr d/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/notification_endpoint_update.py__init__,sz#NotificationEndpointUpdate.__init__cCs|jS)zGet the name of this NotificationEndpointUpdate. :return: The name of this NotificationEndpointUpdate. :rtype: str rr r r r r:szNotificationEndpointUpdate.namecCs ||_dS)zSet the name of this NotificationEndpointUpdate. :param name: The name of this NotificationEndpointUpdate. :type: str Nr)r rr r r rCscCs|jS)zGet the description of this NotificationEndpointUpdate. :return: The description of this NotificationEndpointUpdate. :rtype: str rrr r r rLsz&NotificationEndpointUpdate.descriptioncCs ||_dS)zSet the description of this NotificationEndpointUpdate. :param description: The description of this NotificationEndpointUpdate. :type: str Nr)r rr r r rUscCs|jS)zGet the status of this NotificationEndpointUpdate. :return: The status of this NotificationEndpointUpdate. :rtype: str r rr r r r^sz!NotificationEndpointUpdate.statuscCs ||_dS)zSet the status of this NotificationEndpointUpdate. :param status: The status of this NotificationEndpointUpdate. :type: str Nr)r rr r r rgscCsi}|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)xr r r xz4NotificationEndpointUpdate.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rps"       z"NotificationEndpointUpdate.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strsz!NotificationEndpointUpdate.to_strcCs|S)zFor `print` and `pprint`.)r'rr r r __repr__sz#NotificationEndpointUpdate.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s z!NotificationEndpointUpdate.__eq__cCs ||k S)z*Return true if both objects are not equal.r r*r r r __ne__sz!NotificationEndpointUpdate.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr'r(r,r-r r r r rs6       r)r1r%reobjectrr r r r s