U vi @ 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 ZdZddddZddddZdd d Zedd Zej d d Zedd Z e j dd Z edd Zej dd Zdd Zdd Z dd Zdd Zdd ZdS )LabelCreateRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzdict(str, str))org_idname propertiesZorgIDr r Nc C s6 d| _ d| _d| _d| _|| _|| _|dk r2|| _dS )z0LabelCreateRequest - a model defined in OpenAPI.N)_org_id_name_propertiesZ discriminatorr r r )selfr r r r \/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/label_create_request.py__init__, s zLabelCreateRequest.__init__c C s | j S )zGet the org_id of this LabelCreateRequest. :return: The org_id of this LabelCreateRequest. :rtype: str )r r r r r r 8 s zLabelCreateRequest.org_idc C s |dkrt d|| _dS )zSet the org_id of this LabelCreateRequest. :param org_id: The org_id of this LabelCreateRequest. :type: str Nz.Invalid value for `org_id`, must not be `None`) ValueErrorr )r r r r r r A s c C s | j S )z|Get the name of this LabelCreateRequest. :return: The name of this LabelCreateRequest. :rtype: str )r r r r r r L s zLabelCreateRequest.namec C s |dkrt d|| _dS )zSet the name of this LabelCreateRequest. :param name: The name of this LabelCreateRequest. :type: str Nz,Invalid value for `name`, must not be `None`)r r )r r r r r r U s c C s | j S )a Get the properties of this LabelCreateRequest. Key-value pairs associated with this label. To remove a property, send an update with an empty value (`""`) for the key. :return: The properties of this LabelCreateRequest. :rtype: dict(str, str) r r r r r r ` s zLabelCreateRequest.propertiesc C s || _ dS )a Set the properties of this LabelCreateRequest. Key-value pairs associated with this label. To remove a property, send an update with an empty value (`""`) for the key. :param properties: The properties of this LabelCreateRequest. :type: dict(str, str) Nr )r r r r r r k s c C s i }| j D ]z\}}t| |}t|trBttdd |||<