U wâ’i/ ã @ s( d Z ddlZddlZG dd„ deƒZdS )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 ZdZdddddœZdddddœZd"d d„Zedd „ ƒZej dd „ ƒZedd„ ƒZ e j dd„ ƒZ edd„ ƒZej dd„ ƒZedd„ ƒZej dd„ ƒZdd„ Z dd„ Zdd„ Zdd„ Zd d!„ Zd S )#ÚScriptCreateRequestz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚstrZScriptLanguage)ÚnameÚdescriptionÚscriptÚlanguager r r r Nc C s: d| _ d| _d| _d| _d| _|| _|| _|| _|| _dS )z1ScriptCreateRequest - a model defined in OpenAPI.N) Ú_nameÚ_descriptionÚ_scriptÚ _languageZ discriminatorr r r r )Úselfr r r r © r ú]/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/script_create_request.pyÚ__init__. s zScriptCreateRequest.__init__c C s | j S )zÅGet the name of this ScriptCreateRequest. Script name. The name must be unique within the organization. :return: The name of this ScriptCreateRequest. :rtype: str )r ©r r r r r ; s zScriptCreateRequest.namec C s |dkrt dƒ‚|| _dS )zÈSet the name of this ScriptCreateRequest. Script name. The name must be unique within the organization. :param name: The name of this ScriptCreateRequest. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr )r r r r r r F s c C s | j S )zÆGet the description of this ScriptCreateRequest. Script description. A description of the script. :return: The description of this ScriptCreateRequest. :rtype: str )r r r r r r S s zScriptCreateRequest.descriptionc C s |dkrt dƒ‚|| _dS )zÐSet the description of this ScriptCreateRequest. Script description. A description of the script. :param description: The description of this ScriptCreateRequest. :type: str Nz3Invalid value for `description`, must not be `None`)r r )r r r r r r ^ s c C s | j S )z¢Get the script of this ScriptCreateRequest. The script to execute. :return: The script of this ScriptCreateRequest. :rtype: str )r r r r r r k s zScriptCreateRequest.scriptc C s |dkrt dƒ‚|| _dS )z§Set the script of this ScriptCreateRequest. The script to execute. :param script: The script of this ScriptCreateRequest. :type: str Nz.Invalid value for `script`, must not be `None`)r r )r r r r r r v s c C s | j S )z‘Get the language of this ScriptCreateRequest. :return: The language of this ScriptCreateRequest. :rtype: ScriptLanguage )r r r r r r ƒ s zScriptCreateRequest.languagec C s |dkrt dƒ‚|| _dS )z˜Set the language of this ScriptCreateRequest. :param language: The language of this ScriptCreateRequest. :type: ScriptLanguage Nz0Invalid value for `language`, must not be `None`)r r )r r r r r r Œ s c C sŽ i }| j ¡ D ]z\}}t| |ƒ}t|tƒrBttdd„ |ƒƒ||<