U vi5@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 d d ZeddZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)DeletePredicateRequestzNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. datetimestr)startstop predicaterrrNcCs6d|_d|_d|_d|_||_||_|dk r2||_dS)z4DeletePredicateRequest - a model defined in OpenAPI.N)_start_stop _predicateZ discriminatorrrr)selfrrrr `/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/delete_predicate_request.py__init__,szDeletePredicateRequest.__init__cCs|jS)a3Get the start of this DeletePredicateRequest. A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339-timestamp)). The earliest time to delete from. :return: The start of this DeletePredicateRequest. :rtype: datetime )rr r r r r8s zDeletePredicateRequest.startcCs|dkrtd||_dS)a7Set the start of this DeletePredicateRequest. A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339-timestamp)). The earliest time to delete from. :param start: The start of this DeletePredicateRequest. :type: datetime Nz-Invalid value for `start`, must not be `None`) ValueErrorr)r rr r r rCs cCs|jS)a/Get the stop of this DeletePredicateRequest. A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339-timestamp)). The latest time to delete from. :return: The stop of this DeletePredicateRequest. :rtype: datetime )r rr r r rPs zDeletePredicateRequest.stopcCs|dkrtd||_dS)a2Set the stop of this DeletePredicateRequest. A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/latest/reference/glossary/#rfc3339-timestamp)). The latest time to delete from. :param stop: The stop of this DeletePredicateRequest. :type: datetime Nz,Invalid value for `stop`, must not be `None`)rr )r rr r r r[s cCs|jS)aGet the predicate of this DeletePredicateRequest. An expression in [delete predicate syntax](https://docs.influxdata.com/influxdb/latest/reference/syntax/delete-predicate/). :return: The predicate of this DeletePredicateRequest. :rtype: str r rr r r rhs z DeletePredicateRequest.predicatecCs ||_dS)aSet the predicate of this DeletePredicateRequest. An expression in [delete predicate syntax](https://docs.influxdata.com/influxdb/latest/reference/syntax/delete-predicate/). :param predicate: The predicate of this DeletePredicateRequest. :type: str Nr)r rr r r rss cCsi}|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 z0DeletePredicateRequest.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r r rs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r r r~s"       zDeletePredicateRequest.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r r to_strszDeletePredicateRequest.to_strcCs|S)zFor `print` and `pprint`.)r'rr r r __repr__szDeletePredicateRequest.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r __eq__s zDeletePredicateRequest.__eq__cCs ||k S)z*Return true if both objects are not equal.r r*r r r __ne__szDeletePredicateRequest.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrr'r(r,r-r r r r rs6       r)r1r%reobjectrr r r r s