ruạṛ
a ���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 ZdZdZdZdZdd� Zedd� �Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zdd� Zdd � Zd!S )"�OpsiDataObjectSummaryz) Summary of an OPSI data object. �DATABASE_INSIGHTS_DATA_OBJECT�HOST_INSIGHTS_DATA_OBJECT�EXADATA_INSIGHTS_DATA_OBJECTc K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new OpsiDataObjectSummary 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.HostInsightsDataObjectSummary` * :class:`~oci.opsi.models.DatabaseInsightsDataObjectSummary` * :class:`~oci.opsi.models.ExadataInsightsDataObjectSummary` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param identifier: The value to assign to the identifier property of this OpsiDataObjectSummary. :type identifier: str :param data_object_type: The value to assign to the data_object_type property of this OpsiDataObjectSummary. Allowed values for this property are: "DATABASE_INSIGHTS_DATA_OBJECT", "HOST_INSIGHTS_DATA_OBJECT", "EXADATA_INSIGHTS_DATA_OBJECT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type data_object_type: str :param display_name: The value to assign to the display_name property of this OpsiDataObjectSummary. :type display_name: str :param description: The value to assign to the description property of this OpsiDataObjectSummary. :type description: str :param name: The value to assign to the name property of this OpsiDataObjectSummary. :type name: str :param group_names: The value to assign to the group_names property of this OpsiDataObjectSummary. :type group_names: list[str] �strz list[str])� identifier�data_object_type�display_name�description�name�group_namesr �dataObjectTypeZdisplayNamer r Z groupNamesN)Z swagger_typesZ attribute_map�_identifier�_data_object_type� _display_name�_description�_name�_group_names)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/opsi/models/opsi_data_object_summary.py�__init__ s( '� � zOpsiDataObjectSummary.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S ) 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 ZHostInsightsDataObjectSummaryr Z!DatabaseInsightsDataObjectSummaryr Z ExadataInsightsDataObjectSummaryr Nr )Zobject_dictionary�typer r r �get_subtype] s z!OpsiDataObjectSummary.get_subtypec C s | j S )z� **[Required]** Gets the identifier of this OpsiDataObjectSummary. Unique identifier of OPSI data object. :return: The identifier of this OpsiDataObjectSummary. :rtype: str �r �r r r r r p s z OpsiDataObjectSummary.identifierc C s || _ dS )z� Sets the identifier of this OpsiDataObjectSummary. Unique identifier of OPSI data object. :param identifier: The identifier of this OpsiDataObjectSummary. :type: str Nr )r r r r r r | s c C s | j S )a� **[Required]** Gets the data_object_type of this OpsiDataObjectSummary. Type of OPSI data object. Allowed values for this property are: "DATABASE_INSIGHTS_DATA_OBJECT", "HOST_INSIGHTS_DATA_OBJECT", "EXADATA_INSIGHTS_DATA_OBJECT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The data_object_type of this OpsiDataObjectSummary. :rtype: str )r r r r r r � s z&OpsiDataObjectSummary.data_object_typec C s g d�}t ||�sd}|| _dS )z� Sets the data_object_type of this OpsiDataObjectSummary. Type of OPSI data object. :param data_object_type: The data_object_type of this OpsiDataObjectSummary. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� **[Required]** Gets the display_name of this OpsiDataObjectSummary. User-friendly name of OPSI data object. :return: The display_name of this OpsiDataObjectSummary. :rtype: str �r r r r r r � s z"OpsiDataObjectSummary.display_namec C s || _ dS )z� Sets the display_name of this OpsiDataObjectSummary. User-friendly name of OPSI data object. :param display_name: The display_name of this OpsiDataObjectSummary. :type: str Nr! )r r r r r r � s c C s | j S )z� Gets the description of this OpsiDataObjectSummary. Description of OPSI data object. :return: The description of this OpsiDataObjectSummary. :rtype: str �r r r r r r � s z!OpsiDataObjectSummary.descriptionc C s || _ dS )z� Sets the description of this OpsiDataObjectSummary. Description of OPSI data object. :param description: The description of this OpsiDataObjectSummary. :type: str Nr"