| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/queue/models/__pycache__/ |
Upload File : |
a
���f � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z d
d� Z
dd� Zdd� ZdS )�UpdateMessagesResultz�
The response to a UpdateMessages request. It indicates the number of server and client failures as well as an array of entries for successful and failed actions.
c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a�
Initializes a new UpdateMessagesResult object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param server_failures:
The value to assign to the server_failures property of this UpdateMessagesResult.
:type server_failures: int
:param client_failures:
The value to assign to the client_failures property of this UpdateMessagesResult.
:type client_failures: int
:param entries:
The value to assign to the entries property of this UpdateMessagesResult.
:type entries: list[oci.queue.models.UpdateMessagesResultEntry]
�intzlist[UpdateMessagesResultEntry])�server_failures�client_failures�entriesZserverFailuresZclientFailuresr
N)Z
swagger_typesZ
attribute_map�_server_failures�_client_failures�_entries)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/queue/models/update_messages_result.py�__init__ s ��zUpdateMessagesResult.__init__c C s | j S )a
**[Required]** Gets the server_failures of this UpdateMessagesResult.
The number of messages that failed to be updated in the queue because of a server failure.
:return: The server_failures of this UpdateMessagesResult.
:rtype: int
�r �r r r r r 4 s
z$UpdateMessagesResult.server_failuresc C s
|| _ dS )a
Sets the server_failures of this UpdateMessagesResult.
The number of messages that failed to be updated in the queue because of a server failure.
:param server_failures: The server_failures of this UpdateMessagesResult.
:type: int
Nr )r r r r r r @ s
c C s | j S )aO
**[Required]** Gets the client_failures of this UpdateMessagesResult.
The number of messages that failed to be updated in the queue because of a client failure such as an invalid receipt or invalid `visibilityInSeconds`.
:return: The client_failures of this UpdateMessagesResult.
:rtype: int
�r r r r r r L s
z$UpdateMessagesResult.client_failuresc C s
|| _ dS )aN
Sets the client_failures of this UpdateMessagesResult.
The number of messages that failed to be updated in the queue because of a client failure such as an invalid receipt or invalid `visibilityInSeconds`.
:param client_failures: The client_failures of this UpdateMessagesResult.
:type: int
Nr )r r r r r r X s
c C s | j S )aQ
**[Required]** Gets the entries of this UpdateMessagesResult.
An array of items representing the result of each action.
The order is guaranteed to be the same as in the `UpdateMessagesDetails` object.
If a message was successfully updated in the queue, the entry includes the `id` and `visibleAfter` fields.
If a message failed to be updated in the queue, the entry includes the `errorCode` and `errorMessage` fields.
:return: The entries of this UpdateMessagesResult.
:rtype: list[oci.queue.models.UpdateMessagesResultEntry]
�r
r r r r r
d s
zUpdateMessagesResult.entriesc C s
|| _ dS )aH
Sets the entries of this UpdateMessagesResult.
An array of items representing the result of each action.
The order is guaranteed to be the same as in the `UpdateMessagesDetails` object.
If a message was successfully updated in the queue, the entry includes the `id` and `visibleAfter` fields.
If a message failed to be updated in the queue, the entry includes the `errorCode` and `errorMessage` fields.
:param entries: The entries of this UpdateMessagesResult.
:type: list[oci.queue.models.UpdateMessagesResultEntry]
Nr )r r
r r r r
s s
c C s t | �S �N)r r r r r �__repr__� s zUpdateMessagesResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zUpdateMessagesResult.__eq__c C s
| |k S r r r r r r �__ne__� s zUpdateMessagesResult.__ne__N)
�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r r r r r r s"