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 ZdZdddddZdddddZd"d dZedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zdd Zd d! Zd S )#PackagezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz list[File])typepathpackagefilesr r r r Nc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z%Package - a model defined in OpenAPI.N) _type_path_package_filesZ discriminatorr r r r )selfr r r r r O/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/package.py__init__. s zPackage.__init__c C s | j S )zGet the type of this Package. Type of AST node :return: The type of this Package. :rtype: str r r r r r r ? s zPackage.typec C s || _ dS )zSet the type of this Package. Type of AST node :param type: The type of this Package. :type: str Nr )r r r r r r J s c C s | j S )zGet the path of this Package. Package import path :return: The path of this Package. :rtype: str r r r r r r U s zPackage.pathc C s || _ dS )zSet the path of this Package. Package import path :param path: The path of this Package. :type: str Nr )r r r r r r ` s c C s | j S )zGet the package of this Package. Package name :return: The package of this Package. :rtype: str r r r r r r k s zPackage.packagec C s || _ dS )zSet the package of this Package. Package name :param package: The package of this Package. :type: str Nr )r r r r r r v s c C s | j S )zGet the files of this Package. Package files :return: The files of this Package. :rtype: list[File] r r r r r r s z Package.filesc C s || _ dS )zSet the files of this Package. Package files :param files: The files of this Package. :type: list[File] Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<