U wiS @ s4 d Z ddlZddlZddlmZ G 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 N)!NotificationEndpointDiscriminatorc @ s e Zd ZdZdddddddddddddd Zdd d ddd dddddddd Zd*ddZedd Zej dd Zedd Z e j dd Z d d! Zd"d# Zd$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. strdatetimezlist[Label]ZNotificationEndpointBaseLinksZNotificationEndpointType) client_urlrouting_keyidorg_iduser_id created_at updated_atdescriptionnamestatuslabelslinkstypeZ clientURLZ routingKeyr ZorgIDZuserIDZ createdAtZ updatedAtr r r r r r Nactive pagerdutyc C sL t j| ||||||| | ||| d d| _d| _d| _|dk rB|| _|| _dS )z;PagerDutyNotificationEndpoint - a model defined in OpenAPI.)r r r r r r r r r r r N)r __init___client_url_routing_keyZ discriminatorr r )selfr r r r r r r r r r r r r r h/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/pager_duty_notification_endpoint.pyr B s "z&PagerDutyNotificationEndpoint.__init__c C s | j S )zGet the client_url of this PagerDutyNotificationEndpoint. :return: The client_url of this PagerDutyNotificationEndpoint. :rtype: str r r r r r r N s z(PagerDutyNotificationEndpoint.client_urlc C s || _ dS )zSet the client_url of this PagerDutyNotificationEndpoint. :param client_url: The client_url of this PagerDutyNotificationEndpoint. :type: str Nr )r r r r r r W s c C s | j S )zGet the routing_key of this PagerDutyNotificationEndpoint. :return: The routing_key of this PagerDutyNotificationEndpoint. :rtype: str )r r r r r r ` s z)PagerDutyNotificationEndpoint.routing_keyc C s |dkrt d|| _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 )r r r r r r i s c C s i }| j D ]z\}}t| |}t|trBttdd |||<