ruạṛ
a ���f�c � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"dZ#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&d0d1� �Z,e,j(d2d1� �Z,e&d3d4� �Z-e-j(d5d4� �Z-e&d6d7� �Z.e.j(d8d7� �Z.e&d9d:� �Z/e/j(d;d:� �Z/e&d<d=� �Z0e0j(d>d=� �Z0e&d?d@� �Z1e1j(dAd@� �Z1e&dBdC� �Z2e2j(dDdC� �Z2e&dEdF� �Z3e3j(dGdF� �Z3e&dHdI� �Z4e4j(dJdI� �Z4e&dKdL� �Z5e5j(dMdL� �Z5e&dNdO� �Z6e6j(dPdO� �Z6dQdR� Z7dSdT� Z8dUdV� Z9dWS )X�DiscoveryJobSummaryz. The Summary of DiscoveryJob details. �WEBLOGIC_DOMAIN�EBS_INSTANCE� SQL_SERVER� APACHE_TOMCAT�ORACLE_DATABASE� OCI_ORACLE_DB�OCI_ORACLE_CDB�OCI_ORACLE_PDB�HOST�ORACLE_PSFT� ORACLE_MFT�APACHE_HTTP_SERVER�ORACLE_GOLDENGATE�CUSTOM_RESOURCE�ORACLE_HTTP_SERVER� MICROSOFT_IIS�STANDARD_EDITION�ENTERPRISE_EDITION�ADD�ADD_WITH_RETRY�REFRESH�SUCCESS�FAILURE� INPROGRESS�INACTIVE�CREATED�DELETED�CREATING�UPDATING�ACTIVE�DELETING�FAILEDc K s� dddddddddddddddd�| _ dddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a Initializes a new DiscoveryJobSummary 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 DiscoveryJobSummary. :type id: str :param resource_type: The value to assign to the resource_type property of this DiscoveryJobSummary. Allowed values for this property are: "WEBLOGIC_DOMAIN", "EBS_INSTANCE", "SQL_SERVER", "APACHE_TOMCAT", "ORACLE_DATABASE", "OCI_ORACLE_DB", "OCI_ORACLE_CDB", "OCI_ORACLE_PDB", "HOST", "ORACLE_PSFT", "ORACLE_MFT", "APACHE_HTTP_SERVER", "ORACLE_GOLDENGATE", "CUSTOM_RESOURCE", "ORACLE_HTTP_SERVER", "MICROSOFT_IIS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param resource_name: The value to assign to the resource_name property of this DiscoveryJobSummary. :type resource_name: str :param license: The value to assign to the license property of this DiscoveryJobSummary. Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type license: str :param compartment_id: The value to assign to the compartment_id property of this DiscoveryJobSummary. :type compartment_id: str :param discovery_type: The value to assign to the discovery_type property of this DiscoveryJobSummary. 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 DiscoveryJobSummary. 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 DiscoveryJobSummary. :type status_message: str :param tenant_id: The value to assign to the tenant_id property of this DiscoveryJobSummary. :type tenant_id: str :param user_id: The value to assign to the user_id property of this DiscoveryJobSummary. :type user_id: str :param time_updated: The value to assign to the time_updated property of this DiscoveryJobSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DiscoveryJobSummary. 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 DiscoveryJobSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DiscoveryJobSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DiscoveryJobSummary. :type system_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�id� resource_type� resource_name�license�compartment_id�discovery_type�status�status_message� tenant_id�user_id�time_updated�lifecycle_state� freeform_tags�defined_tags�system_tagsr( ZresourceTypeZresourceNamer+ Z compartmentIdZ discoveryTyper. Z statusMessageZtenantIdZuserIdZtimeUpdatedZlifecycleStateZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_resource_type�_resource_name�_license�_compartment_id�_discovery_type�_status�_status_message� _tenant_id�_user_id� _time_updated�_lifecycle_state�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rH �U/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/discovery_job_summary.py�__init__� s^ M��zDiscoveryJobSummary.__init__c C s | j S )z� **[Required]** Gets the id of this DiscoveryJobSummary. The OCID of Discovery job :return: The id of this DiscoveryJobSummary. :rtype: str �r7 �rF rH rH rI r( s zDiscoveryJobSummary.idc C s || _ dS )z� Sets the id of this DiscoveryJobSummary. The OCID of Discovery job :param id: The id of this DiscoveryJobSummary. :type: str NrK )rF r( rH rH rI r( " s c C s | j S )ah Gets the resource_type of this DiscoveryJobSummary. Resource Type Allowed values for this property are: "WEBLOGIC_DOMAIN", "EBS_INSTANCE", "SQL_SERVER", "APACHE_TOMCAT", "ORACLE_DATABASE", "OCI_ORACLE_DB", "OCI_ORACLE_CDB", "OCI_ORACLE_PDB", "HOST", "ORACLE_PSFT", "ORACLE_MFT", "APACHE_HTTP_SERVER", "ORACLE_GOLDENGATE", "CUSTOM_RESOURCE", "ORACLE_HTTP_SERVER", "MICROSOFT_IIS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The resource_type of this DiscoveryJobSummary. :rtype: str )r8 rL rH rH rI r) . s z!DiscoveryJobSummary.resource_typec C s g d�}t ||�sd}|| _dS )z� Sets the resource_type of this DiscoveryJobSummary. Resource Type :param resource_type: The resource_type of this DiscoveryJobSummary. :type: str )r r r r r r r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r8 )rF r) �allowed_valuesrH rH rI r) = s c C s | j S )z� Gets the resource_name of this DiscoveryJobSummary. The name of resource type :return: The resource_name of this DiscoveryJobSummary. :rtype: str �r9 rL rH rH rI r* L s z!DiscoveryJobSummary.resource_namec C s || _ dS )z� Sets the resource_name of this DiscoveryJobSummary. The name of resource type :param resource_name: The resource_name of this DiscoveryJobSummary. :type: str NrO )rF r* rH rH rI r* X s c C s | j S )a� Gets the license of this DiscoveryJobSummary. License edition of the monitored resource. Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The license of this DiscoveryJobSummary. :rtype: str )r: rL rH rH rI r+ d s zDiscoveryJobSummary.licensec C s ddg}t ||�sd}|| _dS )z� Sets the license of this DiscoveryJobSummary. License edition of the monitored resource. :param license: The license of this DiscoveryJobSummary. :type: str r r rM N)r r: )rF r+ rN rH rH rI r+ s s c C s | j S )z� Gets the compartment_id of this DiscoveryJobSummary. The OCID of the Compartment :return: The compartment_id of this DiscoveryJobSummary. :rtype: str �r; rL rH rH rI r, � s z"DiscoveryJobSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this DiscoveryJobSummary. The OCID of the Compartment :param compartment_id: The compartment_id of this DiscoveryJobSummary. :type: str NrP )rF r, rH rH rI r, � s c C s | j S )a Gets the discovery_type of this DiscoveryJobSummary. 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 DiscoveryJobSummary. :rtype: str )r<