U wi@s(dZddlZddlZGdddeZdS)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@seZdZdZddddZddddZdd d Zed d Zej dd ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZd S) MeasurementSchemaColumnzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strZColumnSemanticTypeZColumnDataType)nametype data_typerrZdataTypeNcCs6d|_d|_d|_d|_||_||_|dk r2||_dS)z5MeasurementSchemaColumn - a model defined in OpenAPI.N)_name_type _data_typeZ discriminatorrrr)selfrrrr a/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/measurement_schema_column.py__init__,sz MeasurementSchemaColumn.__init__cCs|jS)zGet the name of this MeasurementSchemaColumn. :return: The name of this MeasurementSchemaColumn. :rtype: str )rr r r r r8szMeasurementSchemaColumn.namecCs|dkrtd||_dS)zSet the name of this MeasurementSchemaColumn. :param name: The name of this MeasurementSchemaColumn. :type: str Nz,Invalid value for `name`, must not be `None`) ValueErrorr)r rr r r rAscCs|jS)zGet the type of this MeasurementSchemaColumn. :return: The type of this MeasurementSchemaColumn. :rtype: ColumnSemanticType )rrr r r rLszMeasurementSchemaColumn.typecCs|dkrtd||_dS)zSet the type of this MeasurementSchemaColumn. :param type: The type of this MeasurementSchemaColumn. :type: ColumnSemanticType Nz,Invalid value for `type`, must not be `None`)rr)r rr r r rUscCs|jS)zGet the data_type of this MeasurementSchemaColumn. :return: The data_type of this MeasurementSchemaColumn. :rtype: ColumnDataType r rr r r r`sz!MeasurementSchemaColumn.data_typecCs ||_dS)zSet the data_type of this MeasurementSchemaColumn. :param data_type: The data_type of this MeasurementSchemaColumn. :type: ColumnDataType Nr)r rr r r riscCsi}|jD]z\}}t||}t|trBttdd|||<qt|drZ|||<qt|trttdd|||<q|||<q|S)z&Return the model properties as a dict.cSst|dr|S|S)Nto_dicthasattrr)xr r r zz1MeasurementSchemaColumn.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r rrs"       zMeasurementSchemaColumn.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszMeasurementSchemaColumn.to_strcCs|S)zFor `print` and `pprint`.)r&rr r r __repr__sz MeasurementSchemaColumn.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zMeasurementSchemaColumn.__eq__cCs ||k S)z*Return true if both objects are not equal.r r)r r r __ne__szMeasurementSchemaColumn.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_mapr propertyrsetterrrrr&r'r+r,r r r r rs6       r)r0r$reobjectrr r r r s