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 „Z e d d „ƒ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 d d 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_limitrZ displayNameZ compartmentIdZ timeCreatedZ timeUpdatedZlifecycleStateZlifecycleDetailsZmessagesEndpointZretentionInSecondsZvisibilityInSecondsZtimeoutInSecondsZdeadLetterQueueDeliveryCountZcustomEncryptionKeyIdZ freeformTagsZ definedTagsZ 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 r r 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 s 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) NrD)r2rr4r4r5rs 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/r8r4r4r5r$s 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)) NrE)r2rr4r4r5r1s 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)) ©r0r8r4r4r5r>s 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)) NrF)r2rr4r4r5rKs cCs|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Ús