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@s eZdZdZddddddddZdddd d d d dZd/ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ edd Zej d!d Zed"d#Zej d$d#Zd%d&Zd'd(Zd)d*Zd+d,Zd-d.Zd S)0CellzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZ CellLinksint)idlinksxywhview_idrrrrr r ZviewIDNcCsd|_d|_d|_d|_d|_d|_d|_d|_|dk r>||_|dk rL||_ |dk rZ||_ |dk rh||_ |dk rv||_ |dk r||_ |dk r||_dS)z"Cell - a model defined in OpenAPI.N)_id_links_x_y_w_h_view_idZ discriminatorrrrrr r r )selfrrrrr r r rL/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/cell.py__init__4s,z Cell.__init__cCs|jS)z\Get the id of this Cell. :return: The id of this Cell. :rtype: str r rrrrrNszCell.idcCs ||_dS)z]Set the id of this Cell. :param id: The id of this Cell. :type: str Nr)rrrrrrWscCs|jS)zhGet the links of this Cell. :return: The links of this Cell. :rtype: CellLinks r rrrrr`sz Cell.linkscCs ||_dS)zlSet the links of this Cell. :param links: The links of this Cell. :type: CellLinks Nr)rrrrrriscCs|jS)zZGet the x of this Cell. :return: The x of this Cell. :rtype: int rrrrrrrszCell.xcCs ||_dS)zZSet the x of this Cell. :param x: The x of this Cell. :type: int Nr)rrrrrr{scCs|jS)zZGet the y of this Cell. :return: The y of this Cell. :rtype: int rrrrrrszCell.ycCs ||_dS)zZSet the y of this Cell. :param y: The y of this Cell. :type: int Nr)rrrrrrscCs|jS)zZGet the w of this Cell. :return: The w of this Cell. :rtype: int rrrrrr szCell.wcCs ||_dS)zZSet the w of this Cell. :param w: The w of this Cell. :type: int Nr)rr rrrr scCs|jS)zZGet the h of this Cell. :return: The h of this Cell. :rtype: int rrrrrr szCell.hcCs ||_dS)zZSet the h of this Cell. :param h: The h of this Cell. :type: int Nr)rr rrrr scCs|jS)zGet the view_id of this Cell. The reference to a view from the views API. :return: The view_id of this Cell. :rtype: str rrrrrr s z Cell.view_idcCs ||_dS)zSet the view_id of this Cell. The reference to a view from the views API. :param view_id: The view_id of this Cell. :type: str Nr)rr rrrr s 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)rrrrzCell.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr )itemrrrr"s ) openapi_typesitemsgetattr isinstancelistmapr!rdict)rresultattr_valuerrrrs"       z Cell.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strsz Cell.to_strcCs|S)zFor `print` and `pprint`.)r3rrrr__repr__sz Cell.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r)r__dict__rotherrrr__eq__s z Cell.__eq__cCs ||k S)z*Return true if both objects are not equal.rr6rrr__ne__sz Cell.__ne__)NNNNNNN)__name__ __module__ __qualname____doc__r&Z attribute_maprpropertyrsetterrrrr r r rr3r4r8r9rrrrrsf                r)r=r1reobjectrrrrrs