ruạṛ
a O��f2] � @ 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 Zd ZdZ dZd ZdZdZdd� Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Z e jd1d0� �Z ed2d3� �Z!e!jd4d3� �Z!ed5d6� �Z"e"jd7d6� �Z"ed8d9� �Z#e#jd:d9� �Z#ed;d<� �Z$e$jd=d<� �Z$ed>d?� �Z%e%jd@d?� �Z%edAdB� �Z&e&jdCdB� �Z&dDdE� Z'dFdG� Z(dHdI� Z)dJS )K�HostInsightSummaryz- Summary of a host insight resource. �MACS_MANAGED_EXTERNAL_HOST�EM_MANAGED_EXTERNAL_HOST�MACS_MANAGED_CLOUD_HOST�PE_COMANAGED_HOST�DISABLED�ENABLED� TERMINATED�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�NEEDS_ATTENTIONc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a Initializes a new HostInsightSummary 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.MacsManagedExternalHostInsightSummary` * :class:`~oci.opsi.models.EmManagedExternalHostInsightSummary` * :class:`~oci.opsi.models.MacsManagedCloudHostInsightSummary` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_source: The value to assign to the entity_source property of this HostInsightSummary. Allowed values for this property are: "MACS_MANAGED_EXTERNAL_HOST", "EM_MANAGED_EXTERNAL_HOST", "MACS_MANAGED_CLOUD_HOST", "PE_COMANAGED_HOST", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_source: str :param id: The value to assign to the id property of this HostInsightSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this HostInsightSummary. :type compartment_id: str :param host_name: The value to assign to the host_name property of this HostInsightSummary. :type host_name: str :param host_display_name: The value to assign to the host_display_name property of this HostInsightSummary. :type host_display_name: str :param host_type: The value to assign to the host_type property of this HostInsightSummary. :type host_type: str :param processor_count: The value to assign to the processor_count property of this HostInsightSummary. :type processor_count: int :param freeform_tags: The value to assign to the freeform_tags property of this HostInsightSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this HostInsightSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this HostInsightSummary. :type system_tags: dict(str, dict(str, object)) :param opsi_private_endpoint_id: The value to assign to the opsi_private_endpoint_id property of this HostInsightSummary. :type opsi_private_endpoint_id: str :param status: The value to assign to the status property of this HostInsightSummary. Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param time_created: The value to assign to the time_created property of this HostInsightSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this HostInsightSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this HostInsightSummary. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", '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 HostInsightSummary. :type lifecycle_details: str �str�intzdict(str, str)zdict(str, dict(str, object))�datetime)� entity_source�id�compartment_id� host_name�host_display_name� host_type�processor_count� freeform_tags�defined_tags�system_tags�opsi_private_endpoint_id�status�time_created�time_updated�lifecycle_state�lifecycle_details�entitySourcer � compartmentId�hostName�hostDisplayName�hostType�processorCount�freeformTags�definedTags� systemTags�opsiPrivateEndpointIdr# �timeCreated�timeUpdated�lifecycleState�lifecycleDetailsN)� swagger_types� attribute_map�_entity_source�_id�_compartment_id� _host_name�_host_display_name� _host_type�_processor_count�_freeform_tags� _defined_tags�_system_tags�_opsi_private_endpoint_id�_status� _time_created� _time_updated�_lifecycle_state�_lifecycle_details)�self�kwargs� rJ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/opsi/models/host_insight_summary.py�__init__H sd S��zHostInsightSummary.__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 �%MacsManagedExternalHostInsightSummaryr �#EmManagedExternalHostInsightSummaryr �"MacsManagedCloudHostInsightSummaryr NrJ )�object_dictionary�typerJ rJ rK �get_subtype� s zHostInsightSummary.get_subtypec C s | j S )a� **[Required]** Gets the entity_source of this HostInsightSummary. Source of the host entity. Allowed values for this property are: "MACS_MANAGED_EXTERNAL_HOST", "EM_MANAGED_EXTERNAL_HOST", "MACS_MANAGED_CLOUD_HOST", "PE_COMANAGED_HOST", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The entity_source of this HostInsightSummary. :rtype: str )r8 �rH rJ rJ rK r � s z HostInsightSummary.entity_sourcec C s g d�}t ||�sd}|| _dS )z� Sets the entity_source of this HostInsightSummary. Source of the host entity. :param entity_source: The entity_source of this HostInsightSummary. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r8 )rH r �allowed_valuesrJ rJ rK r � s c C s | j S )a **[Required]** Gets the id of this HostInsightSummary. The `OCID`__ of the host insight resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this HostInsightSummary. :rtype: str �r9 rS rJ rJ rK r s zHostInsightSummary.idc C s || _ dS )a Sets the id of this HostInsightSummary. The `OCID`__ of the host insight resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this HostInsightSummary. :type: str NrV )rH r rJ rJ rK r s c C s | j S )a+ **[Required]** Gets the compartment_id of this HostInsightSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this HostInsightSummary. :rtype: str �r: rS rJ rJ rK r s z!HostInsightSummary.compartment_idc C s || _ dS )a) Sets the compartment_id of this HostInsightSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this HostInsightSummary. :type: str NrW )rH r rJ rJ rK r , s c C s | j S )a **[Required]** Gets the host_name of this HostInsightSummary. The host name. The host name is unique amongst the hosts managed by the same management agent. :return: The host_name of this HostInsightSummary. :rtype: str �r; rS rJ rJ rK r : s zHostInsightSummary.host_namec C s || _ dS )a Sets the host_name of this HostInsightSummary. The host name. The host name is unique amongst the hosts managed by the same management agent. :param host_name: The host_name of this HostInsightSummary. :type: str NrX )rH r rJ rJ rK r F s c C s | j S )z� Gets the host_display_name of this HostInsightSummary. The user-friendly name for the host. The name does not have to be unique. :return: The host_display_name of this HostInsightSummary. :rtype: str �r<