ruạṛ
a ���f�Q � @ 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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zd7d8� Zd9d:� Zd;d<� Zd=S )>�ContainerSummaryz0 Summary information about a container. c K s� dddddddddddddddddd�| _ d d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new ContainerSummary 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 ContainerSummary. :type id: str :param display_name: The value to assign to the display_name property of this ContainerSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this ContainerSummary. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this ContainerSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ContainerSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ContainerSummary. :type system_tags: dict(str, dict(str, object)) :param availability_domain: The value to assign to the availability_domain property of this ContainerSummary. :type availability_domain: str :param fault_domain: The value to assign to the fault_domain property of this ContainerSummary. :type fault_domain: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ContainerSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ContainerSummary. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this ContainerSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ContainerSummary. :type time_updated: datetime :param container_instance_id: The value to assign to the container_instance_id property of this ContainerSummary. :type container_instance_id: str :param resource_config: The value to assign to the resource_config property of this ContainerSummary. :type resource_config: oci.container_instances.models.ContainerResourceConfig :param image_url: The value to assign to the image_url property of this ContainerSummary. :type image_url: str :param is_resource_principal_disabled: The value to assign to the is_resource_principal_disabled property of this ContainerSummary. :type is_resource_principal_disabled: bool :param security_context: The value to assign to the security_context property of this ContainerSummary. :type security_context: oci.container_instances.models.SecurityContext �strzdict(str, str)zdict(str, dict(str, object))ZdatetimeZContainerResourceConfig�boolZSecurityContext)�id�display_name�compartment_id� freeform_tags�defined_tags�system_tags�availability_domain�fault_domain�lifecycle_state�lifecycle_details�time_created�time_updated�container_instance_id�resource_config� image_url�is_resource_principal_disabled�security_contextr ZdisplayNameZ compartmentIdZfreeformTagsZdefinedTagsZ systemTagsZavailabilityDomainZfaultDomainZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZcontainerInstanceIdZresourceConfigZimageUrlZisResourcePrincipalDisabledZsecurityContextN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id�_freeform_tags� _defined_tags�_system_tags�_availability_domain� _fault_domain�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_container_instance_id�_resource_config� _image_url�_is_resource_principal_disabled�_security_context)�self�kwargs� r- �T/usr/lib/python3.9/site-packages/oci/container_instances/models/container_summary.py�__init__ sj K��zContainerSummary.__init__c C s | j S )a **[Required]** Gets the id of this ContainerSummary. The `OCID`__ of the container. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this ContainerSummary. :rtype: str �r �r+ r- r- r. r � s zContainerSummary.idc C s || _ dS )z� Sets the id of this ContainerSummary. The `OCID`__ of the container. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this ContainerSummary. :type: str Nr0 )r+ r r- r- r. r � s c C s | j S )a **[Required]** Gets the display_name of this ContainerSummary. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this ContainerSummary. :rtype: str �r r1 r- r- r. r � s zContainerSummary.display_namec C s || _ dS )a Sets the display_name of this ContainerSummary. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this ContainerSummary. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )a **[Required]** Gets the compartment_id of this ContainerSummary. The compartment `OCID`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ContainerSummary. :rtype: str �r r1 r- r- r. r � s zContainerSummary.compartment_idc C s || _ dS )a Sets the compartment_id of this ContainerSummary. The compartment `OCID`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ContainerSummary. :type: str Nr3 )r+ r r- r- r. r � s c C s | j S )aG Gets the freeform_tags of this ContainerSummary. 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 ContainerSummary. :rtype: dict(str, str) �r r1 r- r- r. r � s zContainerSummary.freeform_tagsc C s || _ dS )aS Sets the freeform_tags of this ContainerSummary. 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 ContainerSummary. :type: dict(str, str) Nr4 )r+ r r- r- r. r � s c C s | j S )aB Gets the defined_tags of this ContainerSummary. 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 ContainerSummary. :rtype: dict(str, dict(str, object)) �r r1 r- r- r. r s zContainerSummary.defined_tagsc C s || _ dS )aM Sets the defined_tags of this ContainerSummary. 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 ContainerSummary. :type: dict(str, dict(str, object)) Nr5 )r+ r r- r- r. r s c C s | j S )a? Gets the system_tags of this ContainerSummary. 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 ContainerSummary. :rtype: dict(str, dict(str, object)) �r r1 r- r- r. r s zContainerSummary.system_tagsc C s || _ dS )aI Sets the system_tags of this ContainerSummary. 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 ContainerSummary. :type: dict(str, dict(str, object)) Nr6 )r+ r r- r- r. r ' s c C s | j S )a **[Required]** Gets the availability_domain of this ContainerSummary. The availability domain where the container instance that hosts this container runs. :return: The availability_domain of this ContainerSummary. :rtype: str �r r1 r- r- r. r 4 s z$ContainerSummary.availability_domainc C s || _ dS )a Sets the availability_domain of this ContainerSummary. The availability domain where the container instance that hosts this container runs. :param availability_domain: The availability_domain of this ContainerSummary. :type: str Nr7 )r+ r r- r- r. r @ s c C s | j S )z� Gets the fault_domain of this ContainerSummary. The fault domain where the container instance that hosts the container runs. :return: The fault_domain of this ContainerSummary. :rtype: str �r! r1 r- r- r. r L s zContainerSummary.fault_domainc C s || _ dS )z� Sets the fault_domain of this ContainerSummary. The fault domain where the container instance that hosts the container runs. :param fault_domain: The fault_domain of this ContainerSummary. :type: str Nr8 )r+ r r- r- r. r X s c C s | j S )z� **[Required]** Gets the lifecycle_state of this ContainerSummary. The current state of the container. :return: The lifecycle_state of this ContainerSummary. :rtype: str �r"