o
    ɶd#                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdZdZdZdZdZdZ	dd	 Z
ed
d Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zdd Zdd Zd d! Zd"S )#HostDetailszI
    Partial information about a host which includes id, name, type.
    LINUXSOLARISSUNOSZLINUXWINDOWSAIXc                 K   sP   ddddddd| _ ddddddd| _d	| _d	| _d	| _d	| _d	| _d	| _d	S )
a  
        Initializes a new HostDetails object with values from keyword arguments.
        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 HostDetails.
        :type id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this HostDetails.
        :type compartment_id: str

        :param host_name:
            The value to assign to the host_name property of this HostDetails.
        :type host_name: str

        :param host_display_name:
            The value to assign to the host_display_name property of this HostDetails.
        :type host_display_name: str

        :param platform_type:
            The value to assign to the platform_type property of this HostDetails.
            Allowed values for this property are: "LINUX", "SOLARIS", "SUNOS", "ZLINUX", "WINDOWS", "AIX", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type platform_type: str

        :param agent_identifier:
            The value to assign to the agent_identifier property of this HostDetails.
        :type agent_identifier: str

        str)idcompartment_id	host_namehost_display_nameplatform_typeagent_identifierr   ZcompartmentIdZhostNameZhostDisplayNameZplatformTypeZagentIdentifierN)Zswagger_typesZattribute_map_id_compartment_id
_host_name_host_display_name_platform_type_agent_identifier)selfkwargs r   @usr/lib/python3.10/site-packages/oci/opsi/models/host_details.py__init__*   s(   !
	
zHostDetails.__init__c                 C      | j S )z
        **[Required]** Gets the id of this HostDetails.
        The `OCID`__ of the host.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The id of this HostDetails.
        :rtype: str
        r   r   r   r   r   r   c      zHostDetails.idc                 C   
   || _ dS )z
        Sets the id of this HostDetails.
        The `OCID`__ of the host.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param id: The id of this HostDetails.
        :type: str
        Nr    )r   r   r   r   r   r   q      
c                 C   r   )a  
        **[Required]** Gets the compartment_id of this HostDetails.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this HostDetails.
        :rtype: str
        r   r!   r   r   r   r      r"   zHostDetails.compartment_idc                 C   r#   )a  
        Sets the compartment_id of this HostDetails.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this HostDetails.
        :type: str
        Nr%   )r   r   r   r   r   r      r$   c                 C   r   )z
        **[Required]** Gets the host_name of this HostDetails.
        The host name. The host name is unique amongst the hosts managed by the same management agent.


        :return: The host_name of this HostDetails.
        :rtype: str
        r   r!   r   r   r   r         
zHostDetails.host_namec                 C   r#   )z
        Sets the host_name of this HostDetails.
        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 HostDetails.
        :type: str
        Nr&   )r   r   r   r   r   r         

c                 C   r   )z
        Gets the host_display_name of this HostDetails.
        The user-friendly name for the host. The name does not have to be unique.


        :return: The host_display_name of this HostDetails.
        :rtype: str
        r   r!   r   r   r   r      r'   zHostDetails.host_display_namec                 C   r#   )z
        Sets the host_display_name of this HostDetails.
        The user-friendly name for the host. The name does not have to be unique.


        :param host_display_name: The host_display_name of this HostDetails.
        :type: str
        Nr)   )r   r   r   r   r   r      r(   c                 C   r   )a  
        **[Required]** Gets the platform_type of this HostDetails.
        Platform type.
        Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
        Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
        Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].

        Allowed values for this property are: "LINUX", "SOLARIS", "SUNOS", "ZLINUX", "WINDOWS", "AIX", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The platform_type of this HostDetails.
        :rtype: str
        )r   r!   r   r   r   r      s   zHostDetails.platform_typec                 C   s    g d}t ||sd}|| _dS )a  
        Sets the platform_type of this HostDetails.
        Platform type.
        Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
        Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
        Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].


        :param platform_type: The platform_type of this HostDetails.
        :type: str
        )r   r   r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r      s   

c                 C   r   )z
        **[Required]** Gets the agent_identifier of this HostDetails.
        The identifier of the agent.


        :return: The agent_identifier of this HostDetails.
        :rtype: str
        r   r!   r   r   r   r      r'   zHostDetails.agent_identifierc                 C   r#   )z
        Sets the agent_identifier of this HostDetails.
        The identifier of the agent.


        :param agent_identifier: The agent_identifier of this HostDetails.
        :type: str
        Nr*   )r   r   r   r   r   r      r(   c                 C   s   t | S N)r   r!   r   r   r   __repr__  s   zHostDetails.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__
  s   zHostDetails.__eq__c                 C   s
   | |k S r+   r   r.   r   r   r   __ne__  s   
zHostDetails.__ne__N)__name__
__module____qualname____doc__ZPLATFORM_TYPE_LINUXZPLATFORM_TYPE_SOLARISZPLATFORM_TYPE_SUNOSZPLATFORM_TYPE_ZLINUXZPLATFORM_TYPE_WINDOWSZPLATFORM_TYPE_AIXr   propertyr   setterr   r   r   r   r   r,   r0   r1   r   r   r   r   r      sH    9











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   