U wir@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)$PatchStackRequestAdditionalResourceszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str) resource_idkindtemplate_meta_nameZ resourceIDrZtemplateMetaNameNcCs6d|_d|_d|_d|_||_||_|dk r2||_dS)zBPatchStackRequestAdditionalResources - a model defined in OpenAPI.N) _resource_id_kind_template_meta_nameZ discriminatorrrr)selfrrrr p/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/patch_stack_request_additional_resources.py__init__,sz-PatchStackRequestAdditionalResources.__init__cCs|jS)zGet the resource_id of this PatchStackRequestAdditionalResources. :return: The resource_id of this PatchStackRequestAdditionalResources. :rtype: str )rr r r r r8sz0PatchStackRequestAdditionalResources.resource_idcCs|dkrtd||_dS)zSet the resource_id of this PatchStackRequestAdditionalResources. :param resource_id: The resource_id of this PatchStackRequestAdditionalResources. :type: str Nz3Invalid value for `resource_id`, must not be `None`) ValueErrorr)r rr r r rAscCs|jS)zGet the kind of this PatchStackRequestAdditionalResources. :return: The kind of this PatchStackRequestAdditionalResources. :rtype: str )rrr r r rLsz)PatchStackRequestAdditionalResources.kindcCs|dkrtd||_dS)zSet the kind of this PatchStackRequestAdditionalResources. :param kind: The kind of this PatchStackRequestAdditionalResources. :type: str Nz,Invalid value for `kind`, must not be `None`)rr)r rr r r rUscCs|jS)zGet the template_meta_name of this PatchStackRequestAdditionalResources. :return: The template_meta_name of this PatchStackRequestAdditionalResources. :rtype: str r rr r r r`sz7PatchStackRequestAdditionalResources.template_meta_namecCs ||_dS)zSet the template_meta_name of this PatchStackRequestAdditionalResources. :param template_meta_name: The template_meta_name of this PatchStackRequestAdditionalResources. :type: str Nr)r rr r r riscCsi}|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 zz>PatchStackRequestAdditionalResources.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rrs"       z,PatchStackRequestAdditionalResources.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strsz+PatchStackRequestAdditionalResources.to_strcCs|S)zFor `print` and `pprint`.)r&rr r r __repr__sz-PatchStackRequestAdditionalResources.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s z+PatchStackRequestAdditionalResources.__eq__cCs ||k S)z*Return true if both objects are not equal.r r)r r r __ne__sz+PatchStackRequestAdditionalResources.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr&r'r+r,r r r r rs6       r)r0r$reobjectrr r r r s