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 ZdZddddddddZddd d ddd dZd0ddZedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zedd Z e j dd Z ed d! Zej d"d! Zed#d$ Zej d%d$ Zd&d' Zd(d) Zd*d+ Zd,d- Zd.d/ ZdS )1StackEventszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz list[str]zlist[StackResources]datetime) event_typenamedescriptionsources resourcesurls updated_atZ eventTyper r r r r Z updatedAtNc C s d| _ d| _d| _d| _d| _d| _d| _d| _|dk r>|| _|dk rL|| _ |dk rZ|| _ |dk rh|| _|dk rv|| _|dk r|| _ |dk r|| _dS )z)StackEvents - a model defined in OpenAPI.N)_event_type_name_description_sources _resources_urls_updated_atZ discriminatorr r r r r r r )selfr r r r r r r r T/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/stack_events.py__init__4 s, zStackEvents.__init__c C s | j S )zzGet the event_type of this StackEvents. :return: The event_type of this StackEvents. :rtype: str r r r r r r N s zStackEvents.event_typec C s || _ dS )zSet the event_type of this StackEvents. :param event_type: The event_type of this StackEvents. :type: str Nr )r r r r r r W s c C s | j S )znGet the name of this StackEvents. :return: The name of this StackEvents. :rtype: str r r r r r r ` s zStackEvents.namec C s || _ dS )zqSet the name of this StackEvents. :param name: The name of this StackEvents. :type: str Nr )r r r r r r i s c C s | j S )z|Get the description of this StackEvents. :return: The description of this StackEvents. :rtype: str r r r r r r r s zStackEvents.descriptionc C s || _ dS )zSet the description of this StackEvents. :param description: The description of this StackEvents. :type: str Nr )r r r r r r { s c C s | j S )zzGet the sources of this StackEvents. :return: The sources of this StackEvents. :rtype: list[str] r r r r r r s zStackEvents.sourcesc C s || _ dS )zSet the sources of this StackEvents. :param sources: The sources of this StackEvents. :type: list[str] Nr )r r r r r r s c C s | j S )zGet the resources of this StackEvents. :return: The resources of this StackEvents. :rtype: list[StackResources] r r r r r r s zStackEvents.resourcesc C s || _ dS )zSet the resources of this StackEvents. :param resources: The resources of this StackEvents. :type: list[StackResources] Nr )r r r r r r s c C s | j S )ztGet the urls of this StackEvents. :return: The urls of this StackEvents. :rtype: list[str] r r r r r r s zStackEvents.urlsc C s || _ dS )zwSet the urls of this StackEvents. :param urls: The urls of this StackEvents. :type: list[str] Nr )r r r r r r s c C s | j S )zGet the updated_at of this StackEvents. :return: The updated_at of this StackEvents. :rtype: datetime r r r r r r s zStackEvents.updated_atc C s || _ dS )zSet the updated_at of this StackEvents. :param updated_at: The updated_at of this StackEvents. :type: datetime Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<