ruạṛ
a ���f+R � @ 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� �Zed7d8� �Zejd9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�ContainerInstanceSummaryzS A set of details about a single container instance returned by list APIs. c K s� ddddddddddddddddddd�| _ dd d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a� Initializes a new ContainerInstanceSummary 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 ContainerInstanceSummary. :type id: str :param display_name: The value to assign to the display_name property of this ContainerInstanceSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this ContainerInstanceSummary. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this ContainerInstanceSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ContainerInstanceSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ContainerInstanceSummary. :type system_tags: dict(str, dict(str, object)) :param availability_domain: The value to assign to the availability_domain property of this ContainerInstanceSummary. :type availability_domain: str :param fault_domain: The value to assign to the fault_domain property of this ContainerInstanceSummary. :type fault_domain: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ContainerInstanceSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ContainerInstanceSummary. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this ContainerInstanceSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ContainerInstanceSummary. :type time_updated: datetime :param shape: The value to assign to the shape property of this ContainerInstanceSummary. :type shape: str :param shape_config: The value to assign to the shape_config property of this ContainerInstanceSummary. :type shape_config: oci.container_instances.models.ContainerInstanceShapeConfig :param container_count: The value to assign to the container_count property of this ContainerInstanceSummary. :type container_count: int :param graceful_shutdown_timeout_in_seconds: The value to assign to the graceful_shutdown_timeout_in_seconds property of this ContainerInstanceSummary. :type graceful_shutdown_timeout_in_seconds: int :param volume_count: The value to assign to the volume_count property of this ContainerInstanceSummary. :type volume_count: int :param container_restart_policy: The value to assign to the container_restart_policy property of this ContainerInstanceSummary. :type container_restart_policy: str �strzdict(str, str)zdict(str, dict(str, object))ZdatetimeZContainerInstanceShapeConfig�int)�id�display_name�compartment_id� freeform_tags�defined_tags�system_tags�availability_domain�fault_domain�lifecycle_state�lifecycle_details�time_created�time_updated�shape�shape_config�container_count�$graceful_shutdown_timeout_in_seconds�volume_count�container_restart_policyr ZdisplayNameZ compartmentIdZfreeformTagsZdefinedTagsZ systemTagsZavailabilityDomainZfaultDomainZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedr ZshapeConfigZcontainerCountZ gracefulShutdownTimeoutInSecondsZvolumeCountZcontainerRestartPolicyN)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�_shape� _shape_config�_container_count�%_graceful_shutdown_timeout_in_seconds� _volume_count�_container_restart_policy)�self�kwargs� r/ �]/usr/lib/python3.9/site-packages/oci/container_instances/models/container_instance_summary.py�__init__ sp O��z!ContainerInstanceSummary.__init__c C s | j S )z� **[Required]** Gets the id of this ContainerInstanceSummary. OCID that cannot be changed. :return: The id of this ContainerInstanceSummary. :rtype: str �r �r- r/ r/ r0 r � s zContainerInstanceSummary.idc C s || _ dS )z� Sets the id of this ContainerInstanceSummary. OCID that cannot be changed. :param id: The id of this ContainerInstanceSummary. :type: str Nr2 )r- r r/ r/ r0 r � s c C s | j S )a* **[Required]** Gets the display_name of this ContainerInstanceSummary. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this ContainerInstanceSummary. :rtype: str �r r3 r/ r/ r0 r � s z%ContainerInstanceSummary.display_namec C s || _ dS )a& Sets the display_name of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :type: str Nr4 )r- r r/ r/ r0 r � s c C s | j S )z� **[Required]** Gets the compartment_id of this ContainerInstanceSummary. The OCID of the compartment to create the container instance in. :return: The compartment_id of this ContainerInstanceSummary. :rtype: str �r r3 r/ r/ r0 r � s z'ContainerInstanceSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this ContainerInstanceSummary. The OCID of the compartment to create the container instance in. :param compartment_id: The compartment_id of this ContainerInstanceSummary. :type: str Nr5 )r- r r/ r/ r0 r � s c C s | j S )aW Gets the freeform_tags of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :rtype: dict(str, str) �r r3 r/ r/ r0 r � s z&ContainerInstanceSummary.freeform_tagsc C s || _ dS )ac Sets the freeform_tags of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :type: dict(str, str) Nr6 )r- r r/ r/ r0 r � s c C s | j S )aR Gets the defined_tags of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :rtype: dict(str, dict(str, object)) �r r3 r/ r/ r0 r � s z%ContainerInstanceSummary.defined_tagsc C s || _ dS )a] Sets the defined_tags of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :type: dict(str, dict(str, object)) Nr7 )r- r r/ r/ r0 r s c C s | j S )aO Gets the system_tags of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :rtype: dict(str, dict(str, object)) �r r3 r/ r/ r0 r s z$ContainerInstanceSummary.system_tagsc C s || _ dS )aY Sets the system_tags of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :type: dict(str, dict(str, object)) Nr8 )r- r r/ r/ r0 r & s c C s | j S )a **[Required]** Gets the availability_domain of this ContainerInstanceSummary. The availability domain where the container instance runs. :return: The availability_domain of this ContainerInstanceSummary. :rtype: str �r! r3 r/ r/ r0 r 3 s z,ContainerInstanceSummary.availability_domainc C s || _ dS )a Sets the availability_domain of this ContainerInstanceSummary. The availability domain where the container instance runs. :param availability_domain: The availability_domain of this ContainerInstanceSummary. :type: str Nr9 )r- r r/ r/ r0 r ? s c C s | j S )z� Gets the fault_domain of this ContainerInstanceSummary. The fault domain where the container instance runs. :return: The fault_domain of this ContainerInstanceSummary. :rtype: str �r"