ruạṛ
a ���f�I � @ 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 dZ d Zd ZdZ dZd ZdZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Zejd/d.� �Zed0d1� �Z e jd2d1� �Z ed3d4� �Z!e!jd5d4� �Z!ed6d7� �Z"e"jd8d7� �Z"ed9d:� �Z#e#jd;d:� �Z#d<d=� Z$d>d?� Z%d@dA� Z&dBS )C�DiscoveryJobz# The DiscoveryJob details. �ADD�ADD_WITH_RETRY�REFRESH�SUCCESS�FAILURE� INPROGRESS�INACTIVE�CREATED�DELETED�CREATING�UPDATING�ACTIVE�DELETING�FAILEDc K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new DiscoveryJob 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 DiscoveryJob. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DiscoveryJob. :type compartment_id: str :param discovery_type: The value to assign to the discovery_type property of this DiscoveryJob. Allowed values for this property are: "ADD", "ADD_WITH_RETRY", "REFRESH", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type discovery_type: str :param status: The value to assign to the status property of this DiscoveryJob. Allowed values for this property are: "SUCCESS", "FAILURE", "INPROGRESS", "INACTIVE", "CREATED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param status_message: The value to assign to the status_message property of this DiscoveryJob. :type status_message: str :param tenant_id: The value to assign to the tenant_id property of this DiscoveryJob. :type tenant_id: str :param user_id: The value to assign to the user_id property of this DiscoveryJob. :type user_id: str :param discovery_client: The value to assign to the discovery_client property of this DiscoveryJob. :type discovery_client: str :param discovery_details: The value to assign to the discovery_details property of this DiscoveryJob. :type discovery_details: oci.stack_monitoring.models.DiscoveryDetails :param time_updated: The value to assign to the time_updated property of this DiscoveryJob. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DiscoveryJob. 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 freeform_tags: The value to assign to the freeform_tags property of this DiscoveryJob. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DiscoveryJob. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DiscoveryJob. :type system_tags: dict(str, dict(str, object)) �strZDiscoveryDetailsZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�discovery_type�status�status_message� tenant_id�user_id�discovery_client�discovery_details�time_updated�lifecycle_state� freeform_tags�defined_tags�system_tagsr Z compartmentIdZ discoveryTyper Z statusMessageZtenantIdZuserIdZdiscoveryClientZdiscoveryDetailsZtimeUpdatedZlifecycleStateZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id�_discovery_type�_status�_status_message� _tenant_id�_user_id�_discovery_client�_discovery_details� _time_updated�_lifecycle_state�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r4 �M/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/discovery_job.py�__init__N sX E��zDiscoveryJob.__init__c C s | j S )z� **[Required]** Gets the id of this DiscoveryJob. The OCID of Discovery job :return: The id of this DiscoveryJob. :rtype: str �r$ �r2 r4 r4 r5 r � s zDiscoveryJob.idc C s || _ dS )z� Sets the id of this DiscoveryJob. The OCID of Discovery job :param id: The id of this DiscoveryJob. :type: str Nr7 )r2 r r4 r4 r5 r � s c C s | j S )z� Gets the compartment_id of this DiscoveryJob. The OCID of the Compartment :return: The compartment_id of this DiscoveryJob. :rtype: str �r% r8 r4 r4 r5 r � s zDiscoveryJob.compartment_idc C s || _ dS )z� Sets the compartment_id of this DiscoveryJob. The OCID of the Compartment :param compartment_id: The compartment_id of this DiscoveryJob. :type: str Nr9 )r2 r r4 r4 r5 r � s c C s | j S )a� Gets the discovery_type of this DiscoveryJob. Add option submits new discovery Job. Add with retry option to re-submit failed discovery job. Refresh option refreshes the existing discovered resources. Allowed values for this property are: "ADD", "ADD_WITH_RETRY", "REFRESH", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The discovery_type of this DiscoveryJob. :rtype: str )r&