ruạṛ
a ���f�? � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�HostScanTargetzb A host scan target (application of a host scan recipe to a compartment or list of hosts) �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new HostScanTarget 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 HostScanTarget. :type id: str :param display_name: The value to assign to the display_name property of this HostScanTarget. :type display_name: str :param description: The value to assign to the description property of this HostScanTarget. :type description: str :param compartment_id: The value to assign to the compartment_id property of this HostScanTarget. :type compartment_id: str :param target_compartment_id: The value to assign to the target_compartment_id property of this HostScanTarget. :type target_compartment_id: str :param instance_ids: The value to assign to the instance_ids property of this HostScanTarget. :type instance_ids: list[str] :param host_scan_recipe_id: The value to assign to the host_scan_recipe_id property of this HostScanTarget. :type host_scan_recipe_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this HostScanTarget. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this HostScanTarget. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this HostScanTarget. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this HostScanTarget. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this HostScanTarget. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this HostScanTarget. :type system_tags: dict(str, dict(str, object)) �strz list[str]Zdatetimezdict(str, str)zdict(str, dict(str, object))) �id�display_name�description�compartment_id�target_compartment_id�instance_ids�host_scan_recipe_id�lifecycle_state�time_created�time_updated� freeform_tags�defined_tags�system_tagsr ZdisplayNamer Z compartmentIdZtargetCompartmentIdZinstanceIdsZhostScanRecipeIdZlifecycleStateZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_description�_compartment_id�_target_compartment_id� _instance_ids�_host_scan_recipe_id�_lifecycle_state� _time_created� _time_updated�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r* �V/usr/lib/python3.9/site-packages/oci/vulnerability_scanning/models/host_scan_target.py�__init__* sR =��zHostScanTarget.__init__c C s | j S )z� **[Required]** Gets the id of this HostScanTarget. Unique identifier of the config that is immutable on creation :return: The id of this HostScanTarget. :rtype: str �r �r( r* r* r+ r � s zHostScanTarget.idc C s || _ dS )z� Sets the id of this HostScanTarget. Unique identifier of the config that is immutable on creation :param id: The id of this HostScanTarget. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the display_name of this HostScanTarget. Target identifier, which can be renamed. :return: The display_name of this HostScanTarget. :rtype: str �r r. r* r* r+ r � s zHostScanTarget.display_namec C s || _ dS )z� Sets the display_name of this HostScanTarget. Target identifier, which can be renamed. :param display_name: The display_name of this HostScanTarget. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )z� Gets the description of this HostScanTarget. Target description. :return: The description of this HostScanTarget. :rtype: str �r r. r* r* r+ r � s zHostScanTarget.descriptionc C s || _ dS )z� Sets the description of this HostScanTarget. Target description. :param description: The description of this HostScanTarget. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this HostScanTarget. Compartment ID of the object (this). :return: The compartment_id of this HostScanTarget. :rtype: str �r r. r* r* r+ r � s zHostScanTarget.compartment_idc C s || _ dS )z� Sets the compartment_id of this HostScanTarget. Compartment ID of the object (this). :param compartment_id: The compartment_id of this HostScanTarget. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )a **[Required]** Gets the target_compartment_id of this HostScanTarget. Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment. :return: The target_compartment_id of this HostScanTarget. :rtype: str �r r. r* r* r+ r � s z$HostScanTarget.target_compartment_idc C s || _ dS )a Sets the target_compartment_id of this HostScanTarget. Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment. :param target_compartment_id: The target_compartment_id of this HostScanTarget. :type: str Nr2 )r( r r* r* r+ r s c C s | j S )a Gets the instance_ids of this HostScanTarget. List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId. :return: The instance_ids of this HostScanTarget. :rtype: list[str] �r r. r* r* r+ r s zHostScanTarget.instance_idsc C s || _ dS )a Sets the instance_ids of this HostScanTarget. List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId. :param instance_ids: The instance_ids of this HostScanTarget. :type: list[str] Nr3 )r( r r* r* r+ r s c C s | j S )z� **[Required]** Gets the host_scan_recipe_id of this HostScanTarget. ID of the host scan recipe this target applies. :return: The host_scan_recipe_id of this HostScanTarget. :rtype: str �r! r. r* r* r+ r $ s z"HostScanTarget.host_scan_recipe_idc C s || _ dS )z� Sets the host_scan_recipe_id of this HostScanTarget. ID of the host scan recipe this target applies. :param host_scan_recipe_id: The host_scan_recipe_id of this HostScanTarget. :type: str Nr4 )r( r r* r* r+ r 0 s c C s | j S )a� **[Required]** Gets the lifecycle_state of this HostScanTarget. The current state of the config. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this HostScanTarget. :rtype: str )r"