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@seZdZdZdddZdddZddd Zed d Zej d d Zed dZ e j ddZ ddZ ddZ ddZ ddZddZdS) PackageClausezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZ Identifier)typenamerrNcCs2d|_d|_d|_|dk r ||_|dk r.||_dS)z+PackageClause - a model defined in OpenAPI.N)_type_nameZ discriminatorrr)selfrrr V/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/package_clause.py__init__*szPackageClause.__init__cCs|jS)zGet the type of this PackageClause. Type of AST node :return: The type of this PackageClause. :rtype: str rrr r r r5s zPackageClause.typecCs ||_dS)zSet the type of this PackageClause. Type of AST node :param type: The type of this PackageClause. :type: str Nr )rrr r r r@s cCs|jS)zyGet the name of this PackageClause. :return: The name of this PackageClause. :rtype: Identifier rr r r r rKszPackageClause.namecCs ||_dS)z|Set the name of this PackageClause. :param name: The name of this PackageClause. :type: Identifier Nr)rrr r r rTscCsi}|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 r ez'PackageClause.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rls ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuer r r r]s"       zPackageClause.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrr r r r to_struszPackageClause.to_strcCs|S)zFor `print` and `pprint`.)r$r r r r __repr__yszPackageClause.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherr r r __eq__}s zPackageClause.__eq__cCs ||k S)z*Return true if both objects are not equal.r r'r r r __ne__szPackageClause.__ne__)NN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrr$r%r)r*r r r r rs*     r)r.r"reobjectrr r r r s