U wâ’iE ã@s(dZddlZddlZGdd„deƒZdS)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@sleZdZdZddiZddiZddd„Zedd „ƒZej d d „ƒZd d „Z d d„Z dd„Z dd„Z dd„ZdS)Ú ShardOwnerz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Únode_idÚintZnodeIDNcCsd|_d|_||_dS)z(ShardOwner - a model defined in OpenAPI.N)Ú_node_idZ discriminatorr©Úselfr©rúS/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/shard_owner.pyÚ__init__(szShardOwner.__init__cCs|jS)z£Get the node_id of this ShardOwner. The ID of the node that owns the shard. :return: The node_id of this ShardOwner. :rtype: int )r©rrrr r/s zShardOwner.node_idcCs|dkrtdƒ‚||_dS)z©Set the node_id of this ShardOwner. The ID of the node that owns the shard. :param node_id: The node_id of this ShardOwner. :type: int Nz/Invalid value for `node_id`, must not be `None`)Ú ValueErrorrrrrr r:s cCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr )Úxrrr ÚOóz$ShardOwner.to_dict..r cSs&t|ddƒr"|d|d ¡fS|S)Nér rr)Úitemrrr rVs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprr Údict)rÚresultÚattrÚ_Úvaluerrr r Gs"  þ   ý  zShardOwner.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatr r rrr Úto_str_szShardOwner.to_strcCs| ¡S)zFor `print` and `pprint`.)r"r rrr Ú__repr__cszShardOwner.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)rrÚ__dict__©rÚotherrrr Ú__eq__gs zShardOwner.__eq__cCs ||k S)z*Return true if both objects are not equal.rr%rrr Ú__ne__nszShardOwner.__ne__)N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rZ attribute_mapr ÚpropertyrÚsetterr r"r#r'r(rrrr rs"ÿÿ   r)r,r ÚreÚobjectrrrrr Ús