U vi@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 d d ZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ddZ ddZddZddZdd ZdS)" CellUpdatezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. int)xywhrrrrNcCsZd|_d|_d|_d|_d|_|dk r,||_|dk r:||_|dk rH||_|dk rV||_dS)z(CellUpdate - a model defined in OpenAPI.N) _x_y_w_hZ discriminatorrrrr)selfrrrrr S/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/cell_update.py__init__.szCellUpdate.__init__cCs|jS)zfGet the x of this CellUpdate. :return: The x of this CellUpdate. :rtype: int rr r r rr?sz CellUpdate.xcCs ||_dS)zfSet the x of this CellUpdate. :param x: The x of this CellUpdate. :type: int Nr)r rr r rrHscCs|jS)zfGet the y of this CellUpdate. :return: The y of this CellUpdate. :rtype: int r rr r rrQsz CellUpdate.ycCs ||_dS)zfSet the y of this CellUpdate. :param y: The y of this CellUpdate. :type: int Nr)r rr r rrZscCs|jS)zfGet the w of this CellUpdate. :return: The w of this CellUpdate. :rtype: int r rr r rrcsz CellUpdate.wcCs ||_dS)zfSet the w of this CellUpdate. :param w: The w of this CellUpdate. :type: int Nr)r rr r rrlscCs|jS)zfGet the h of this CellUpdate. :return: The h of this CellUpdate. :rtype: int r rr r rrusz CellUpdate.hcCs ||_dS)zfSet the h of this CellUpdate. :param h: The h of this CellUpdate. :type: int Nr)r rr r rr~scCsi}|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)rr r rz$CellUpdate.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r rrs"       zCellUpdate.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszCellUpdate.to_strcCs|S)zFor `print` and `pprint`.)r)rr r r__repr__szCellUpdate.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r__eq__s zCellUpdate.__eq__cCs ||k S)z*Return true if both objects are not equal.r r,r r r__ne__szCellUpdate.__ne__)NNNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrrr)r*r.r/r r r rrsB         r)r3r'reobjectrr r r rs