U wi@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@seZdZdZdddddddZddd 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 Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+Zd S)-StackResourceszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZ TemplateKindzlist[StackAssociations]Z StackLinks) api_version resource_idkindtemplate_meta_name associationslinksZ apiVersionZ resourceIDrZtemplateMetaNamerr NcCsd|_d|_d|_d|_d|_d|_d|_|dk r8||_|dk rF||_|dk rT||_ |dk rb||_ |dk rp||_ |dk r~||_ dS)z,StackResources - a model defined in OpenAPI.N) _api_version _resource_id_kind_template_meta_name _associations_linksZ discriminatorrrrrrr )selfrrrrrr rW/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/stack_resources.py__init__2s&zStackResources.__init__cCs|jS)zGet the api_version of this StackResources. :return: The api_version of this StackResources. :rtype: str r rrrrrIszStackResources.api_versioncCs ||_dS)zSet the api_version of this StackResources. :param api_version: The api_version of this StackResources. :type: str Nr)rrrrrrRscCs|jS)zGet the resource_id of this StackResources. :return: The resource_id of this StackResources. :rtype: str r rrrrr[szStackResources.resource_idcCs ||_dS)zSet the resource_id of this StackResources. :param resource_id: The resource_id of this StackResources. :type: str Nr)rrrrrrdscCs|jS)z}Get the kind of this StackResources. :return: The kind of this StackResources. :rtype: TemplateKind r rrrrrmszStackResources.kindcCs ||_dS)zSet the kind of this StackResources. :param kind: The kind of this StackResources. :type: TemplateKind Nr)rrrrrrvscCs|jS)zGet the template_meta_name of this StackResources. :return: The template_meta_name of this StackResources. :rtype: str r rrrrrsz!StackResources.template_meta_namecCs ||_dS)zSet the template_meta_name of this StackResources. :param template_meta_name: The template_meta_name of this StackResources. :type: str Nr)rrrrrrscCs|jS)zGet the associations of this StackResources. :return: The associations of this StackResources. :rtype: list[StackAssociations] rrrrrrszStackResources.associationscCs ||_dS)zSet the associations of this StackResources. :param associations: The associations of this StackResources. :type: list[StackAssociations] Nr)rrrrrrscCs|jS)z}Get the links of this StackResources. :return: The links of this StackResources. :rtype: StackLinks rrrrrr szStackResources.linkscCs ||_dS)zSet the links of this StackResources. :param links: The links of this StackResources. :type: StackLinks 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(StackResources.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zStackResources.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszStackResources.to_strcCs|S)zFor `print` and `pprint`.)r0rrrr__repr__szStackResources.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r&r__dict__rotherrrr__eq__s zStackResources.__eq__cCs ||k S)z*Return true if both objects are not equal.rr3rrr__ne__szStackResources.__ne__)NNNNNN)__name__ __module__ __qualname____doc__r#Z attribute_maprpropertyrsetterrrrrr rr0r1r5r6rrrrrsZ              r)r:r.reobjectrrrrrs