ruạṛ
a N��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� �Zed7d8� �Zejd9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�ContainerInstanceSummaryzZ A reduced set of details about a single ContainerInstance 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))�datetime�ContainerInstanceShapeConfig�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 �displayName� compartmentId�freeformTags�definedTags� systemTags�availabilityDomain�faultDomain�lifecycleState�lifecycleDetails�timeCreated�timeUpdatedr �shapeConfig�containerCount� gracefulShutdownTimeoutInSeconds�volumeCount�containerRestartPolicyN)� swagger_types� 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� rC ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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. Unique identifier that is immutable on creation :return: The id of this ContainerInstanceSummary. :rtype: str �r/ �rA rC rC rD r � s zContainerInstanceSummary.idc C s || _ dS )z� Sets the id of this ContainerInstanceSummary. Unique identifier that is immutable on creation :param id: The id of this ContainerInstanceSummary. :type: str NrF )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the display_name of this ContainerInstanceSummary. Display name for the ContainerInstance. Can be renamed. :return: The display_name of this ContainerInstanceSummary. :rtype: str �r0 rG rC rC rD r � s z%ContainerInstanceSummary.display_namec C s || _ dS )z� Sets the display_name of this ContainerInstanceSummary. Display name for the ContainerInstance. Can be renamed. :param display_name: The display_name of this ContainerInstanceSummary. :type: str NrH )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the compartment_id of this ContainerInstanceSummary. Compartment Identifier :return: The compartment_id of this ContainerInstanceSummary. :rtype: str �r1 rG rC rC rD r � s z'ContainerInstanceSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this ContainerInstanceSummary. Compartment Identifier :param compartment_id: The compartment_id of this ContainerInstanceSummary. :type: str NrI )rA r rC rC rD 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) �r2 rG rC rC rD 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) NrJ )rA r rC rC rD r � s c C s | j S )aQ 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)) �r3 rG rC rC rD 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)) NrK )rA r rC rC rD r s c C s | j S )aN 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)) �r4 rG rC rC rD r s z$ContainerInstanceSummary.system_tagsc C s || _ dS )aX 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)) NrL )rA r rC rC rD r $ s c C s | j S )a **[Required]** Gets the availability_domain of this ContainerInstanceSummary. Availability Domain where the ContainerInstance is running. :return: The availability_domain of this ContainerInstanceSummary. :rtype: str �r5 rG rC rC rD r 1 s z,ContainerInstanceSummary.availability_domainc C s || _ dS )a Sets the availability_domain of this ContainerInstanceSummary. Availability Domain where the ContainerInstance is running. :param availability_domain: The availability_domain of this ContainerInstanceSummary. :type: str NrM )rA r rC rC rD r = s c C s | j S )z� Gets the fault_domain of this ContainerInstanceSummary. Fault Domain where the ContainerInstance is running. :return: The fault_domain of this ContainerInstanceSummary. :rtype: str �r6 rG rC rC rD r I s z%ContainerInstanceSummary.fault_domainc C s || _ dS )z� Sets the fault_domain of this ContainerInstanceSummary. Fault Domain where the ContainerInstance is running. :param fault_domain: The fault_domain of this ContainerInstanceSummary. :type: str NrN )rA r rC rC rD r U s c C s | j S )z� **[Required]** Gets the lifecycle_state of this ContainerInstanceSummary. The current state of the ContainerInstance. :return: The lifecycle_state of this ContainerInstanceSummary. :rtype: str �r7 rG rC rC rD r a s z(ContainerInstanceSummary.lifecycle_statec C s || _ dS )z� Sets the lifecycle_state of this ContainerInstanceSummary. The current state of the ContainerInstance. :param lifecycle_state: The lifecycle_state of this ContainerInstanceSummary. :type: str NrO )rA r rC rC rD r m s c C s | j S )aO Gets the lifecycle_details of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :rtype: str �r8 rG rC rC rD r y s z*ContainerInstanceSummary.lifecycle_detailsc C s || _ dS )a_ Sets the lifecycle_details of this ContainerInstanceSummary. 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 ContainerInstanceSummary. :type: str NrP )rA r rC rC rD r � s c C s | j S )a **[Required]** Gets the time_created of this ContainerInstanceSummary. The time the the ContainerInstance was created. An RFC3339 formatted datetime string :return: The time_created of this ContainerInstanceSummary. :rtype: datetime �r9 rG rC rC rD r � s z%ContainerInstanceSummary.time_createdc C s || _ dS )a Sets the time_created of this ContainerInstanceSummary. The time the the ContainerInstance was created. An RFC3339 formatted datetime string :param time_created: The time_created of this ContainerInstanceSummary. :type: datetime NrQ )rA r rC rC rD r � s c C s | j S )a Gets the time_updated of this ContainerInstanceSummary. The time the ContainerInstance was updated. An RFC3339 formatted datetime string :return: The time_updated of this ContainerInstanceSummary. :rtype: datetime �r: rG rC rC rD r � s z%ContainerInstanceSummary.time_updatedc C s || _ dS )a Sets the time_updated of this ContainerInstanceSummary. The time the ContainerInstance was updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this ContainerInstanceSummary. :type: datetime NrR )rA r rC rC rD r � s c C s | j S )a **[Required]** Gets the shape of this ContainerInstanceSummary. The shape of the Container Instance. The shape determines the resources available to the Container Instance. :return: The shape of this ContainerInstanceSummary. :rtype: str �r; rG rC rC rD r � s zContainerInstanceSummary.shapec C s || _ dS )a Sets the shape of this ContainerInstanceSummary. The shape of the Container Instance. The shape determines the resources available to the Container Instance. :param shape: The shape of this ContainerInstanceSummary. :type: str NrS )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the shape_config of this ContainerInstanceSummary. :return: The shape_config of this ContainerInstanceSummary. :rtype: oci.container_instances.models.ContainerInstanceShapeConfig �r<