U wâ’i­'ã@s(dZddlZddlZGdd„deƒZdS)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˜eZdZdZddddddddddddœ Zdd d d d d ddddddœ ZdBdd„Zedd„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ ed d!„ƒZ e j d"d!„ƒZ ed#d$„ƒZ e j d%d$„ƒZ ed&d'„ƒZej d(d'„ƒZed)d*„ƒZej d+d*„ƒZed,d-„ƒZej d.d-„ƒZed/d0„ƒZej d1d0„ƒZed2d3„ƒZej d4d3„ƒZed5d6„ƒZej d7d6„ƒZd8d9„Zd:d;„Zdd?„Zd@dA„ZdS)CÚNotificationEndpointBasez‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrÚdatetimez list[Label]ZNotificationEndpointBaseLinksZNotificationEndpointType) ÚidÚorg_idÚuser_idÚ created_atÚ updated_atÚ descriptionÚnameÚstatusÚlabelsÚlinksÚtyperZorgIDZuserIDZ createdAtZ updatedAtr r r r rrNÚactivec CsÖd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ |dk rV||_ |dk rd||_ |dk rr||_|dk r€||_|dk rŽ||_|dk rœ||_||_|dk r°||_| dk r¾| |_| dk rÌ| |_| |_dS)z6NotificationEndpointBase - a model defined in OpenAPI.N)Ú_idÚ_org_idÚ_user_idÚ _created_atÚ _updated_atÚ _descriptionÚ_nameÚ_statusÚ_labelsÚ_linksÚ_typeZ discriminatorrrrrr r r r r rr) Úselfrrrrr r r r r rr©rúb/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/notification_endpoint_base.pyÚ__init__<s@z!NotificationEndpointBase.__init__cCs|jS)z„Get the id of this NotificationEndpointBase. :return: The id of this NotificationEndpointBase. :rtype: str ©r©rrrrr`szNotificationEndpointBase.idcCs ||_dS)z…Set the id of this NotificationEndpointBase. :param id: The id of this NotificationEndpointBase. :type: str Nr )rrrrrriscCs|jS)zŒGet the org_id of this NotificationEndpointBase. :return: The org_id of this NotificationEndpointBase. :rtype: str ©rr!rrrrrszNotificationEndpointBase.org_idcCs ||_dS)z‘Set the org_id of this NotificationEndpointBase. :param org_id: The org_id of this NotificationEndpointBase. :type: str Nr")rrrrrr{scCs|jS)zŽGet the user_id of this NotificationEndpointBase. :return: The user_id of this NotificationEndpointBase. :rtype: str ©rr!rrrr„sz NotificationEndpointBase.user_idcCs ||_dS)z”Set the user_id of this NotificationEndpointBase. :param user_id: The user_id of this NotificationEndpointBase. :type: str Nr#)rrrrrrscCs|jS)z™Get the created_at of this NotificationEndpointBase. :return: The created_at of this NotificationEndpointBase. :rtype: datetime ©rr!rrrr–sz#NotificationEndpointBase.created_atcCs ||_dS)z¢Set the created_at of this NotificationEndpointBase. :param created_at: The created_at of this NotificationEndpointBase. :type: datetime Nr$)rrrrrrŸscCs|jS)z™Get the updated_at of this NotificationEndpointBase. :return: The updated_at of this NotificationEndpointBase. :rtype: datetime ©rr!rrrr ¨sz#NotificationEndpointBase.updated_atcCs ||_dS)z¢Set the updated_at of this NotificationEndpointBase. :param updated_at: The updated_at of this NotificationEndpointBase. :type: datetime Nr%)rr rrrr ±scCs|jS)zÕGet the description of this NotificationEndpointBase. An optional description of the notification endpoint. :return: The description of this NotificationEndpointBase. :rtype: str ©rr!rrrr ºs z$NotificationEndpointBase.descriptioncCs ||_dS)zßSet the description of this NotificationEndpointBase. An optional description of the notification endpoint. :param description: The description of this NotificationEndpointBase. :type: str Nr&)rr rrrr Ås cCs|jS)zˆGet the name of this NotificationEndpointBase. :return: The name of this NotificationEndpointBase. :rtype: str )rr!rrrr ÐszNotificationEndpointBase.namecCs|dkrtdƒ‚||_dS)z‹Set the name of this NotificationEndpointBase. :param name: The name of this NotificationEndpointBase. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr)rr rrrr ÙscCs|jS)z±Get the status of this NotificationEndpointBase. The status of the endpoint. :return: The status of this NotificationEndpointBase. :rtype: str ©rr!rrrr äs zNotificationEndpointBase.statuscCs ||_dS)z¶Set the status of this NotificationEndpointBase. The status of the endpoint. :param status: The status of this NotificationEndpointBase. :type: str Nr()rr rrrr ïs cCs|jS)z”Get the labels of this NotificationEndpointBase. :return: The labels of this NotificationEndpointBase. :rtype: list[Label] ©rr!rrrr úszNotificationEndpointBase.labelscCs ||_dS)z™Set the labels of this NotificationEndpointBase. :param labels: The labels of this NotificationEndpointBase. :type: list[Label] Nr))rr rrrr scCs|jS)z¤Get the links of this NotificationEndpointBase. :return: The links of this NotificationEndpointBase. :rtype: NotificationEndpointBaseLinks ©rr!rrrr szNotificationEndpointBase.linkscCs ||_dS)z¨Set the links of this NotificationEndpointBase. :param links: The links of this NotificationEndpointBase. :type: NotificationEndpointBaseLinks Nr*)rrrrrrscCs|jS)zGet the type of this NotificationEndpointBase. :return: The type of this NotificationEndpointBase. :rtype: NotificationEndpointType )rr!rrrrszNotificationEndpointBase.typecCs|dkrtdƒ‚||_dS)z Set the type of this NotificationEndpointBase. :param type: The type of this NotificationEndpointBase. :type: NotificationEndpointType Nz,Invalid value for `type`, must not be `None`)r'r)rrrrrr'scCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr+)ÚxrrrÚ:óz2NotificationEndpointBase.to_dict..r+cSs&t|ddƒr"|d|d ¡fS|S)Nér+rr,)Úitemrrrr/As ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmapr-r+Údict)rÚresultÚattrÚ_Úvaluerrrr+2s"  þ   ý  z NotificationEndpointBase.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatr+r!rrrÚto_strJszNotificationEndpointBase.to_strcCs| ¡S)zFor `print` and `pprint`.)r@r!rrrÚ__repr__Nsz!NotificationEndpointBase.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r6rÚ__dict__©rÚotherrrrÚ__eq__Rs zNotificationEndpointBase.__eq__cCs ||k S)z*Return true if both objects are not equal.rrCrrrÚ__ne__YszNotificationEndpointBase.__ne__) NNNNNNNrNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r3Z attribute_maprÚpropertyrÚsetterrrrr r r r r rrr+r@rArErFrrrrrs–õõ $                      r)rJr>ÚreÚobjectrrrrrÚs