ruạṛ
a ���f�3 � @ 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 @ s2 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� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Zd$d%� Zd&d'� Zd(d)� Zd*S )+�OpsiDataObjectz OPSI data object. �DATABASE_INSIGHTS_DATA_OBJECT�HOST_INSIGHTS_DATA_OBJECT�EXADATA_INSIGHTS_DATA_OBJECTc K sn dddddddddd� | _ dddd d ddd dd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ dS )a Initializes a new OpsiDataObject 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.HostInsightsDataObject` * :class:`~oci.opsi.models.ExadataInsightsDataObject` * :class:`~oci.opsi.models.DatabaseInsightsDataObject` 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 OpsiDataObject. :type identifier: str :param data_object_type: The value to assign to the data_object_type property of this OpsiDataObject. 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 OpsiDataObject. :type display_name: str :param description: The value to assign to the description property of this OpsiDataObject. :type description: str :param name: The value to assign to the name property of this OpsiDataObject. :type name: str :param group_names: The value to assign to the group_names property of this OpsiDataObject. :type group_names: list[str] :param supported_query_time_period: The value to assign to the supported_query_time_period property of this OpsiDataObject. :type supported_query_time_period: str :param columns_metadata: The value to assign to the columns_metadata property of this OpsiDataObject. :type columns_metadata: list[oci.opsi.models.DataObjectColumnMetadata] :param supported_query_params: The value to assign to the supported_query_params property of this OpsiDataObject. :type supported_query_params: list[oci.opsi.models.OpsiDataObjectSupportedQueryParam] �strz list[str]zlist[DataObjectColumnMetadata]z'list[OpsiDataObjectSupportedQueryParam]) � identifier�data_object_type�display_name�description�name�group_names�supported_query_time_period�columns_metadata�supported_query_paramsr �dataObjectTypeZdisplayNamer r Z groupNamesZsupportedQueryTimePeriodZcolumnsMetadataZsupportedQueryParamsN)Z swagger_typesZ attribute_map�_identifier�_data_object_type� _display_name�_description�_name�_group_names�_supported_query_time_period�_columns_metadata�_supported_query_params)�self�kwargs� r �D/usr/lib/python3.9/site-packages/oci/opsi/models/opsi_data_object.py�__init__ s: 3� �zOpsiDataObject.__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 ZHostInsightsDataObjectr ZExadataInsightsDataObjectr ZDatabaseInsightsDataObjectr Nr )Zobject_dictionary�typer r r! �get_subtyper s zOpsiDataObject.get_subtypec C s | j S )z� **[Required]** Gets the identifier of this OpsiDataObject. Unique identifier of OPSI data object. :return: The identifier of this OpsiDataObject. :rtype: str �r �r r r r! r � s zOpsiDataObject.identifierc C s || _ dS )z� Sets the identifier of this OpsiDataObject. Unique identifier of OPSI data object. :param identifier: The identifier of this OpsiDataObject. :type: str Nr% )r r r r r! r � s c C s | j S )a� **[Required]** Gets the data_object_type of this OpsiDataObject. 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 OpsiDataObject. :rtype: str )r r&