ruạṛ
a ���fV � @ 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 j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd� ZdS ) � TargetSummaryzJ Details of a target member of a Exadata Fleet Update Collection. �IDLE� EXECUTING_JOB� JOB_FAILEDc K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )aj Initializes a new TargetSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param target: The value to assign to the target property of this TargetSummary. :type target: oci.fleet_software_update.models.TargetDetails :param current_version: The value to assign to the current_version property of this TargetSummary. :type current_version: str :param status: The value to assign to the status property of this TargetSummary. Allowed values for this property are: "IDLE", "EXECUTING_JOB", "JOB_FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param executing_fsu_job_id: The value to assign to the executing_fsu_job_id property of this TargetSummary. :type executing_fsu_job_id: str :param active_fsu_cycle_id: The value to assign to the active_fsu_cycle_id property of this TargetSummary. :type active_fsu_cycle_id: str :param progress: The value to assign to the progress property of this TargetSummary. :type progress: oci.fleet_software_update.models.TargetProgressSummary Z TargetDetails�strZTargetProgressSummary)�target�current_version�status�executing_fsu_job_id�active_fsu_cycle_id�progressr ZcurrentVersionr ZexecutingFsuJobIdZactiveFsuCycleIdr N)Z swagger_typesZ attribute_map�_target�_current_version�_status�_executing_fsu_job_id�_active_fsu_cycle_id� _progress)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/fleet_software_update/models/target_summary.py�__init__ s( !� � zTargetSummary.__init__c C s | j S )z� Gets the target of this TargetSummary. :return: The target of this TargetSummary. :rtype: oci.fleet_software_update.models.TargetDetails �r �r r r r r W s zTargetSummary.targetc C s || _ dS )z� Sets the target of this TargetSummary. :param target: The target of this TargetSummary. :type: oci.fleet_software_update.models.TargetDetails Nr )r r r r r r a s c C s | j S )z� Gets the current_version of this TargetSummary. Current version of the target :return: The current_version of this TargetSummary. :rtype: str �r r r r r r k s zTargetSummary.current_versionc C s || _ dS )z� Sets the current_version of this TargetSummary. Current version of the target :param current_version: The current_version of this TargetSummary. :type: str Nr )r r r r r r w s c C s | j S )a� Gets the status of this TargetSummary. Status of the target in the Exadata Fleet Update Collection. Allowed values for this property are: "IDLE", "EXECUTING_JOB", "JOB_FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this TargetSummary. :rtype: str )r r r r r r � s zTargetSummary.statusc C s g d�}t ||�sd}|| _dS )z� Sets the status of this TargetSummary. Status of the target in the Exadata Fleet Update Collection. :param status: The status of this TargetSummary. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )a Gets the executing_fsu_job_id of this TargetSummary. Exadata Fleet Update Job OCID executing an action in the target. Null if no job is being executed. :return: The executing_fsu_job_id of this TargetSummary. :rtype: str �r r r r r r � s z"TargetSummary.executing_fsu_job_idc C s || _ dS )a Sets the executing_fsu_job_id of this TargetSummary. Exadata Fleet Update Job OCID executing an action in the target. Null if no job is being executed. :param executing_fsu_job_id: The executing_fsu_job_id of this TargetSummary. :type: str Nr )r r r r r r � s c C s | j S )a Gets the active_fsu_cycle_id of this TargetSummary. Active Exadata Fleet Update Cycle OCID. Null if no Cycle is active that has this target as member. :return: The active_fsu_cycle_id of this TargetSummary. :rtype: str �r r r r r r � s z!TargetSummary.active_fsu_cycle_idc C s || _ dS )a Sets the active_fsu_cycle_id of this TargetSummary. Active Exadata Fleet Update Cycle OCID. Null if no Cycle is active that has this target as member. :param active_fsu_cycle_id: The active_fsu_cycle_id of this TargetSummary. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the progress of this TargetSummary. :return: The progress of this TargetSummary. :rtype: oci.fleet_software_update.models.TargetProgressSummary �r r r r r r � s zTargetSummary.progressc C s || _ dS )z� Sets the progress of this TargetSummary. :param progress: The progress of this TargetSummary. :type: oci.fleet_software_update.models.TargetProgressSummary Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zTargetSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zTargetSummary.__eq__c C s | |k S r"