U wi@s(dZddlZddlZGdddeZdS)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@seZdZdZdddddZdddddZd"d d Zed d Zej dd ZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZddZd 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])typepathpackagefilesrrrrNcCsZd|_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 discriminatorrrrr)selfrrrrr O/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/package.py__init__.szPackage.__init__cCs|jS)zGet the type of this Package. Type of AST node :return: The type of this Package. :rtype: str rr r r rr?s z Package.typecCs ||_dS)zSet the type of this Package. Type of AST node :param type: The type of this Package. :type: str Nr)r rr r rrJs cCs|jS)zGet the path of this Package. Package import path :return: The path of this Package. :rtype: str r rr r rrUs z Package.pathcCs ||_dS)zSet the path of this Package. Package import path :param path: The path of this Package. :type: str Nr)r rr r rr`s cCs|jS)zGet the package of this Package. Package name :return: The package of this Package. :rtype: str r rr r rrks zPackage.packagecCs ||_dS)zSet the package of this Package. Package name :param package: The package of this Package. :type: str Nr)r rr r rrvs cCs|jS)zGet the files of this Package. Package files :return: The files of this Package. :rtype: list[File] r rr r rrs z Package.filescCs ||_dS)zSet the files of this Package. Package files :param files: The files of this Package. :type: list[File] Nr)r rr r rrs cCsi}|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)xr r rz!Package.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r rrs"       zPackage.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszPackage.to_strcCs|S)zFor `print` and `pprint`.)r*rr r r__repr__szPackage.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r r__dict__r otherr r r__eq__s zPackage.__eq__cCs ||k S)z*Return true if both objects are not equal.r r-r r r__ne__szPackage.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrrr*r+r/r0r r r rrsB         r)r4r(reobjectrr r r rs