a ýÎòf)ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@s~eZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZed d „ƒZ e jd d „ƒZ d d„Z dd„Z dd„Z dS)ÚStatsz7 The stats for a queue or a dead letter queue. cKs2ddddœ|_ddddœ|_d|_d|_d|_dS)a€ Initializes a new Stats object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param visible_messages: The value to assign to the visible_messages property of this Stats. :type visible_messages: int :param in_flight_messages: The value to assign to the in_flight_messages property of this Stats. :type in_flight_messages: int :param size_in_bytes: The value to assign to the size_in_bytes property of this Stats. :type size_in_bytes: int Úint)Úvisible_messagesÚin_flight_messagesÚ size_in_bytesZvisibleMessagesZinFlightMessagesZ sizeInBytesN)Z swagger_typesZ attribute_mapÚ_visible_messagesÚ_in_flight_messagesÚ_size_in_bytes)ÚselfÚkwargs©rú:/usr/lib/python3.9/site-packages/oci/queue/models/stats.pyÚ__init__sýýzStats.__init__cCs|jS)zø **[Required]** Gets the visible_messages of this Stats. The approximate number of visible messages (available for delivery) currently in the queue. :return: The visible_messages of this Stats. :rtype: int ©r ©rrrrr4s zStats.visible_messagescCs ||_dS)zø Sets the visible_messages of this Stats. The approximate number of visible messages (available for delivery) currently in the queue. :param visible_messages: The visible_messages of this Stats. :type: int Nr)rrrrrr@s cCs|jS)a **[Required]** Gets the in_flight_messages of this Stats. The approximate number of messages delivered to a consumer but not yet deleted and so unavailable for re-delivery. :return: The in_flight_messages of this Stats. :rtype: int ©r rrrrr Ls zStats.in_flight_messagescCs ||_dS)a Sets the in_flight_messages of this Stats. The approximate number of messages delivered to a consumer but not yet deleted and so unavailable for re-delivery. :param in_flight_messages: The in_flight_messages of this Stats. :type: int Nr)rr rrrr Xs cCs|jS)zõ **[Required]** Gets the size_in_bytes of this Stats. The approximate size of the queue in bytes. Sum of the size of visible and in-flight messages. :return: The size_in_bytes of this Stats. :rtype: int ©r rrrrr ds zStats.size_in_bytescCs ||_dS)zò Sets the size_in_bytes of this Stats. The approximate size of the queue in bytes. Sum of the size of visible and in-flight messages. :param size_in_bytes: The size_in_bytes of this Stats. :type: int Nr)rr rrrr ps cCst|ƒS©N)rrrrrÚ__repr__|szStats.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__sz Stats.__eq__cCs ||k SrrrrrrÚ__ne__…sz Stats.__ne__N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r rrrrrrrr s""      rN)Zoci.utilrrrZoci.decoratorsrÚobjectrrrrrÚs