ruạṛ
a ���fb$ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ConfigurationItemSummary� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd� ZdS ) �BasicConfigurationItemSummarya Basic configuration item summary. Value field contain the most preferred value for the specified scope (compartmentId), which could be from any of the ConfigurationItemValueSourceConfigurationType. Default value field contains the default value from Ops Insights. �DEFAULT�TENANT�COMPARTMENTc K s` dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d | _dS )a� Initializes a new BasicConfigurationItemSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.BasicConfigurationItemSummary.config_item_type` attribute of this class is ``BASIC`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param config_item_type: The value to assign to the config_item_type property of this BasicConfigurationItemSummary. Allowed values for this property are: "BASIC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type config_item_type: str :param name: The value to assign to the name property of this BasicConfigurationItemSummary. :type name: str :param value: The value to assign to the value property of this BasicConfigurationItemSummary. :type value: str :param value_source_config: The value to assign to the value_source_config property of this BasicConfigurationItemSummary. Allowed values for this property are: "DEFAULT", "TENANT", "COMPARTMENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type value_source_config: str :param default_value: The value to assign to the default_value property of this BasicConfigurationItemSummary. :type default_value: str :param applicable_contexts: The value to assign to the applicable_contexts property of this BasicConfigurationItemSummary. :type applicable_contexts: list[str] :param metadata: The value to assign to the metadata property of this BasicConfigurationItemSummary. :type metadata: oci.opsi.models.ConfigurationItemMetadata �strz list[str]ZConfigurationItemMetadata)Zconfig_item_type�name�value�value_source_config� default_value�applicable_contexts�metadataZconfigItemTyper r ZvalueSourceConfigZdefaultValueZapplicableContextsr NZBASIC) Z swagger_typesZ attribute_mapZ_config_item_type�_name�_value�_value_source_config�_default_value�_applicable_contexts� _metadata)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/opsi/models/basic_configuration_item_summary.py�__init__ s0 (�� z&BasicConfigurationItemSummary.__init__c C s | j S )z� Gets the name of this BasicConfigurationItemSummary. Name of configuration item. :return: The name of this BasicConfigurationItemSummary. :rtype: str �r �r r r r r d s z"BasicConfigurationItemSummary.namec C s || _ dS )z� Sets the name of this BasicConfigurationItemSummary. Name of configuration item. :param name: The name of this BasicConfigurationItemSummary. :type: str Nr )r r r r r r p s c C s | j S )z� Gets the value of this BasicConfigurationItemSummary. Value of configuration item. :return: The value of this BasicConfigurationItemSummary. :rtype: str �r r r r r r | s z#BasicConfigurationItemSummary.valuec C s || _ dS )z� Sets the value of this BasicConfigurationItemSummary. Value of configuration item. :param value: The value of this BasicConfigurationItemSummary. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the value_source_config of this BasicConfigurationItemSummary. Source configuration from where the value is taken for a configuration item. Allowed values for this property are: "DEFAULT", "TENANT", "COMPARTMENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The value_source_config of this BasicConfigurationItemSummary. :rtype: str )r r r r r r � s z1BasicConfigurationItemSummary.value_source_configc C s g d�}t ||�sd}|| _dS )a" Sets the value_source_config of this BasicConfigurationItemSummary. Source configuration from where the value is taken for a configuration item. :param value_source_config: The value_source_config of this BasicConfigurationItemSummary. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� Gets the default_value of this BasicConfigurationItemSummary. Value of configuration item. :return: The default_value of this BasicConfigurationItemSummary. :rtype: str �r r r r r r � s z+BasicConfigurationItemSummary.default_valuec C s || _ dS )z� Sets the default_value of this BasicConfigurationItemSummary. Value of configuration item. :param default_value: The default_value of this BasicConfigurationItemSummary. :type: str Nr! )r r r r r r � s c C s | j S )a Gets the applicable_contexts of this BasicConfigurationItemSummary. List of contexts in Ops Insights where this configuration item is applicable. :return: The applicable_contexts of this BasicConfigurationItemSummary. :rtype: list[str] �r r r r r r � s z1BasicConfigurationItemSummary.applicable_contextsc C s || _ dS )a) Sets the applicable_contexts of this BasicConfigurationItemSummary. List of contexts in Ops Insights where this configuration item is applicable. :param applicable_contexts: The applicable_contexts of this BasicConfigurationItemSummary. :type: list[str] Nr"