U wâ’iMã@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@seZdZdZdddddddœZddddd d dœZd+d d„Zedd„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZej d d„ƒZd!d"„Zd#d$„Zd%d&„Zd'd(„Zd)d*„Zd S),ÚScraperTargetRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrÚbool)ÚnameÚtypeÚurlÚorg_idÚ bucket_idÚallow_insecurerrrZorgIDZbucketIDZ allowInsecureNFcCs‚d|_d|_d|_d|_d|_d|_d|_|dk r8||_|dk rF||_|dk rT||_ |dk rb||_ |dk rp||_ |dk r~||_ dS)z2ScraperTargetRequest - a model defined in OpenAPI.N) Ú_nameÚ_typeÚ_urlÚ_org_idÚ _bucket_idÚ_allow_insecureZ discriminatorrrrrr r )Úselfrrrrr r ©rú^/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/scraper_target_request.pyÚ__init__2s&zScraperTargetRequest.__init__cCs|jS)z©Get the name of this ScraperTargetRequest. The name of the scraper target. :return: The name of this ScraperTargetRequest. :rtype: str ©r ©rrrrrIs zScraperTargetRequest.namecCs ||_dS)z¬Set the name of this ScraperTargetRequest. The name of the scraper target. :param name: The name of this ScraperTargetRequest. :type: str Nr)rrrrrrTs cCs|jS)z¯Get the type of this ScraperTargetRequest. The type of the metrics to be parsed. :return: The type of this ScraperTargetRequest. :rtype: str ©r rrrrr_s zScraperTargetRequest.typecCs ||_dS)z²Set the type of this ScraperTargetRequest. The type of the metrics to be parsed. :param type: The type of this ScraperTargetRequest. :type: str Nr)rrrrrrjs cCs|jS)z¨Get the url of this ScraperTargetRequest. The URL of the metrics endpoint. :return: The url of this ScraperTargetRequest. :rtype: str ©r rrrrrus zScraperTargetRequest.urlcCs ||_dS)zªSet the url of this ScraperTargetRequest. The URL of the metrics endpoint. :param url: The url of this ScraperTargetRequest. :type: str Nr)rrrrrr€s cCs|jS)z¢Get the org_id of this ScraperTargetRequest. The organization ID. :return: The org_id of this ScraperTargetRequest. :rtype: str ©rrrrrr‹s zScraperTargetRequest.org_idcCs ||_dS)z§Set the org_id of this ScraperTargetRequest. The organization ID. :param org_id: The org_id of this ScraperTargetRequest. :type: str Nr)rrrrrr–s cCs|jS)zµGet the bucket_id of this ScraperTargetRequest. The ID of the bucket to write to. :return: The bucket_id of this ScraperTargetRequest. :rtype: str ©rrrrrr ¡s zScraperTargetRequest.bucket_idcCs ||_dS)z½Set the bucket_id of this ScraperTargetRequest. The ID of the bucket to write to. :param bucket_id: The bucket_id of this ScraperTargetRequest. :type: str Nr)rr rrrr ¬s cCs|jS)zÁGet the allow_insecure of this ScraperTargetRequest. Skip TLS verification on endpoint. :return: The allow_insecure of this ScraperTargetRequest. :rtype: bool ©rrrrrr ·s z#ScraperTargetRequest.allow_insecurecCs ||_dS)zÎSet the allow_insecure of this ScraperTargetRequest. Skip TLS verification on endpoint. :param allow_insecure: The allow_insecure of this ScraperTargetRequest. :type: bool Nr)rr rrrr Â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ÚÕóz.ScraperTargetRequest.to_dict..rcSs&t|ddƒr"|d|d ¡fS|S)Nérrr)Úitemrrrr Üs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistÚmaprrÚdict)rÚresultÚattrÚ_ÚvaluerrrrÍs"  þ   ý  zScraperTargetRequest.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatrrrrrÚto_stråszScraperTargetRequest.to_strcCs| ¡S)zFor `print` and `pprint`.)r1rrrrÚ__repr__észScraperTargetRequest.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r'rÚ__dict__©rÚotherrrrÚ__eq__ís zScraperTargetRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.rr4rrrÚ__ne__ôszScraperTargetRequest.__ne__)NNNNNF)Ú__name__Ú __module__Ú __qualname__Ú__doc__r$Z attribute_maprÚpropertyrÚsetterrrrr r rr1r2r6r7rrrrrsZú ú             r)r;r/ÚreÚobjectrrrrrÚs