📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
vulnerability_scanning
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/vulnerability_scanning/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: host_scan_recipe.cpython-39.opt-1.pyc
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�HostScanRecipezQ A host scan recipe (collection of host scanning configuration settings) �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddd � | _ d ddd dddddddddd � | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a? Initializes a new HostScanRecipe 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 HostScanRecipe. :type id: str :param display_name: The value to assign to the display_name property of this HostScanRecipe. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this HostScanRecipe. :type compartment_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this HostScanRecipe. 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 HostScanRecipe. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this HostScanRecipe. :type time_updated: datetime :param port_settings: The value to assign to the port_settings property of this HostScanRecipe. :type port_settings: oci.vulnerability_scanning.models.HostScanPortSettings :param agent_settings: The value to assign to the agent_settings property of this HostScanRecipe. :type agent_settings: oci.vulnerability_scanning.models.HostScanAgentSettings :param application_settings: The value to assign to the application_settings property of this HostScanRecipe. :type application_settings: oci.vulnerability_scanning.models.ApplicationScanSettings :param schedule: The value to assign to the schedule property of this HostScanRecipe. :type schedule: oci.vulnerability_scanning.models.Schedule :param freeform_tags: The value to assign to the freeform_tags property of this HostScanRecipe. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this HostScanRecipe. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this HostScanRecipe. :type system_tags: dict(str, dict(str, object)) �strZdatetimeZHostScanPortSettingsZHostScanAgentSettingsZApplicationScanSettingsZSchedulezdict(str, str)zdict(str, dict(str, object))) �id�display_name�compartment_id�lifecycle_state�time_created�time_updated� port_settings�agent_settings�application_settings�schedule� freeform_tags�defined_tags�system_tagsr ZdisplayNameZ compartmentIdZlifecycleStateZtimeCreatedZtimeUpdatedZportSettingsZ agentSettingsZapplicationSettingsr ZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id�_lifecycle_state� _time_created� _time_updated�_port_settings�_agent_settings�_application_settings� _schedule�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r* �V/usr/lib/python3.9/site-packages/oci/vulnerability_scanning/models/host_scan_recipe.py�__init__* sR =��zHostScanRecipe.__init__c C s | j S )z� **[Required]** Gets the id of this HostScanRecipe. Unique identifier of the config that is immutable on creation :return: The id of this HostScanRecipe. :rtype: str �r �r( r* r* r+ r � s zHostScanRecipe.idc C s || _ dS )z� Sets the id of this HostScanRecipe. Unique identifier of the config that is immutable on creation :param id: The id of this HostScanRecipe. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the display_name of this HostScanRecipe. Recipe identifier, which can be renamed :return: The display_name of this HostScanRecipe. :rtype: str �r r. r* r* r+ r � s zHostScanRecipe.display_namec C s || _ dS )z� Sets the display_name of this HostScanRecipe. Recipe identifier, which can be renamed :param display_name: The display_name of this HostScanRecipe. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this HostScanRecipe. Compartment ID of the scan recipe :return: The compartment_id of this HostScanRecipe. :rtype: str �r r. r* r* r+ r � s zHostScanRecipe.compartment_idc C s || _ dS )z� Sets the compartment_id of this HostScanRecipe. Compartment ID of the scan recipe :param compartment_id: The compartment_id of this HostScanRecipe. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this HostScanRecipe. 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 HostScanRecipe. :rtype: str )r r. r* r* r+ r � s zHostScanRecipe.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this HostScanRecipe. The current state of the config. :param lifecycle_state: The lifecycle_state of this HostScanRecipe. :type: str )r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r( r Zallowed_valuesr* r* r+ r � s c C s | j S )a$ **[Required]** Gets the time_created of this HostScanRecipe. Date and time the recipe was created, format as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :return: The time_created of this HostScanRecipe. :rtype: datetime �r r. r* r* r+ r � s zHostScanRecipe.time_createdc C s || _ dS )a Sets the time_created of this HostScanRecipe. Date and time the recipe was created, format as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :param time_created: The time_created of this HostScanRecipe. :type: datetime Nr1 )r( r r* r* r+ r s c C s | j S )a) **[Required]** Gets the time_updated of this HostScanRecipe. Date and time the recipe was last updated, format as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :return: The time_updated of this HostScanRecipe. :rtype: datetime �r r. r* r* r+ r s zHostScanRecipe.time_updatedc C s || _ dS )a% Sets the time_updated of this HostScanRecipe. Date and time the recipe was last updated, format as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :param time_updated: The time_updated of this HostScanRecipe. :type: datetime Nr2 )r( r r* r* r+ r $ s c C s | j S )z� **[Required]** Gets the port_settings of this HostScanRecipe. :return: The port_settings of this HostScanRecipe. :rtype: oci.vulnerability_scanning.models.HostScanPortSettings �r! r. r* r* r+ r 2 s zHostScanRecipe.port_settingsc C s || _ dS )z� Sets the port_settings of this HostScanRecipe. :param port_settings: The port_settings of this HostScanRecipe. :type: oci.vulnerability_scanning.models.HostScanPortSettings Nr3 )r( r r* r* r+ r < s c C s | j S )z� **[Required]** Gets the agent_settings of this HostScanRecipe. :return: The agent_settings of this HostScanRecipe. :rtype: oci.vulnerability_scanning.models.HostScanAgentSettings �r"