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 dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Z e jd%d$� �Z ed&d'� �Z!e!jd(d'� �Z!ed)d*� �Z"e"jd+d*� �Z"ed,d-� �Z#e#jd.d-� �Z#ed/d0� �Z$e$jd1d0� �Z$ed2d3� �Z%e%jd4d3� �Z%ed5d6� �Z&e&jd7d6� �Z&ed8d9� �Z'e'jd:d9� �Z'ed;d<� �Z(e(jd=d<� �Z(ed>d?� �Z)e)jd@d?� �Z)edAdB� �Z*e*jdCdB� �Z*edDdE� �Z+e+jdFdE� �Z+edGdH� �Z,e,jdIdH� �Z,dJdK� Z-dLdM� Z.dNdO� Z/dPS )Q�JobExecutionSummaryz= A summary of a job execution on a Managed Database. � EXTERNAL_SIDB�EXTERNAL_RAC� CLOUD_SIDB� CLOUD_RAC�SHARED� DEDICATED�CDB�PDB�NON_CDB�ACD�ADB� ONPREMISE�BM�VM�EXADATA� EXADATA_CC� AUTONOMOUS� EXADATA_XS�OLTP�DW�AJD�APEXc K s� ddddddddddddddddd�| _ ddddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new JobExecutionSummary 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 JobExecutionSummary. :type id: str :param name: The value to assign to the name property of this JobExecutionSummary. :type name: str :param compartment_id: The value to assign to the compartment_id property of this JobExecutionSummary. :type compartment_id: str :param managed_database_group_id: The value to assign to the managed_database_group_id property of this JobExecutionSummary. :type managed_database_group_id: str :param managed_database_id: The value to assign to the managed_database_id property of this JobExecutionSummary. :type managed_database_id: str :param managed_database_name: The value to assign to the managed_database_name property of this JobExecutionSummary. :type managed_database_name: str :param database_type: The value to assign to the database_type property of this JobExecutionSummary. Allowed values for this property are: "EXTERNAL_SIDB", "EXTERNAL_RAC", "CLOUD_SIDB", "CLOUD_RAC", "SHARED", "DEDICATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_type: str :param database_sub_type: The value to assign to the database_sub_type property of this JobExecutionSummary. Allowed values for this property are: "CDB", "PDB", "NON_CDB", "ACD", "ADB", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_sub_type: str :param deployment_type: The value to assign to the deployment_type property of this JobExecutionSummary. Allowed values for this property are: "ONPREMISE", "BM", "VM", "EXADATA", "EXADATA_CC", "AUTONOMOUS", "EXADATA_XS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type deployment_type: str :param is_cluster: The value to assign to the is_cluster property of this JobExecutionSummary. :type is_cluster: bool :param workload_type: The value to assign to the workload_type property of this JobExecutionSummary. Allowed values for this property are: "OLTP", "DW", "AJD", "APEX", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type workload_type: str :param job_id: The value to assign to the job_id property of this JobExecutionSummary. :type job_id: str :param job_name: The value to assign to the job_name property of this JobExecutionSummary. :type job_name: str :param status: The value to assign to the status property of this JobExecutionSummary. :type status: str :param time_created: The value to assign to the time_created property of this JobExecutionSummary. :type time_created: datetime :param time_completed: The value to assign to the time_completed property of this JobExecutionSummary. :type time_completed: datetime �str�boolZdatetime)�id�name�compartment_id�managed_database_group_id�managed_database_id�managed_database_name� database_type�database_sub_type�deployment_type� is_cluster� workload_type�job_id�job_name�status�time_created�time_completedr r Z compartmentIdZmanagedDatabaseGroupIdZmanagedDatabaseIdZmanagedDatabaseNameZdatabaseTypeZdatabaseSubTypeZdeploymentTypeZ isClusterZworkloadTypeZjobIdZjobNamer, ZtimeCreatedZ timeCompletedN)Z swagger_typesZ attribute_map�_id�_name�_compartment_id�_managed_database_group_id�_managed_database_id�_managed_database_name�_database_type�_database_sub_type�_deployment_type�_is_cluster�_workload_type�_job_id� _job_name�_status� _time_created�_time_completed)�self�kwargs� rA �X/usr/lib/python3.9/site-packages/oci/database_management/models/job_execution_summary.py�__init__j sd O��zJobExecutionSummary.__init__c C s | j S )z� **[Required]** Gets the id of this JobExecutionSummary. The identifier of the job execution. :return: The id of this JobExecutionSummary. :rtype: str �r/ �r? rA rA rB r � s zJobExecutionSummary.idc C s || _ dS )z� Sets the id of this JobExecutionSummary. The identifier of the job execution. :param id: The id of this JobExecutionSummary. :type: str NrD )r? r rA rA rB r � s c C s | j S )z� **[Required]** Gets the name of this JobExecutionSummary. The name of the job execution. :return: The name of this JobExecutionSummary. :rtype: str �r0 rE rA rA rB r s zJobExecutionSummary.namec C s || _ dS )z� Sets the name of this JobExecutionSummary. The name of the job execution. :param name: The name of this JobExecutionSummary. :type: str NrF )r? r rA rA rB r s c C s | j S )aH **[Required]** Gets the compartment_id of this JobExecutionSummary. The `OCID`__ of the compartment in which the parent job resides. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this JobExecutionSummary. :rtype: str �r1 rE rA rA rB r! s z"JobExecutionSummary.compartment_idc C s || _ dS )aF Sets the compartment_id of this JobExecutionSummary. The `OCID`__ of the compartment in which the parent job resides. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this JobExecutionSummary. :type: str NrG )r? r! rA rA rB r! - s c C s | j S )ab Gets the managed_database_group_id of this JobExecutionSummary. The `OCID`__ of the Managed Database Group where the parent job has to be executed. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The managed_database_group_id of this JobExecutionSummary. :rtype: str �r2 rE rA rA rB r"