U vi@s4dZddlZddlZddlmZGdddeZdS)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 N)ViewPropertiesc@seZdZdZddddZddddZddd Zed d Zej d d Zed dZ e j ddZ eddZ e j ddZ ddZ ddZ ddZddZddZdS)MarkdownViewPropertieszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. str)typeshapenoterrrNcCs8t|d|_d|_d|_d|_||_||_||_dS)z4MarkdownViewProperties - a model defined in OpenAPI.N) r__init___type_shape_noteZ discriminatorrrr)selfrrrr `/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/markdown_view_properties.pyr.s zMarkdownViewProperties.__init__cCs|jS)zGet the type of this MarkdownViewProperties. :return: The type of this MarkdownViewProperties. :rtype: str )r r r r rr;szMarkdownViewProperties.typecCs|dkrtd||_dS)zSet the type of this MarkdownViewProperties. :param type: The type of this MarkdownViewProperties. :type: str Nz,Invalid value for `type`, must not be `None`) ValueErrorr )r rr r rrDscCs|jS)zGet the shape of this MarkdownViewProperties. :return: The shape of this MarkdownViewProperties. :rtype: str )r rr r rrOszMarkdownViewProperties.shapecCs|dkrtd||_dS)zSet the shape of this MarkdownViewProperties. :param shape: The shape of this MarkdownViewProperties. :type: str Nz-Invalid value for `shape`, must not be `None`)rr )r rr r rrXscCs|jS)zGet the note of this MarkdownViewProperties. :return: The note of this MarkdownViewProperties. :rtype: str )r rr r rrcszMarkdownViewProperties.notecCs|dkrtd||_dS)zSet the note of this MarkdownViewProperties. :param note: The note of this MarkdownViewProperties. :type: str Nz,Invalid value for `note`, must not be `None`)rr )r rr r rrlscCsi}|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 rz0MarkdownViewProperties.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr)itemr r rrs ) openapi_typesitemsgetattr isinstancelistmaprrdict)r resultattr_valuer r rrws"       zMarkdownViewProperties.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrr r rto_strszMarkdownViewProperties.to_strcCs|S)zFor `print` and `pprint`.)r&rr r r__repr__szMarkdownViewProperties.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)rr__dict__r otherr r r__eq__s zMarkdownViewProperties.__eq__cCs ||k S)z*Return true if both objects are not equal.r r)r r r__ne__szMarkdownViewProperties.__ne__)NNN)__name__ __module__ __qualname____doc__rZ attribute_maprpropertyrsetterrrrr&r'r+r,r r r rrs6       r)r0r$reZ&influxdb_client.domain.view_propertiesrrr r r rs