U wi2@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@sjeZdZdZdddddddddddddddddddZddd d d d d ddddddddddddZd\ddZeddZej ddZedd Z e j d!d Z ed"d#Z e j d$d#Z ed%d&Z e j d'd&Z ed(d)Z e j d*d)Z ed+d,Zej d-d,Zed.d/Zej d0d/Zed1d2Zej d3d2Zed4d5Zej d6d5Zed7d8Zej d9d8Zed:d;Zej dZej d?d>Zed@dAZej dBdAZedCdDZej dEdDZedFdGZej dHdGZedIdJZej dKdJZedLdMZej dNdMZedOdPZej dQdPZdRdSZdTdUZdVdWZdXdYZdZd[ZdS)]RouteszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZRoutesExternalZ RoutesQueryZ RoutesSystem)authorizationsbuckets dashboardsexternal variablesmeflagsorgsquerysetupsigninsignoutsourcessystemtasks telegrafsuserswriterrrrrr r r r r rrrrrrrrNcCsd|_d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_|dk r||_|dk r||_|dk r||_|dk r||_|dk r||_|dk r||_|dk r||_|dk r||_| dk r| |_| dk r| |_| dk r| |_| dk r| |_| dk r.| |_|dk r>||_ |dk rN||_!|dk r^||_"|dk rn||_#|dk r~||_$dS)z$Routes - a model defined in OpenAPI.N)%_authorizations_buckets _dashboards _external _variables_me_flags_orgs_query_setup_signin_signout_sources_system_tasks _telegrafs_users_writeZ discriminatorrrrrrr r r r r rrrrrrrr)selfrrrrrr r r r r rrrrrrrrr)N/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/routes.py__init__Jsn        zRoutes.__init__cCs|jS)zxGet the authorizations of this Routes. :return: The authorizations of this Routes. :rtype: str rr(r)r)r*rszRoutes.authorizationscCs ||_dS)zSet the authorizations of this Routes. :param authorizations: The authorizations of this Routes. :type: str Nr,)r(rr)r)r*rscCs|jS)zjGet the buckets of this Routes. :return: The buckets of this Routes. :rtype: str rr-r)r)r*rszRoutes.bucketscCs ||_dS)zpSet the buckets of this Routes. :param buckets: The buckets of this Routes. :type: str Nr.)r(rr)r)r*rscCs|jS)zpGet the dashboards of this Routes. :return: The dashboards of this Routes. :rtype: str rr-r)r)r*rszRoutes.dashboardscCs ||_dS)zySet the dashboards of this Routes. :param dashboards: The dashboards of this Routes. :type: str Nr/)r(rr)r)r*rscCs|jS)zwGet the external of this Routes. :return: The external of this Routes. :rtype: RoutesExternal rr-r)r)r*rszRoutes.externalcCs ||_dS)z~Set the external of this Routes. :param external: The external of this Routes. :type: RoutesExternal Nr0)r(rr)r)r*rscCs|jS)znGet the variables of this Routes. :return: The variables of this Routes. :rtype: str rr-r)r)r*rszRoutes.variablescCs ||_dS)zvSet the variables of this Routes. :param variables: The variables of this Routes. :type: str Nr1)r(rr)r)r*rscCs|jS)z`Get the me of this Routes. :return: The me of this Routes. :rtype: str rr-r)r)r*r sz Routes.mecCs ||_dS)zaSet the me of this Routes. :param me: The me of this Routes. :type: str Nr2)r(r r)r)r*r scCs|jS)zfGet the flags of this Routes. :return: The flags of this Routes. :rtype: str rr-r)r)r*r sz Routes.flagscCs ||_dS)zjSet the flags of this Routes. :param flags: The flags of this Routes. :type: str Nr3)r(r r)r)r*r scCs|jS)zdGet the orgs of this Routes. :return: The orgs of this Routes. :rtype: str rr-r)r)r*r sz Routes.orgscCs ||_dS)zgSet the orgs of this Routes. :param orgs: The orgs of this Routes. :type: str Nr4)r(r r)r)r*r scCs|jS)znGet the query of this Routes. :return: The query of this Routes. :rtype: RoutesQuery rr-r)r)r*r sz Routes.querycCs ||_dS)zrSet the query of this Routes. :param query: The query of this Routes. :type: RoutesQuery Nr5)r(r r)r)r*r scCs|jS)zfGet the setup of this Routes. :return: The setup of this Routes. :rtype: str rr-r)r)r*r 'sz Routes.setupcCs ||_dS)zjSet the setup of this Routes. :param setup: The setup of this Routes. :type: str Nr6)r(r r)r)r*r 0scCs|jS)zhGet the signin of this Routes. :return: The signin of this Routes. :rtype: str r r-r)r)r*r9sz Routes.signincCs ||_dS)zmSet the signin of this Routes. :param signin: The signin of this Routes. :type: str Nr7)r(rr)r)r*rBscCs|jS)zjGet the signout of this Routes. :return: The signout of this Routes. :rtype: str r!r-r)r)r*rKszRoutes.signoutcCs ||_dS)zpSet the signout of this Routes. :param signout: The signout of this Routes. :type: str Nr8)r(rr)r)r*rTscCs|jS)zjGet the sources of this Routes. :return: The sources of this Routes. :rtype: str r"r-r)r)r*r]szRoutes.sourcescCs ||_dS)zpSet the sources of this Routes. :param sources: The sources of this Routes. :type: str Nr9)r(rr)r)r*rfscCs|jS)zqGet the system of this Routes. :return: The system of this Routes. :rtype: RoutesSystem r#r-r)r)r*rosz Routes.systemcCs ||_dS)zvSet the system of this Routes. :param system: The system of this Routes. :type: RoutesSystem Nr:)r(rr)r)r*rxscCs|jS)zfGet the tasks of this Routes. :return: The tasks of this Routes. :rtype: str r$r-r)r)r*rsz Routes.taskscCs ||_dS)zjSet the tasks of this Routes. :param tasks: The tasks of this Routes. :type: str Nr;)r(rr)r)r*rscCs|jS)znGet the telegrafs of this Routes. :return: The telegrafs of this Routes. :rtype: str r%r-r)r)r*rszRoutes.telegrafscCs ||_dS)zvSet the telegrafs of this Routes. :param telegrafs: The telegrafs of this Routes. :type: str Nr<)r(rr)r)r*rscCs|jS)zfGet the users of this Routes. :return: The users of this Routes. :rtype: str r&r-r)r)r*rsz Routes.userscCs ||_dS)zjSet the users of this Routes. :param users: The users of this Routes. :type: str Nr=)r(rr)r)r*rscCs|jS)zfGet the write of this Routes. :return: The write of this Routes. :rtype: str r'r-r)r)r*rsz Routes.writecCs ||_dS)zjSet the write of this Routes. :param write: The write of this Routes. :type: str Nr>)r(rr)r)r*rscCsi}|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*z Routes.to_dict..r?cSs&t|ddr"|d|dfS|S)Nr?rr@)itemr)r)r*rCs ) openapi_typesitemsgetattr isinstancelistmaprAr?dict)r(resultattr_valuer)r)r*r?s"       zRoutes.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatr?r-r)r)r*to_strsz Routes.to_strcCs|S)zFor `print` and `pprint`.)rTr-r)r)r*__repr__szRoutes.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rJr__dict__r(otherr)r)r*__eq__s z Routes.__eq__cCs ||k S)z*Return true if both objects are not equal.r)rWr)r)r*__ne__sz Routes.__ne__)NNNNNNNNNNNNNNNNNN) __name__ __module__ __qualname____doc__rGZ attribute_mapr+propertyrsetterrrrrr r r r r rrrrrrrrr?rTrUrYrZr)r)r)r*rs ;                                    r)r^rRreobjectrr)r)r)r*s