ruạṛ
a ���f�F � @ 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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �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� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�OpsiConfigurationz OPSI configuration. �UX_CONFIGURATION�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new OpsiConfiguration object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.opsi.models.OpsiUxConfiguration` 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 OpsiConfiguration. :type id: str :param compartment_id: The value to assign to the compartment_id property of this OpsiConfiguration. :type compartment_id: str :param opsi_config_type: The value to assign to the opsi_config_type property of this OpsiConfiguration. Allowed values for this property are: "UX_CONFIGURATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type opsi_config_type: str :param display_name: The value to assign to the display_name property of this OpsiConfiguration. :type display_name: str :param description: The value to assign to the description property of this OpsiConfiguration. :type description: str :param freeform_tags: The value to assign to the freeform_tags property of this OpsiConfiguration. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OpsiConfiguration. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this OpsiConfiguration. :type system_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this OpsiConfiguration. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OpsiConfiguration. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this OpsiConfiguration. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this OpsiConfiguration. :type lifecycle_details: str :param config_items: The value to assign to the config_items property of this OpsiConfiguration. :type config_items: list[oci.opsi.models.OpsiConfigurationConfigurationItemSummary] �strzdict(str, str)zdict(str, dict(str, object))Zdatetimez/list[OpsiConfigurationConfigurationItemSummary]) �id�compartment_id�opsi_config_type�display_name�description� freeform_tags�defined_tags�system_tags�time_created�time_updated�lifecycle_state�lifecycle_details�config_itemsr Z compartmentId�opsiConfigTypeZdisplayNamer ZfreeformTagsZdefinedTagsZ systemTagsZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZconfigItemsN)Z swagger_typesZ attribute_map�_id�_compartment_id�_opsi_config_type� _display_name�_description�_freeform_tags� _defined_tags�_system_tags� _time_created� _time_updated�_lifecycle_state�_lifecycle_details� _config_items)�self�kwargs� r, �F/usr/lib/python3.9/site-packages/oci/opsi/models/opsi_configuration.py�__init__. sR C��zOpsiConfiguration.__init__c C s | d }|dkrdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZOpsiUxConfigurationr Nr, )Zobject_dictionary�typer, r, r- �get_subtype� s zOpsiConfiguration.get_subtypec C s | j S )a Gets the id of this OpsiConfiguration. `OCID`__ of OPSI configuration resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this OpsiConfiguration. :rtype: str �r �r* r, r, r- r � s zOpsiConfiguration.idc C s || _ dS )a Sets the id of this OpsiConfiguration. `OCID`__ of OPSI configuration resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this OpsiConfiguration. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )a Gets the compartment_id of this OpsiConfiguration. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this OpsiConfiguration. :rtype: str �r r2 r, r, r- r � s z OpsiConfiguration.compartment_idc C s || _ dS )a' Sets the compartment_id of this OpsiConfiguration. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this OpsiConfiguration. :type: str Nr3 )r* r r, r, r- r � s c C s | j S )a� **[Required]** Gets the opsi_config_type of this OpsiConfiguration. OPSI configuration type. Allowed values for this property are: "UX_CONFIGURATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The opsi_config_type of this OpsiConfiguration. :rtype: str )r r2 r, r, r- r � s z"OpsiConfiguration.opsi_config_typec C s dg}t ||�sd}|| _dS )z� Sets the opsi_config_type of this OpsiConfiguration. OPSI configuration type. :param opsi_config_type: The opsi_config_type of this OpsiConfiguration. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r* r �allowed_valuesr, r, r- r � s c C s | j S )z� Gets the display_name of this OpsiConfiguration. User-friendly display name for the OPSI configuration. The name does not have to be unique. :return: The display_name of this OpsiConfiguration. :rtype: str �r r2 r, r, r- r s zOpsiConfiguration.display_namec C s || _ dS )a Sets the display_name of this OpsiConfiguration. User-friendly display name for the OPSI configuration. The name does not have to be unique. :param display_name: The display_name of this OpsiConfiguration. :type: str Nr6 )r* r r, r, r- r s c C s | j S )z� Gets the description of this OpsiConfiguration. Description of OPSI configuration. :return: The description of this OpsiConfiguration. :rtype: str �r! r2 r, r, r- r s zOpsiConfiguration.descriptionc C s || _ dS )z� Sets the description of this OpsiConfiguration. Description of OPSI configuration. :param description: The description of this OpsiConfiguration. :type: str Nr7 )r* r r, r, r- r % s c C s | j S )aI Gets the freeform_tags of this OpsiConfiguration. 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 OpsiConfiguration. :rtype: dict(str, str) �r"