U wir @ s( d Z ddlZddlZG dd deZdS )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 @ s e Zd ZdZddddZddddZddd Zed d Zej dd Zed d Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )$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 resourceIDr ZtemplateMetaNameNc C s6 d| _ d| _d| _d| _|| _|| _|dk r2|| _dS )zBPatchStackRequestAdditionalResources - a model defined in OpenAPI.N)_resource_id_kind_template_meta_nameZ discriminatorr r r )selfr r r r p/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/patch_stack_request_additional_resources.py__init__, s z-PatchStackRequestAdditionalResources.__init__c C s | j S )zGet the resource_id of this PatchStackRequestAdditionalResources. :return: The resource_id of this PatchStackRequestAdditionalResources. :rtype: str )r r r r r r 8 s z0PatchStackRequestAdditionalResources.resource_idc C s |dkrt d|| _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 r r r r r A s c C s | j S )zGet the kind of this PatchStackRequestAdditionalResources. :return: The kind of this PatchStackRequestAdditionalResources. :rtype: str )r r r r r r L s z)PatchStackRequestAdditionalResources.kindc C s |dkrt d|| _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`)r r )r r r r r r U s c C s | j S )zGet the template_meta_name of this PatchStackRequestAdditionalResources. :return: The template_meta_name of this PatchStackRequestAdditionalResources. :rtype: str r r r r r r ` s z7PatchStackRequestAdditionalResources.template_meta_namec C s || _ dS )zSet the template_meta_name of this PatchStackRequestAdditionalResources. :param template_meta_name: The template_meta_name of this PatchStackRequestAdditionalResources. :type: str Nr )r r r r r r i s c C s i }| j D ]z\}}t| |}t|trBttdd |||<