o
    ɶdv:                     @   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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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ed(d) Zejd*d) Zed+d, Zejd-d, Zed.d/ Zejd0d/ Zd1d2 Zd3d4 Zd5d6 Zd7S )8ClusterDetailsz.
    Specific info about a Hadoop cluster
    c                 K   s   dddddddddddddddd| _ dddddd	d
dddd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 ClusterDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param bda_version:
            The value to assign to the bda_version property of this ClusterDetails.
        :type bda_version: str

        :param bdm_version:
            The value to assign to the bdm_version property of this ClusterDetails.
        :type bdm_version: str

        :param bds_version:
            The value to assign to the bds_version property of this ClusterDetails.
        :type bds_version: str

        :param os_version:
            The value to assign to the os_version property of this ClusterDetails.
        :type os_version: str

        :param db_version:
            The value to assign to the db_version property of this ClusterDetails.
        :type db_version: str

        :param bd_cell_version:
            The value to assign to the bd_cell_version property of this ClusterDetails.
        :type bd_cell_version: str

        :param csql_cell_version:
            The value to assign to the csql_cell_version property of this ClusterDetails.
        :type csql_cell_version: str

        :param time_created:
            The value to assign to the time_created property of this ClusterDetails.
        :type time_created: datetime

        :param time_refreshed:
            The value to assign to the time_refreshed property of this ClusterDetails.
        :type time_refreshed: datetime

        :param cloudera_manager_url:
            The value to assign to the cloudera_manager_url property of this ClusterDetails.
        :type cloudera_manager_url: str

        :param ambari_url:
            The value to assign to the ambari_url property of this ClusterDetails.
        :type ambari_url: str

        :param big_data_manager_url:
            The value to assign to the big_data_manager_url property of this ClusterDetails.
        :type big_data_manager_url: str

        :param hue_server_url:
            The value to assign to the hue_server_url property of this ClusterDetails.
        :type hue_server_url: str

        :param odh_version:
            The value to assign to the odh_version property of this ClusterDetails.
        :type odh_version: str

        :param jupyter_hub_url:
            The value to assign to the jupyter_hub_url property of this ClusterDetails.
        :type jupyter_hub_url: str

        strdatetime)bda_versionbdm_versionbds_version
os_version
db_versionbd_cell_versioncsql_cell_versiontime_createdtime_refreshedcloudera_manager_url
ambari_urlbig_data_manager_urlhue_server_urlodh_versionjupyter_hub_urlZ
bdaVersionZ
bdmVersionZ
bdsVersionZ	osVersionZ	dbVersionZbdCellVersionZcsqlCellVersionZtimeCreatedZtimeRefreshedZclouderaManagerUrlZ	ambariUrlZbigDataManagerUrlZhueServerUrlZ
odhVersionZjupyterHubUrlN)Zswagger_typesZattribute_map_bda_version_bdm_version_bds_version_os_version_db_version_bd_cell_version_csql_cell_version_time_created_time_refreshed_cloudera_manager_url_ambari_url_big_data_manager_url_hue_server_url_odh_version_jupyter_hub_url)selfkwargs r)   Busr/lib/python3.10/site-packages/oci/bds/models/cluster_details.py__init__   s^   C
zClusterDetails.__init__c                 C      | j S )z
        Gets the bda_version of this ClusterDetails.
        BDA version installed in the cluster


        :return: The bda_version of this ClusterDetails.
        :rtype: str
        r   r'   r)   r)   r*   r	         
zClusterDetails.bda_versionc                 C   
   || _ dS )z
        Sets the bda_version of this ClusterDetails.
        BDA version installed in the cluster


        :param bda_version: The bda_version of this ClusterDetails.
        :type: str
        Nr-   )r'   r	   r)   r)   r*   r	         

c                 C   r,   )z
        Gets the bdm_version of this ClusterDetails.
        Big Data Manager version installed in the cluster.


        :return: The bdm_version of this ClusterDetails.
        :rtype: str
        r   r.   r)   r)   r*   r
      r/   zClusterDetails.bdm_versionc                 C   r0   )z
        Sets the bdm_version of this ClusterDetails.
        Big Data Manager version installed in the cluster.


        :param bdm_version: The bdm_version of this ClusterDetails.
        :type: str
        Nr2   )r'   r
   r)   r)   r*   r
      r1   c                 C   r,   )z
        Gets the bds_version of this ClusterDetails.
        Big Data Service version installed in the cluster.


        :return: The bds_version of this ClusterDetails.
        :rtype: str
        r   r.   r)   r)   r*   r      r/   zClusterDetails.bds_versionc                 C   r0   )z
        Sets the bds_version of this ClusterDetails.
        Big Data Service version installed in the cluster.


        :param bds_version: The bds_version of this ClusterDetails.
        :type: str
        Nr3   )r'   r   r)   r)   r*   r      r1   c                 C   r,   )z
        Gets the os_version of this ClusterDetails.
        Oracle Linux version installed in the cluster.


        :return: The os_version of this ClusterDetails.
        :rtype: str
        r   r.   r)   r)   r*   r      r/   zClusterDetails.os_versionc                 C   r0   )z
        Sets the os_version of this ClusterDetails.
        Oracle Linux version installed in the cluster.


        :param os_version: The os_version of this ClusterDetails.
        :type: str
        Nr4   )r'   r   r)   r)   r*   r      r1   c                 C   r,   )z
        Gets the db_version of this ClusterDetails.
        Cloud SQL query server database version.


        :return: The db_version of this ClusterDetails.
        :rtype: str
        r   r.   r)   r)   r*   r      r/   zClusterDetails.db_versionc                 C   r0   )z
        Sets the db_version of this ClusterDetails.
        Cloud SQL query server database version.


        :param db_version: The db_version of this ClusterDetails.
        :type: str
        Nr5   )r'   r   r)   r)   r*   r      r1   c                 C   r,   )z
        Gets the bd_cell_version of this ClusterDetails.
        Cloud SQL cell version.


        :return: The bd_cell_version of this ClusterDetails.
        :rtype: str
        r   r.   r)   r)   r*   r      r/   zClusterDetails.bd_cell_versionc                 C   r0   )z
        Sets the bd_cell_version of this ClusterDetails.
        Cloud SQL cell version.


        :param bd_cell_version: The bd_cell_version of this ClusterDetails.
        :type: str
        Nr6   )r'   r   r)   r)   r*   r     r1   c                 C   r,   )z
        Gets the csql_cell_version of this ClusterDetails.
        Big Data SQL version.


        :return: The csql_cell_version of this ClusterDetails.
        :rtype: str
        r   r.   r)   r)   r*   r     r/   z ClusterDetails.csql_cell_versionc                 C   r0   )z
        Sets the csql_cell_version of this ClusterDetails.
        Big Data SQL version.


        :param csql_cell_version: The csql_cell_version of this ClusterDetails.
        :type: str
        Nr7   )r'   r   r)   r)   r*   r   $  r1   c                 C   r,   )z
        **[Required]** Gets the time_created of this ClusterDetails.
        The time the cluster was created, shown as an RFC 3339 formatted datetime string.


        :return: The time_created of this ClusterDetails.
        :rtype: datetime
        r   r.   r)   r)   r*   r   0  r/   zClusterDetails.time_createdc                 C   r0   )z
        Sets the time_created of this ClusterDetails.
        The time the cluster was created, shown as an RFC 3339 formatted datetime string.


        :param time_created: The time_created of this ClusterDetails.
        :type: datetime
        Nr8   )r'   r   r)   r)   r*   r   <  r1   c                 C   r,   )a  
        Gets the time_refreshed of this ClusterDetails.
        The time the cluster was automatically or manually refreshed, shown as an RFC 3339 formatted datetime string.


        :return: The time_refreshed of this ClusterDetails.
        :rtype: datetime
        r    r.   r)   r)   r*   r   H  r/   zClusterDetails.time_refreshedc                 C   r0   )a  
        Sets the time_refreshed of this ClusterDetails.
        The time the cluster was automatically or manually refreshed, shown as an RFC 3339 formatted datetime string.


        :param time_refreshed: The time_refreshed of this ClusterDetails.
        :type: datetime
        Nr9   )r'   r   r)   r)   r*   r   T  r1   c                 C   r,   )z
        Gets the cloudera_manager_url of this ClusterDetails.
        The URL of Cloudera Manager


        :return: The cloudera_manager_url of this ClusterDetails.
        :rtype: str
        r!   r.   r)   r)   r*   r   `  r/   z#ClusterDetails.cloudera_manager_urlc                 C   r0   )z
        Sets the cloudera_manager_url of this ClusterDetails.
        The URL of Cloudera Manager


        :param cloudera_manager_url: The cloudera_manager_url of this ClusterDetails.
        :type: str
        Nr:   )r'   r   r)   r)   r*   r   l  r1   c                 C   r,   )z
        Gets the ambari_url of this ClusterDetails.
        The URL of Ambari


        :return: The ambari_url of this ClusterDetails.
        :rtype: str
        r"   r.   r)   r)   r*   r   x  r/   zClusterDetails.ambari_urlc                 C   r0   )z
        Sets the ambari_url of this ClusterDetails.
        The URL of Ambari


        :param ambari_url: The ambari_url of this ClusterDetails.
        :type: str
        Nr;   )r'   r   r)   r)   r*   r     r1   c                 C   r,   )z
        Gets the big_data_manager_url of this ClusterDetails.
        The URL of Big Data Manager.


        :return: The big_data_manager_url of this ClusterDetails.
        :rtype: str
        r#   r.   r)   r)   r*   r     r/   z#ClusterDetails.big_data_manager_urlc                 C   r0   )z
        Sets the big_data_manager_url of this ClusterDetails.
        The URL of Big Data Manager.


        :param big_data_manager_url: The big_data_manager_url of this ClusterDetails.
        :type: str
        Nr<   )r'   r   r)   r)   r*   r     r1   c                 C   r,   )z
        Gets the hue_server_url of this ClusterDetails.
        The URL of the Hue server.


        :return: The hue_server_url of this ClusterDetails.
        :rtype: str
        r$   r.   r)   r)   r*   r     r/   zClusterDetails.hue_server_urlc                 C   r0   )z
        Sets the hue_server_url of this ClusterDetails.
        The URL of the Hue server.


        :param hue_server_url: The hue_server_url of this ClusterDetails.
        :type: str
        Nr=   )r'   r   r)   r)   r*   r     r1   c                 C   r,   )z
        Gets the odh_version of this ClusterDetails.
        Version of the ODH (Oracle Distribution including Apache Hadoop) installed on the cluster.


        :return: The odh_version of this ClusterDetails.
        :rtype: str
        r%   r.   r)   r)   r*   r     r/   zClusterDetails.odh_versionc                 C   r0   )z
        Sets the odh_version of this ClusterDetails.
        Version of the ODH (Oracle Distribution including Apache Hadoop) installed on the cluster.


        :param odh_version: The odh_version of this ClusterDetails.
        :type: str
        Nr>   )r'   r   r)   r)   r*   r     r1   c                 C   r,   )z
        Gets the jupyter_hub_url of this ClusterDetails.
        The URL of the Jupyterhub.


        :return: The jupyter_hub_url of this ClusterDetails.
        :rtype: str
        r&   r.   r)   r)   r*   r     r/   zClusterDetails.jupyter_hub_urlc                 C   r0   )z
        Sets the jupyter_hub_url of this ClusterDetails.
        The URL of the Jupyterhub.


        :param jupyter_hub_url: The jupyter_hub_url of this ClusterDetails.
        :type: str
        Nr?   )r'   r   r)   r)   r*   r     r1   c                 C   s   t | S N)r   r.   r)   r)   r*   __repr__  s   zClusterDetails.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r'   otherr)   r)   r*   __eq__  s   zClusterDetails.__eq__c                 C   s
   | |k S r@   r)   rC   r)   r)   r*   __ne__  s   
zClusterDetails.__ne__N)__name__
__module____qualname____doc__r+   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r   r   r   r   rA   rE   rF   r)   r)   r)   r*   r      s    v





























r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r)   r)   r)   r*   <module>   s   