| 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 )�DeleteMessagesResultz�
The response to a DeleteMessages 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 DeleteMessagesResult 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 DeleteMessagesResult.
:type server_failures: int
:param client_failures:
The value to assign to the client_failures property of this DeleteMessagesResult.
:type client_failures: int
:param entries:
The value to assign to the entries property of this DeleteMessagesResult.
:type entries: list[oci.queue.models.DeleteMessagesResultEntry]
�intzlist[DeleteMessagesResultEntry])�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/delete_messages_result.py�__init__ s ��zDeleteMessagesResult.__init__c C s | j S )a
**[Required]** Gets the server_failures of this DeleteMessagesResult.
The number of messages that failed to be deleted from the queue because of a server failure.
:return: The server_failures of this DeleteMessagesResult.
:rtype: int
�r �r r r r r 4 s
z$DeleteMessagesResult.server_failuresc C s
|| _ dS )a
Sets the server_failures of this DeleteMessagesResult.
The number of messages that failed to be deleted from the queue because of a server failure.
:param server_failures: The server_failures of this DeleteMessagesResult.
:type: int
Nr )r r r r r r @ s
c C s | j S )a0
**[Required]** Gets the client_failures of this DeleteMessagesResult.
The number of messages that failed to be deleted from the queue because of a client failure such as an invalid receipt.
:return: The client_failures of this DeleteMessagesResult.
:rtype: int
�r r r r r r L s
z$DeleteMessagesResult.client_failuresc C s
|| _ dS )a/
Sets the client_failures of this DeleteMessagesResult.
The number of messages that failed to be deleted from the queue because of a client failure such as an invalid receipt.
:param client_failures: The client_failures of this DeleteMessagesResult.
:type: int
Nr )r r r r r r X s
c C s | j S )aE
**[Required]** Gets the entries of this DeleteMessagesResult.
An array of items representing the result of each action.
The order is guaranteed to be the same as in the `DeleteMessagesDetails` object.
If a message was successfully deleted from the queue, the entry does not contain any fields.
If a message failed to be deleted from the queue, the entry includes the `errorCode` and `errorMessage` fields.
:return: The entries of this DeleteMessagesResult.
:rtype: list[oci.queue.models.DeleteMessagesResultEntry]
�r
r r r r r
d s
zDeleteMessagesResult.entriesc C s
|| _ dS )a<
Sets the entries of this DeleteMessagesResult.
An array of items representing the result of each action.
The order is guaranteed to be the same as in the `DeleteMessagesDetails` object.
If a message was successfully deleted from the queue, the entry does not contain any fields.
If a message failed to be deleted from the queue, the entry includes the `errorCode` and `errorMessage` fields.
:param entries: The entries of this DeleteMessagesResult.
:type: list[oci.queue.models.DeleteMessagesResultEntry]
Nr )r r
r r r r
s s
c C s t | �S �N)r r r r r �__repr__� s zDeleteMessagesResult.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDeleteMessagesResult.__eq__c C s
| |k S r r r r r r �__ne__� s zDeleteMessagesResult.__ne__N)
�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r r r r r r s"