U vâ’i=$ã@s(dZddlZddlZGdd„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äeZdZdZddddddœZdddd d dœZd+dd„Zedd„ƒZej dd„ƒZedd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZ e j d d„ƒZ d!d"„Zd#d$„Zd%d&„Zd'd(„Zd)d*„Zd S),ÚDialectz‹NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. ÚboolÚstrz list[str])ÚheaderÚ delimiterÚ annotationsÚcomment_prefixÚdate_time_formatrrrZ commentPrefixZdateTimeFormatTú,Nú#ÚRFC3339cCsnd|_d|_d|_d|_d|_d|_|dk r2||_|dk r@||_|dk rN||_|dk r\||_ |dk rj||_ dS)z%Dialect - a model defined in OpenAPI.N) Ú_headerÚ _delimiterÚ _annotationsÚ_comment_prefixÚ_date_time_formatZ discriminatorrrrrr )Úselfrrrrr ©rúO/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/dialect.pyÚ__init__0s zDialect.__init__cCs|jS)zŸGet the header of this Dialect. If true, the results contain a header row. :return: The header of this Dialect. :rtype: bool ©r ©rrrrrDs zDialect.headercCs ||_dS)z¤Set the header of this Dialect. If true, the results contain a header row. :param header: The header of this Dialect. :type: bool Nr)rrrrrrOs cCs|jS)zµGet the delimiter of this Dialect. The separator used between cells. Default is a comma (`,`). :return: The delimiter of this Dialect. :rtype: str )rrrrrrZs zDialect.delimitercCsB|dk rt|ƒdkrtdƒ‚|dk r8t|ƒdkr8tdƒ‚||_dS)z½Set the delimiter of this Dialect. The separator used between cells. Default is a comma (`,`). :param delimiter: The delimiter of this Dialect. :type: str NézGInvalid value for `delimiter`, length must be less than or equal to `1`zJInvalid value for `delimiter`, length must be greater than or equal to `1`)ÚlenÚ ValueErrorr)rrrrrres cCs|jS)aeGet the annotations of this Dialect. Annotation rows to include in the results. An _annotation_ is metadata associated with an object (column) in the data model. #### Related guides - See [Annotated CSV annotations](https://docs.influxdata.com/influxdb/latest/reference/syntax/annotated-csv/#annotations) for examples and more information. For more information about **annotations** in tabular data, see [W3 metadata vocabulary for tabular data](https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns). :return: The annotations of this Dialect. :rtype: list[str] )rrrrrrts zDialect.annotationsc CsZdddg}t|ƒ t|ƒ¡sPtd d ttt|ƒt|ƒƒ¡d tt|ƒ¡¡ƒ‚||_dS)aoSet the annotations of this Dialect. Annotation rows to include in the results. An _annotation_ is metadata associated with an object (column) in the data model. #### Related guides - See [Annotated CSV annotations](https://docs.influxdata.com/influxdb/latest/reference/syntax/annotated-csv/#annotations) for examples and more information. For more information about **annotations** in tabular data, see [W3 metadata vocabulary for tabular data](https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns). :param annotations: The annotations of this Dialect. :type: list[str] ÚgroupÚdatatypeÚdefaultzAInvalid values for `annotations` [{0}], must be a subset of [{1}]z, N)ÚsetÚissubsetrÚformatÚjoinÚmaprr)rrZallowed_valuesrrrrs þÿcCs|jS)zÎGet the comment_prefix of this Dialect. The character prefixed to comment strings. Default is a number sign (`#`). :return: The comment_prefix of this Dialect. :rtype: str )rrrrrr‘s zDialect.comment_prefixcCsB|dk rt|ƒdkrtdƒ‚|dk r8t|ƒdkr8tdƒ‚||_dS)zÛSet the comment_prefix of this Dialect. The character prefixed to comment strings. Default is a number sign (`#`). :param comment_prefix: The comment_prefix of this Dialect. :type: str NrzLInvalid value for `comment_prefix`, length must be less than or equal to `1`rzOInvalid value for `comment_prefix`, length must be greater than or equal to `0`)rrr)rrrrrrœs cCs|jS)aUGet the date_time_format of this Dialect. The format for timestamps in results. Default is [`RFC3339` date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339-timestamp). To include nanoseconds in timestamps, use `RFC3339Nano`. #### Example formatted date/time values | Format | Value | |:------------|:----------------------------| | `RFC3339` | `"2006-01-02T15:04:05Z07:00"` | | `RFC3339Nano` | `"2006-01-02T15:04:05.999999999Z07:00"` | :return: The date_time_format of this Dialect. :rtype: str ©rrrrrr «s zDialect.date_time_formatcCs ||_dS)adSet the date_time_format of this Dialect. The format for timestamps in results. Default is [`RFC3339` date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339-timestamp). To include nanoseconds in timestamps, use `RFC3339Nano`. #### Example formatted date/time values | Format | Value | |:------------|:----------------------------| | `RFC3339` | `"2006-01-02T15:04:05Z07:00"` | | `RFC3339Nano` | `"2006-01-02T15:04:05.999999999Z07:00"` | :param date_time_format: The date_time_format of this Dialect. :type: str Nr#)rr rrrr ¶s cCsŽi}|j ¡D]z\}}t||ƒ}t|tƒrBttdd„|ƒƒ||<qt|dƒrZ| ¡||<qt|tƒr€ttdd„| ¡ƒƒ||<q|||<q|S)z&Return the model properties as a dict.cSst|dƒr| ¡S|S)NÚto_dict©Úhasattrr$)ÚxrrrÚÉóz!Dialect.to_dict..r$cSs&t|ddƒr"|d|d ¡fS|S)Nrr$rr%)Úitemrrrr(Ðs ÿ) Ú openapi_typesÚitemsÚgetattrÚ isinstanceÚlistr"r&r$Údict)rÚresultÚattrÚ_Úvaluerrrr$Ás"  þ   ý  zDialect.to_dictcCst | ¡¡S)z.Return the string representation of the model.)ÚpprintÚpformatr$rrrrÚto_strÙszDialect.to_strcCs| ¡S)zFor `print` and `pprint`.)r7rrrrÚ__repr__ÝszDialect.__repr__cCst|tƒsdS|j|jkS)z&Return true if both objects are equal.F)r.rÚ__dict__©rÚotherrrrÚ__eq__ás zDialect.__eq__cCs ||k S)z*Return true if both objects are not equal.rr:rrrÚ__ne__èszDialect.__ne__)Tr Nr r )Ú__name__Ú __module__Ú __qualname__Ú__doc__r+Z attribute_maprÚpropertyrÚsetterrrrr r$r7r8r<r=rrrrrsNû û           r)rAr5ÚreÚobjectrrrrrÚs