o
    ɶd/                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   sN  e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd  Zejd!d  Zed"d# Zejd$d# Zd%d& Zd'd( Zd)d* Zd+S ),QueueSummaryz
    Summary of the Queue.
    c                 K   s   dddddddddddd| _ dddd	d
ddddddd| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _dS )aY  
        Initializes a new QueueSummary 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 QueueSummary.
        :type id: str

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

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

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this QueueSummary.
        :type lifecycle_state: str

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

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

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

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

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

        strdatetimezdict(str, str)zdict(str, dict(str, object)))iddisplay_namecompartment_idtime_createdtime_updatedlifecycle_statelifecycle_detailsmessages_endpointfreeform_tagsdefined_tagssystem_tagsr	   ZdisplayNameZcompartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZmessagesEndpointZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_map_id_display_name_compartment_id_time_created_time_updated_lifecycle_state_lifecycle_details_messages_endpoint_freeform_tags_defined_tags_system_tags)selfkwargs r!   Busr/lib/python3.10/site-packages/oci/queue/models/queue_summary.py__init__   sF   3
zQueueSummary.__init__c                 C      | j S )z
        **[Required]** Gets the id of this QueueSummary.
        Unique identifier that is immutable on creation


        :return: The id of this QueueSummary.
        :rtype: str
        r   r   r!   r!   r"   r	   l      
zQueueSummary.idc                 C   
   || _ dS )z
        Sets the id of this QueueSummary.
        Unique identifier that is immutable on creation


        :param id: The id of this QueueSummary.
        :type: str
        Nr%   )r   r	   r!   r!   r"   r	   x      

c                 C   r$   )z
        Gets the display_name of this QueueSummary.
        Queue Identifier, can be renamed


        :return: The display_name of this QueueSummary.
        :rtype: str
        r   r&   r!   r!   r"   r
      r'   zQueueSummary.display_namec                 C   r(   )z
        Sets the display_name of this QueueSummary.
        Queue Identifier, can be renamed


        :param display_name: The display_name of this QueueSummary.
        :type: str
        Nr*   )r   r
   r!   r!   r"   r
      r)   c                 C   r$   )z
        **[Required]** Gets the compartment_id of this QueueSummary.
        Compartment Identifier


        :return: The compartment_id of this QueueSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zQueueSummary.compartment_idc                 C   r(   )z
        Sets the compartment_id of this QueueSummary.
        Compartment Identifier


        :param compartment_id: The compartment_id of this QueueSummary.
        :type: str
        Nr+   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        **[Required]** Gets the time_created of this QueueSummary.
        The time the the Queue was created. An RFC3339 formatted datetime string


        :return: The time_created of this QueueSummary.
        :rtype: datetime
        r   r&   r!   r!   r"   r      r'   zQueueSummary.time_createdc                 C   r(   )z
        Sets the time_created of this QueueSummary.
        The time the the Queue was created. An RFC3339 formatted datetime string


        :param time_created: The time_created of this QueueSummary.
        :type: datetime
        Nr,   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        **[Required]** Gets the time_updated of this QueueSummary.
        The time the Queue was updated. An RFC3339 formatted datetime string


        :return: The time_updated of this QueueSummary.
        :rtype: datetime
        r   r&   r!   r!   r"   r      r'   zQueueSummary.time_updatedc                 C   r(   )z
        Sets the time_updated of this QueueSummary.
        The time the Queue was updated. An RFC3339 formatted datetime string


        :param time_updated: The time_updated of this QueueSummary.
        :type: datetime
        Nr-   )r   r   r!   r!   r"   r      r)   c                 C   r$   )z
        **[Required]** Gets the lifecycle_state of this QueueSummary.
        The current state of the Queue.


        :return: The lifecycle_state of this QueueSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zQueueSummary.lifecycle_statec                 C   r(   )z
        Sets the lifecycle_state of this QueueSummary.
        The current state of the Queue.


        :param lifecycle_state: The lifecycle_state of this QueueSummary.
        :type: str
        Nr.   )r   r   r!   r!   r"   r      r)   c                 C   r$   )a/  
        Gets the lifecycle_details of this QueueSummary.
        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 QueueSummary.
        :rtype: str
        r   r&   r!   r!   r"   r      r'   zQueueSummary.lifecycle_detailsc                 C   r(   )a?  
        Sets the lifecycle_details of this QueueSummary.
        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 QueueSummary.
        :type: str
        Nr/   )r   r   r!   r!   r"   r     r)   c                 C   r$   )z
        **[Required]** Gets the messages_endpoint of this QueueSummary.
        The endpoint to use to get or put messages in the queue.


        :return: The messages_endpoint of this QueueSummary.
        :rtype: str
        r   r&   r!   r!   r"   r     r'   zQueueSummary.messages_endpointc                 C   r(   )z
        Sets the messages_endpoint of this QueueSummary.
        The endpoint to use to get or put messages in the queue.


        :param messages_endpoint: The messages_endpoint of this QueueSummary.
        :type: str
        Nr0   )r   r   r!   r!   r"   r      r)   c                 C   r$   )a?  
        Gets the freeform_tags of this QueueSummary.
        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 QueueSummary.
        :rtype: dict(str, str)
        r   r&   r!   r!   r"   r   ,     zQueueSummary.freeform_tagsc                 C   r(   )aK  
        Sets the freeform_tags of this QueueSummary.
        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 QueueSummary.
        :type: dict(str, str)
        Nr1   )r   r   r!   r!   r"   r   9     
c                 C   r$   )a9  
        Gets the defined_tags of this QueueSummary.
        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 QueueSummary.
        :rtype: dict(str, dict(str, object))
        r   r&   r!   r!   r"   r   F  r2   zQueueSummary.defined_tagsc                 C   r(   )aD  
        Sets the defined_tags of this QueueSummary.
        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 QueueSummary.
        :type: dict(str, dict(str, object))
        Nr4   )r   r   r!   r!   r"   r   S  r3   c                 C   r$   )a6  
        Gets the system_tags of this QueueSummary.
        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 QueueSummary.
        :rtype: dict(str, dict(str, object))
        r   r&   r!   r!   r"   r   `  r2   zQueueSummary.system_tagsc                 C   r(   )a@  
        Sets the system_tags of this QueueSummary.
        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 QueueSummary.
        :type: dict(str, dict(str, object))
        Nr5   )r   r   r!   r!   r"   r   m  r3   c                 C   s   t | S N)r   r&   r!   r!   r"   __repr__z  s   zQueueSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr!   r!   r"   __eq__}  s   zQueueSummary.__eq__c                 C   s
   | |k S r6   r!   r9   r!   r!   r"   __ne__  s   
zQueueSummary.__ne__N)__name__
__module____qualname____doc__r#   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r7   r;   r<   r!   r!   r!   r"   r      sd    Z





















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r!   r!   r!   r"   <module>   s   