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 ZdZdddddZdddddZd"d dZedd Zej dd Zedd Z e j dd Z edd Zej dd Zedd Zej dd Zdd Z dd Zdd Zdd Zd d! Zd S )#FieldzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[Field])valuetypealiasargsr r r r Nc C sZ d| _ d| _d| _d| _d| _|dk r,|| _|dk r:|| _|dk rH|| _|dk rV|| _dS )z#Field - a model defined in OpenAPI.N) _value_type_alias_argsZ discriminatorr r r r )selfr r r r r M/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/field.py__init__. s zField.__init__c C s | j S )zGet the value of this Field. value is the value of the field. Meaning of the value is implied by the `type` key :return: The value of this Field. :rtype: str r r r r r r ? s zField.valuec C s || _ dS )zSet the value of this Field. value is the value of the field. Meaning of the value is implied by the `type` key :param value: The value of this Field. :type: str Nr )r r r r r r J s c C s | j S )zGet the type of this Field. `type` describes the field type. `func` is a function. `field` is a field reference. :return: The type of this Field. :rtype: str r r r r r r U s z Field.typec C s || _ dS )zSet the type of this Field. `type` describes the field type. `func` is a function. `field` is a field reference. :param type: The type of this Field. :type: str Nr )r r r r r r ` s c C s | j S )zGet the alias of this Field. Alias overrides the field name in the returned response. Applies only if type is `func` :return: The alias of this Field. :rtype: str r r r r r r k s zField.aliasc C s || _ dS )zSet the alias of this Field. Alias overrides the field name in the returned response. Applies only if type is `func` :param alias: The alias of this Field. :type: str Nr )r r r r r r v s c C s | j S )zGet the args of this Field. Args are the arguments to the function :return: The args of this Field. :rtype: list[Field] r r r r r r s z Field.argsc C s || _ dS )zSet the args of this Field. Args are the arguments to the function :param args: The args of this Field. :type: list[Field] Nr )r r r r r r s c C s i }| j D ]z\}}t| |}t|trBttdd |||<