U vi@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@s eZdZdZddddddddZdddd d d d dZd/ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ edd Zej d!d Zed"d#Zej d$d#Zd%d&Zd'd(Zd)d*Zd+d,Zd-d.Zd S)0MeasurementSchemazNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strzlist[MeasurementSchemaColumn]datetime)idorg_id bucket_idnamecolumns created_at updated_atrZorgIDZbucketIDrr Z createdAtZ updatedAtNcCsnd|_d|_d|_d|_d|_d|_d|_d|_||_|dk rD||_ |dk rR||_ ||_ ||_ ||_ ||_dS)z/MeasurementSchema - a model defined in OpenAPI.N)_id_org_id _bucket_id_name_columns _created_at _updated_atZ discriminatorrrrrr r r )selfrrrrr r r rZ/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/measurement_schema.py__init__4s"zMeasurementSchema.__init__cCs|jS)zvGet the id of this MeasurementSchema. :return: The id of this MeasurementSchema. :rtype: str )r rrrrrIszMeasurementSchema.idcCs|dkrtd||_dS)zwSet the id of this MeasurementSchema. :param id: The id of this MeasurementSchema. :type: str Nz*Invalid value for `id`, must not be `None`) ValueErrorr )rrrrrrRscCs|jS)zGet the org_id of this MeasurementSchema. The ID of the organization. :return: The org_id of this MeasurementSchema. :rtype: str r rrrrr]s zMeasurementSchema.org_idcCs ||_dS)zSet the org_id of this MeasurementSchema. The ID of the organization. :param org_id: The org_id of this MeasurementSchema. :type: str Nr)rrrrrrhs cCs|jS)zGet the bucket_id of this MeasurementSchema. The ID of the bucket that the measurement schema is associated with. :return: The bucket_id of this MeasurementSchema. :rtype: str rrrrrrss zMeasurementSchema.bucket_idcCs ||_dS)zSet the bucket_id of this MeasurementSchema. The ID of the bucket that the measurement schema is associated with. :param bucket_id: The bucket_id of this MeasurementSchema. :type: str Nr)rrrrrr~s cCs|jS)zzGet the name of this MeasurementSchema. :return: The name of this MeasurementSchema. :rtype: str )rrrrrrszMeasurementSchema.namecCs|dkrtd||_dS)z}Set the name of this MeasurementSchema. :param name: The name of this MeasurementSchema. :type: str Nz,Invalid value for `name`, must not be `None`)rr)rrrrrrscCs|jS)zGet the columns of this MeasurementSchema. Ordered collection of column definitions. :return: The columns of this MeasurementSchema. :rtype: list[MeasurementSchemaColumn] )rrrrrr s zMeasurementSchema.columnscCs|dkrtd||_dS)zSet the columns of this MeasurementSchema. Ordered collection of column definitions. :param columns: The columns of this MeasurementSchema. :type: list[MeasurementSchemaColumn] Nz/Invalid value for `columns`, must not be `None`)rr)rr rrrr s cCs|jS)zGet the created_at of this MeasurementSchema. :return: The created_at of this MeasurementSchema. :rtype: datetime )rrrrrr szMeasurementSchema.created_atcCs|dkrtd||_dS)zSet the created_at of this MeasurementSchema. :param created_at: The created_at of this MeasurementSchema. :type: datetime Nz2Invalid value for `created_at`, must not be `None`)rr)rr rrrr scCs|jS)zGet the updated_at of this MeasurementSchema. :return: The updated_at of this MeasurementSchema. :rtype: datetime )rrrrrr szMeasurementSchema.updated_atcCs|dkrtd||_dS)zSet the updated_at of this MeasurementSchema. :param updated_at: The updated_at of this MeasurementSchema. :type: datetime Nz2Invalid value for `updated_at`, must not be `None`)rr)rr rrrr scCsi}|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)xrrrz+MeasurementSchema.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemrrrrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)rresultattr_valuerrrrs"       zMeasurementSchema.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszMeasurementSchema.to_strcCs|S)zFor `print` and `pprint`.)r0rrrr__repr__szMeasurementSchema.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r&r__dict__rotherrrr__eq__s zMeasurementSchema.__eq__cCs ||k S)z*Return true if both objects are not equal.rr3rrr__ne__szMeasurementSchema.__ne__)NNNNNNN)__name__ __module__ __qualname____doc__r#Z attribute_maprpropertyrsetterrrrr r r rr0r1r5r6rrrrrsf                r)r:r.reobjectrrrrrs