ruạṛ
a N��f�r � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd � �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+d,� �Z$e$jd-d,� �Z$ed.d/� �Z%e%jd0d/� �Z%ed1d2� �Z&e&jd3d2� �Z&ed4d5� �Z'e'jd6d5� �Z'ed7d8� �Z(e(jd9d8� �Z(ed:d;� �Z)e)jd<d;� �Z)ed=d>� �Z*e*jd?d>� �Z*ed@dA� �Z+e+jdBdA� �Z+edCdD� �Z,e,jdEdD� �Z,edFdG� �Z-e-jdHdG� �Z-edIdJ� �Z.e.jdKdJ� �Z.edLdM� �Z/e/jdNdM� �Z/edOdP� �Z0e0jdQdP� �Z0edRdS� �Z1e1jdTdS� �Z1edUdV� �Z2e2jdWdV� �Z2edXdY� �Z3e3jdZdY� �Z3ed[d\� �Z4e4jd]d\� �Z4d^d_� Z5d`da� Z6dbdc� Z7ddS )e�JobExecutionz) The details of a job execution. � EXTERNAL_SIDB�EXTERNAL_RAC� CLOUD_SIDB� CLOUD_RAC�SHARED� DEDICATED�CDB�PDB�NON_CDB�ACD�ADB� ONPREMISE�BM�VM�EXADATA� EXADATA_CC� AUTONOMOUS�OLTP�DW�AJD�APEX� SUCCEEDED�FAILED�IN_PROGRESSc K s� ddddddddddddddddddddddd�| _ ddd d ddd dddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a Initializes a new JobExecution 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 JobExecution. :type id: str :param name: The value to assign to the name property of this JobExecution. :type name: str :param compartment_id: The value to assign to the compartment_id property of this JobExecution. :type compartment_id: str :param managed_database_group_id: The value to assign to the managed_database_group_id property of this JobExecution. :type managed_database_group_id: str :param managed_database_id: The value to assign to the managed_database_id property of this JobExecution. :type managed_database_id: str :param managed_database_name: The value to assign to the managed_database_name property of this JobExecution. :type managed_database_name: str :param database_type: The value to assign to the database_type property of this JobExecution. 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 JobExecution. 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 JobExecution. Allowed values for this property are: "ONPREMISE", "BM", "VM", "EXADATA", "EXADATA_CC", "AUTONOMOUS", '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 JobExecution. :type is_cluster: bool :param workload_type: The value to assign to the workload_type property of this JobExecution. 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 JobExecution. :type job_id: str :param job_name: The value to assign to the job_name property of this JobExecution. :type job_name: str :param job_run_id: The value to assign to the job_run_id property of this JobExecution. :type job_run_id: str :param status: The value to assign to the status property of this JobExecution. Allowed values for this property are: "SUCCEEDED", "FAILED", "IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param error_message: The value to assign to the error_message property of this JobExecution. :type error_message: str :param result_details: The value to assign to the result_details property of this JobExecution. :type result_details: oci.database_management.models.JobExecutionResultDetails :param time_created: The value to assign to the time_created property of this JobExecution. :type time_created: datetime :param time_completed: The value to assign to the time_completed property of this JobExecution. :type time_completed: datetime :param user_name: The value to assign to the user_name property of this JobExecution. :type user_name: str :param sql_text: The value to assign to the sql_text property of this JobExecution. :type sql_text: str :param schedule_details: The value to assign to the schedule_details property of this JobExecution. :type schedule_details: oci.database_management.models.JobScheduleDetails �str�bool�JobExecutionResultDetails�datetime�JobScheduleDetails)�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� job_run_id�status� error_message�result_details�time_created�time_completed� user_name�sql_text�schedule_detailsr$ r% � compartmentId�managedDatabaseGroupId�managedDatabaseId�managedDatabaseName�databaseType�databaseSubType�deploymentType� isCluster�workloadType�jobId�jobName�jobRunIdr2 �errorMessage� resultDetails�timeCreated� timeCompleted�userName�sqlText�scheduleDetailsN)� swagger_types� 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�_job_run_id�_status�_error_message�_result_details� _time_created�_time_completed� _user_name� _sql_text�_schedule_details)�self�kwargs� rg ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/job_execution.py�__init__p s� i��zJobExecution.__init__c C s | j S )z� **[Required]** Gets the id of this JobExecution. The identifier of the job execution. :return: The id of this JobExecution. :rtype: str �rO �re rg rg rh r$ ! s zJobExecution.idc C s || _ dS )z� Sets the id of this JobExecution. The identifier of the job execution. :param id: The id of this JobExecution. :type: str Nrj )re r$ rg rg rh r$ - s c C s | j S )z� **[Required]** Gets the name of this JobExecution. The name of the job execution. :return: The name of this JobExecution. :rtype: str �rP rk rg rg rh r% 9 s zJobExecution.namec C s || _ dS )z� Sets the name of this JobExecution. The name of the job execution. :param name: The name of this JobExecution. :type: str Nrl )re r% rg rg rh r% E s c C s | j S )a: **[Required]** Gets the compartment_id of this JobExecution. 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 JobExecution. :rtype: str �rQ rk rg rg rh r&