U viV@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@seZdZdZddddZddddZddd Zed d Zej d d Zed dZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)LinkszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)next_selfprevrselfrNcCs>d|_d|_d|_d|_|dk r&||_||_|dk r:||_dS)z#Links - a model defined in OpenAPI.N)_next _Links__self_prevZ discriminatorrrr)rrrrr M/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/links.py__init__,szLinks.__init__cCs|jS)z|Get the next of this Links. URI of resource. :return: The next of this Links. :rtype: str rrr r r r9s z Links.nextcCs ||_dS)zSet the next of this Links. URI of resource. :param next: The next of this Links. :type: str Nr)rrr r r rDs cCs|jS)z~Get the _self of this Links. URI of resource. :return: The _self of this Links. :rtype: str )r rr r r rOs z Links._selfcCs|dkrtd||_dS)zSet the _self of this Links. URI of resource. :param _self: The _self of this Links. :type: str Nz-Invalid value for `_self`, must not be `None`) ValueErrorr )rrr r r rZs cCs|jS)z|Get the prev of this Links. URI of resource. :return: The prev of this Links. :rtype: str r rr r r rgs z Links.prevcCs ||_dS)zSet the prev of this Links. URI of resource. :param prev: The prev of this Links. :type: str Nr)rrr r 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 r zLinks.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuer r r r}s"       z Links.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strsz Links.to_strcCs|S)zFor `print` and `pprint`.)r'rr r r __repr__szLinks.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__rotherr r r __eq__s z Links.__eq__cCs ||k S)z*Return true if both objects are not equal.r r*r r r __ne__sz Links.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr'r(r,r-r r r r rs6       r)r1r%reobjectrr r r r s