U wiS@s4dZddlZddlZddlmZGdddeZdS)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 N)!NotificationEndpointDiscriminatorc@seZdZdZdddddddddddddd Zdd d d d d dddddddd Zd*ddZeddZej ddZeddZ e j ddZ d d!Z d"d#Z d$d%Z d&d'Zd(d)ZdS)+PagerDutyNotificationEndpointzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strdatetimez list[Label]ZNotificationEndpointBaseLinksZNotificationEndpointType) client_url routing_keyidorg_iduser_id created_at updated_at descriptionnamestatuslabelslinkstypeZ clientURLZ routingKeyrZorgIDZuserIDZ createdAtZ updatedAtr rrrrrNactive pagerdutycCsLtj|||||||| | | | | d d|_d|_d|_|dk rB||_||_dS)z;PagerDutyNotificationEndpoint - a model defined in OpenAPI.) rr r r r r rrrrrN)r__init__ _client_url _routing_keyZ discriminatorrr)selfrrrr r r r r rrrrrrh/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/pager_duty_notification_endpoint.pyrBs"z&PagerDutyNotificationEndpoint.__init__cCs|jS)zGet the client_url of this PagerDutyNotificationEndpoint. :return: The client_url of this PagerDutyNotificationEndpoint. :rtype: str rrrrrrNsz(PagerDutyNotificationEndpoint.client_urlcCs ||_dS)zSet the client_url of this PagerDutyNotificationEndpoint. :param client_url: The client_url of this PagerDutyNotificationEndpoint. :type: str Nr)rrrrrrWscCs|jS)zGet the routing_key of this PagerDutyNotificationEndpoint. :return: The routing_key of this PagerDutyNotificationEndpoint. :rtype: str )rrrrrr`sz)PagerDutyNotificationEndpoint.routing_keycCs|dkrtd||_dS)zSet the routing_key of this PagerDutyNotificationEndpoint. :param routing_key: The routing_key of this PagerDutyNotificationEndpoint. :type: str Nz3Invalid value for `routing_key`, must not be `None`) ValueErrorr)rrrrrriscCsi}|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)xrrr|z7PagerDutyNotificationEndpoint.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr"s ) openapi_typesitemsgetattr isinstancelistmapr rdict)rresultattr_valuerrrrts"       z%PagerDutyNotificationEndpoint.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strsz$PagerDutyNotificationEndpoint.to_strcCs|S)zFor `print` and `pprint`.)r3rrrr__repr__sz&PagerDutyNotificationEndpoint.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r)r__dict__rotherrrr__eq__s z$PagerDutyNotificationEndpoint.__eq__cCs ||k S)z*Return true if both objects are not equal.rr6rrr__ne__sz$PagerDutyNotificationEndpoint.__ne__) NNNNNNNNNrNNr)__name__ __module__ __qualname____doc__r&Z attribute_maprpropertyrsetterrrr3r4r8r9rrrrrsV     r)r=r1reZ:influxdb_client.domain.notification_endpoint_discriminatorrrrrrrs