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@s eZdZdZddddddddZddd d d d d dZd0ddZeddZej ddZeddZ e j ddZ eddZ e j ddZ eddZ e j ddZ eddZ e j ddZ ed d!Zej d"d!Zed#d$Zej d%d$Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/ZdS)1 StackEventszNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. strz list[str]zlist[StackResources]datetime) event_typename descriptionsources resourcesurls updated_atZ eventTyperrrr r Z updatedAtNcCsd|_d|_d|_d|_d|_d|_d|_d|_|dk r>||_|dk rL||_ |dk rZ||_ |dk rh||_ |dk rv||_ |dk r||_ |dk r||_dS)z)StackEvents - a model defined in OpenAPI.N) _event_type_name _description_sources _resources_urls _updated_atZ discriminatorrrrrr r r )selfrrrrr r r rT/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/domain/stack_events.py__init__4s,zStackEvents.__init__cCs|jS)zzGet the event_type of this StackEvents. :return: The event_type of this StackEvents. :rtype: str r rrrrrNszStackEvents.event_typecCs ||_dS)zSet the event_type of this StackEvents. :param event_type: The event_type of this StackEvents. :type: str Nr)rrrrrrWscCs|jS)znGet the name of this StackEvents. :return: The name of this StackEvents. :rtype: str r rrrrr`szStackEvents.namecCs ||_dS)zqSet the name of this StackEvents. :param name: The name of this StackEvents. :type: str Nr)rrrrrriscCs|jS)z|Get the description of this StackEvents. :return: The description of this StackEvents. :rtype: str rrrrrrrszStackEvents.descriptioncCs ||_dS)zSet the description of this StackEvents. :param description: The description of this StackEvents. :type: str Nr)rrrrrr{scCs|jS)zzGet the sources of this StackEvents. :return: The sources of this StackEvents. :rtype: list[str] rrrrrrszStackEvents.sourcescCs ||_dS)zSet the sources of this StackEvents. :param sources: The sources of this StackEvents. :type: list[str] Nr)rrrrrrscCs|jS)zGet the resources of this StackEvents. :return: The resources of this StackEvents. :rtype: list[StackResources] rrrrrr szStackEvents.resourcescCs ||_dS)zSet the resources of this StackEvents. :param resources: The resources of this StackEvents. :type: list[StackResources] Nr)rr rrrr scCs|jS)ztGet the urls of this StackEvents. :return: The urls of this StackEvents. :rtype: list[str] rrrrrr szStackEvents.urlscCs ||_dS)zwSet the urls of this StackEvents. :param urls: The urls of this StackEvents. :type: list[str] Nr)rr rrrr scCs|jS)zGet the updated_at of this StackEvents. :return: The updated_at of this StackEvents. :rtype: datetime rrrrrr szStackEvents.updated_atcCs ||_dS)zSet the updated_at of this StackEvents. :param updated_at: The updated_at of this StackEvents. :type: datetime Nr)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%StackEvents.to_dict..rcSs&t|ddr"|d|dfS|S)Nrrr )itemrrrr#s ) openapi_typesitemsgetattr isinstancelistmapr!rdict)rresultattr_valuerrrrs"       zStackEvents.to_dictcCst|S)z.Return the string representation of the model.)pprintpformatrrrrrto_strszStackEvents.to_strcCs|S)zFor `print` and `pprint`.)r4rrrr__repr__szStackEvents.__repr__cCst|tsdS|j|jkS)z&Return true if both objects are equal.F)r*r__dict__rotherrrr__eq__s zStackEvents.__eq__cCs ||k S)z*Return true if both objects are not equal.rr7rrr__ne__szStackEvents.__ne__)NNNNNNN)__name__ __module__ __qualname____doc__r'Z attribute_maprpropertyrsetterrrrr r r rr4r5r9r:rrrrrsf                r)r>r2reobjectrrrrrs