a OfJ@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dd Z e d d Z e j d d Z e d dZej ddZe ddZej ddZe ddZej ddZe ddZej ddZe ddZej ddZe ddZej ddZe dd Zej d!d Ze d"d#Zej d$d#Ze d%d&Zej d'd&Ze d(d)Zej d*d)Ze d+d,Zej d-d,Ze d.d/Zej d0d/Ze d1d2Zej d3d2Ze d4d5Zej d6d5Ze d7d8Zej d9d8Zd:d;Zdd?Zd@S)AQueuez Description of Queue. CREATINGUPDATINGACTIVEDELETINGDELETEDFAILEDcKsddddddddddddddddd|_ddd d d d d dddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_dS)aI 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", '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)) strdatetimeintzdict(str, str)zdict(str, dict(str, object)))id display_namecompartment_id time_created time_updatedlifecycle_statelifecycle_detailsmessages_endpointretention_in_secondsvisibility_in_secondstimeout_in_seconds dead_letter_queue_delivery_countcustom_encryption_key_id freeform_tags defined_tags system_tagsr displayName compartmentId timeCreated timeUpdatedlifecycleStatelifecycleDetailsmessagesEndpointretentionInSecondsvisibilityInSecondstimeoutInSecondsdeadLetterQueueDeliveryCountcustomEncryptionKeyId freeformTags definedTags systemTagsN) swagger_types 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)selfkwargsrCz/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/queue/models/queue.py__init__(sdIzQueue.__init__cCs|jS)z **[Required]** Gets the id of this Queue. Unique identifier that is immutable on creation :return: The id of this Queue. :rtype: str r1rArCrCrDrs zQueue.idcCs ||_dS)z Sets the id of this Queue. Unique identifier that is immutable on creation :param id: The id of this Queue. :type: str NrF)rArrCrCrDrs cCs|jS)z Gets the display_name of this Queue. Queue Identifier, can be renamed :return: The display_name of this Queue. :rtype: str r2rGrCrCrDrs zQueue.display_namecCs ||_dS)z Sets the display_name of this Queue. Queue Identifier, can be renamed :param display_name: The display_name of this Queue. :type: str NrH)rArrCrCrDrs cCs|jS)z **[Required]** Gets the compartment_id of this Queue. Compartment Identifier :return: The compartment_id of this Queue. :rtype: str r3rGrCrCrDrs zQueue.compartment_idcCs ||_dS)z Sets the compartment_id of this Queue. Compartment Identifier :param compartment_id: The compartment_id of this Queue. :type: str NrI)rArrCrCrDrs cCs|jS)z **[Required]** Gets the time_created of this Queue. The time the the Queue was created. An RFC3339 formatted datetime string :return: The time_created of this Queue. :rtype: datetime r4rGrCrCrDrs zQueue.time_createdcCs ||_dS)z Sets the time_created of this Queue. The time the the Queue was created. An RFC3339 formatted datetime string :param time_created: The time_created of this Queue. :type: datetime NrJ)rArrCrCrDrs cCs|jS)z **[Required]** Gets the time_updated of this Queue. The time the Queue was updated. An RFC3339 formatted datetime string :return: The time_updated of this Queue. :rtype: datetime r5rGrCrCrDrs zQueue.time_updatedcCs ||_dS)z Sets the time_updated of this Queue. The time the Queue was updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this Queue. :type: datetime NrK)rArrCrCrDrs cCs|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", '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 )r6rGrCrCrDrs 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 r r UNKNOWN_ENUM_VALUEN)rr6)rArallowed_valuesrCrCrDr.s  cCs|jS)a! Gets the lifecycle_details of this Queue. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this Queue. :rtype: str r7rGrCrCrDr=s zQueue.lifecycle_detailscCs ||_dS)a1 Sets the lifecycle_details of this Queue. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this Queue. :type: str NrN)rArrCrCrDrIs 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 r8rGrCrCrDrUs 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 NrO)rArrCrCrDras 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 r9rGrCrCrDrms 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 NrP)rArrCrCrDrys cCs|jS)z **[Required]** Gets the visibility_in_seconds of this Queue. The default visibility of the messages consumed from the queue. :return: The visibility_in_seconds of this Queue. :rtype: int r:rGrCrCrDrs zQueue.visibility_in_secondscCs ||_dS)z Sets the visibility_in_seconds of this Queue. The default visibility of the messages consumed from the queue. :param visibility_in_seconds: The visibility_in_seconds of this Queue. :type: int NrQ)rArrCrCrDrs 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;rGrCrCrDrs 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 NrR)rArrCrCrDrs 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<rGrCrCrDrs 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 NrS)rArrCrCrDrs cCs|jS)z Gets the custom_encryption_key_id of this Queue. Id of the custom master encryption key which will be used to encrypt messages content :return: The custom_encryption_key_id of this Queue. :rtype: str r=rGrCrCrDrs zQueue.custom_encryption_key_idcCs ||_dS)a  Sets the custom_encryption_key_id of this Queue. Id of the custom master encryption key which will be used to encrypt messages content :param custom_encryption_key_id: The custom_encryption_key_id of this Queue. :type: str NrT)rArrCrCrDrs 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>rGrCrCrDrs zQueue.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) NrU)rArrCrCrDrs cCs|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?rGrCrCrDrs zQueue.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)) NrV)rArrCrCrDr s cCs|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)) r@rGrCrCrDrs zQueue.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)) NrW)rArrCrCrDr&s cCst|SN)rrGrCrCrD__repr__3szQueue.__repr__cCs|dur dS|j|jkS)NF)__dict__rAotherrCrCrD__eq__6sz Queue.__eq__cCs ||k SrXrCr[rCrCrD__ne__<sz Queue.__ne__N) __name__ __module__ __qualname____doc__LIFECYCLE_STATE_CREATINGLIFECYCLE_STATE_UPDATINGLIFECYCLE_STATE_ACTIVELIFECYCLE_STATE_DELETINGLIFECYCLE_STATE_DELETEDLIFECYCLE_STATE_FAILEDrEpropertyrsetterrrrrrrrrrrrrrrrrYr]r^rCrCrCrDr s                                rN)oci.utilrrroci.decoratorsrobjectrrCrCrCrDs