U wi@s4dZddlZddlZddlmZGdddeZdS)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 N)ScraperTargetRequestc @seZdZdZddddddddddd Zdddd d d d d ddd Zd*ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ d d!Z d"d#Zd$d%Zd&d'Zd(d)ZdS)+ScraperTargetResponsezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strobjectbool) idorgbucketlinksnametypeurlorg_id bucket_idallow_insecurerrr r r r r ZorgIDZbucketIDZ allowInsecureNFc Csrtj|||||| | dd|_d|_d|_d|_d|_|dk rD||_|dk rR||_|dk r`||_ |dk rn||_ dS)z3ScraperTargetResponse - a model defined in OpenAPI.)r r r rrrN) r__init___id_org_bucket_linksZ discriminatorrrr r ) selfrrr r r r r rrrr_/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/scraper_target_response.pyr<szScraperTargetResponse.__init__cCs|jS)z~Get the id of this ScraperTargetResponse. :return: The id of this ScraperTargetResponse. :rtype: str rrrrrrOszScraperTargetResponse.idcCs ||_dS)zSet the id of this ScraperTargetResponse. :param id: The id of this ScraperTargetResponse. :type: str Nr)rrrrrrXscCs|jS)zGet the org of this ScraperTargetResponse. The name of the organization. :return: The org of this ScraperTargetResponse. :rtype: str rrrrrras zScraperTargetResponse.orgcCs ||_dS)zSet the org of this ScraperTargetResponse. The name of the organization. :param org: The org of this ScraperTargetResponse. :type: str Nr)rrrrrrls cCs|jS)zGet the bucket of this ScraperTargetResponse. The bucket name. :return: The bucket of this ScraperTargetResponse. :rtype: str rrrrrr ws zScraperTargetResponse.bucketcCs ||_dS)zSet the bucket of this ScraperTargetResponse. The bucket name. :param bucket: The bucket of this ScraperTargetResponse. :type: str Nr)rr rrrr s cCs|jS)zGet the links of this ScraperTargetResponse. :return: The links of this ScraperTargetResponse. :rtype: object rrrrrr szScraperTargetResponse.linkscCs ||_dS)zSet the links of this ScraperTargetResponse. :param links: The links of this ScraperTargetResponse. :type: object Nr)rr rrrr 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)xrrrz/ScraperTargetResponse.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrr"s ) openapi_typesitemsgetattr isinstancelistmapr rdict)rresultattr_valuerrrrs"       zScraperTargetResponse.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszScraperTargetResponse.to_strcCs|S)zFor `print` and `pprint`.)r3rrrr__repr__szScraperTargetResponse.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r)r__dict__rotherrrr__eq__s zScraperTargetResponse.__eq__cCs ||k S)z*Return true if both objects are not equal.rr6rrr__ne__szScraperTargetResponse.__ne__) NNNNNNNNNF)__name__ __module__ __qualname____doc__r&Z attribute_maprpropertyrsetterrr r rr3r4r8r9rrrrrsZ         r)r=r1reZ-influxdb_client.domain.scraper_target_requestrrrrrrs