🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 08:09:56 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
influxdb_client
/
domain
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/__pycache__
🔄 Refresh
✏️
Editing: script_create_request.cpython-38.pyc
Read Only
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� |��||<