a ûÎòf-ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@s@eZdZdZdZdZdZdd„Zedd„ƒZ e j d d„ƒZ ed d „ƒZ e j d d „ƒZ ed d„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZej dd„ƒZedd„ƒZej dd„ƒZedd„ƒZej dd„ƒZedd„ƒZej dd„ƒZedd „ƒZej d!d „ƒZed"d#„ƒZej d$d#„ƒZd%d&„Zd'd(„Zd)d*„Zd+S),ÚJobRunz, The details of a specific job run. Ú COMPLETEDÚFAILEDÚ IN_PROGRESSc Ksxdddddddddddœ |_dddddd d d d d dœ |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ dS)aø Initializes a new JobRun 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 JobRun. :type id: str :param name: The value to assign to the name property of this JobRun. :type name: str :param compartment_id: The value to assign to the compartment_id property of this JobRun. :type compartment_id: str :param job_id: The value to assign to the job_id property of this JobRun. :type job_id: str :param job_name: The value to assign to the job_name property of this JobRun. :type job_name: str :param managed_database_group_id: The value to assign to the managed_database_group_id property of this JobRun. :type managed_database_group_id: str :param managed_database_id: The value to assign to the managed_database_id property of this JobRun. :type managed_database_id: str :param run_status: The value to assign to the run_status property of this JobRun. Allowed values for this property are: "COMPLETED", "FAILED", "IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type run_status: str :param time_submitted: The value to assign to the time_submitted property of this JobRun. :type time_submitted: datetime :param time_updated: The value to assign to the time_updated property of this JobRun. :type time_updated: datetime ÚstrZdatetime) ÚidÚnameÚcompartment_idÚjob_idÚjob_nameÚmanaged_database_group_idÚmanaged_database_idÚ run_statusÚtime_submittedÚ time_updatedr r Z compartmentIdZjobIdZjobNameZmanagedDatabaseGroupIdZmanagedDatabaseIdZ runStatusZ timeSubmittedZ timeUpdatedN) Z swagger_typesZ attribute_mapÚ_idÚ_nameÚ_compartment_idÚ_job_idÚ _job_nameÚ_managed_database_group_idÚ_managed_database_idÚ _run_statusÚ_time_submittedÚ _time_updated)ÚselfÚkwargs©r!úJ/usr/lib/python3.9/site-packages/oci/database_management/models/job_run.pyÚ__init__s@1öö zJobRun.__init__cCs|jS)z¡ **[Required]** Gets the id of this JobRun. The identifier of the job run. :return: The id of this JobRun. :rtype: str ©r©rr!r!r"r ss z JobRun.idcCs ||_dS)z“ Sets the id of this JobRun. The identifier of the job run. :param id: The id of this JobRun. :type: str Nr$)rr r!r!r"r s cCs|jS)zŸ **[Required]** Gets the name of this JobRun. The name of the job run. :return: The name of this JobRun. :rtype: str ©rr%r!r!r"r ‹s z JobRun.namecCs ||_dS)z“ Sets the name of this JobRun. The name of the job run. :param name: The name of this JobRun. :type: str Nr&)rr r!r!r"r —s cCs|jS)a. **[Required]** Gets the compartment_id of this JobRun. 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 JobRun. :rtype: str ©rr%r!r!r"r £s zJobRun.compartment_idcCs ||_dS)a, Sets the compartment_id of this JobRun. 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 JobRun. :type: str Nr')rr r!r!r"r ±s cCs|jS)zý **[Required]** Gets the job_id of this JobRun. The `OCID`__ of the parent job. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The job_id of this JobRun. :rtype: str ©rr%r!r!r"r¿s z JobRun.job_idcCs ||_dS)zó Sets the job_id of this JobRun. The `OCID`__ of the parent job. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param job_id: The job_id of this JobRun. :type: str Nr()rrr!r!r"rÍs cCs|jS)zª **[Required]** Gets the job_name of this JobRun. The name of the parent job. :return: The job_name of this JobRun. :rtype: str ©rr%r!r!r"rÛs zJobRun.job_namecCs ||_dS)z¢ Sets the job_name of this JobRun. The name of the parent job. :param job_name: The job_name of this JobRun. :type: str Nr))rrr!r!r"rçs cCs|jS)aH Gets the managed_database_group_id of this JobRun. 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 JobRun. :rtype: str ©rr%r!r!r"rós z JobRun.managed_database_group_idcCs ||_dS)a` Sets the managed_database_group_id of this JobRun. 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 :param managed_database_group_id: The managed_database_group_id of this JobRun. :type: str Nr*)rrr!r!r"rs cCs|jS)a2 Gets the managed_database_id of this JobRun. The `OCID`__ of Managed Database where the parent job has to be executed. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The managed_database_id of this JobRun. :rtype: str ©rr%r!r!r"rs zJobRun.managed_database_idcCs ||_dS)aD Sets the managed_database_id of this JobRun. The `OCID`__ of Managed Database where the parent job has to be executed. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param managed_database_id: The managed_database_id of this JobRun. :type: str Nr+)rrr!r!r"rs cCs|jS)av **[Required]** Gets the run_status of this JobRun. The status of the job run. Allowed values for this property are: "COMPLETED", "FAILED", "IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The run_status of this JobRun. :rtype: str )rr%r!r!r"r+s zJobRun.run_statuscCs gd¢}t||ƒsd}||_dS)z§ Sets the run_status of this JobRun. The status of the job run. :param run_status: The run_status of this JobRun. :type: str )rrr ZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesr!r!r"r:s  cCs|jS)zÑ **[Required]** Gets the time_submitted of this JobRun. The date and time when the job run was submitted. :return: The time_submitted of this JobRun. :rtype: datetime ©rr%r!r!r"rIs zJobRun.time_submittedcCs ||_dS)zÏ Sets the time_submitted of this JobRun. The date and time when the job run was submitted. :param time_submitted: The time_submitted of this JobRun. :type: datetime Nr,)rrr!r!r"rUs cCs|jS)zÐ **[Required]** Gets the time_updated of this JobRun. The date and time when the job run was last updated. :return: The time_updated of this JobRun. :rtype: datetime ©rr%r!r!r"ras zJobRun.time_updatedcCs ||_dS)zÌ Sets the time_updated of this JobRun. The date and time when the job run was last updated. :param time_updated: The time_updated of this JobRun. :type: datetime Nr-)rrr!r!r"rms cCst|ƒS©N)rr%r!r!r"Ú__repr__yszJobRun.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherr!r!r"Ú__eq__|sz JobRun.__eq__cCs ||k Sr.r!r1r!r!r"Ú__ne__‚sz JobRun.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ZRUN_STATUS_COMPLETEDZRUN_STATUS_FAILEDZRUN_STATUS_IN_PROGRESSr#Úpropertyr Úsetterr r rrrrrrrr/r3r4r!r!r!r"r s`U                    rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr!r!r!r"Ús