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 ZdZdddddZdddd dZd#ddZed d Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zdd Zd!d" Zd S )$StackzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strdatetimezlist[StackEvents])idorg_id created_ateventsr ZorgIDZ createdAtr Nc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z#Stack - a model defined in OpenAPI.N) _id_org_id_created_at_eventsZ discriminatorr r r r )selfr r r r r M/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/stack.py__init__. s zStack.__init__c C s | j S )z^Get the id of this Stack. :return: The id of this Stack. :rtype: str r r r r r r ? s zStack.idc C s || _ dS )z_Set the id of this Stack. :param id: The id of this Stack. :type: str Nr )r r r r r r H s c C s | j S )zfGet the org_id of this Stack. :return: The org_id of this Stack. :rtype: str r r r r r r Q s zStack.org_idc C s || _ dS )zkSet the org_id of this Stack. :param org_id: The org_id of this Stack. :type: str Nr )r r r r r r Z s c C s | j S )zsGet the created_at of this Stack. :return: The created_at of this Stack. :rtype: datetime r r r r r r c s zStack.created_atc C s || _ dS )z|Set the created_at of this Stack. :param created_at: The created_at of this Stack. :type: datetime Nr )r r r r r r l s c C s | j S )ztGet the events of this Stack. :return: The events of this Stack. :rtype: list[StackEvents] r r r r r r u s zStack.eventsc C s || _ dS )zySet the events of this Stack. :param events: The events of this Stack. :type: list[StackEvents] Nr )r r r r r r ~ s c C s i }| j D ]z\}}t| |}t|trBttdd |||<