403Webshell
Server IP : 103.119.228.120  /  Your IP : 18.223.158.132
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/data_integration/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/data_integration/models/task_run.py
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class TaskRun(object):
    """
    The information about a task run.
    """

    #: A constant which can be used with the status property of a TaskRun.
    #: This constant has a value of "NOT_STARTED"
    STATUS_NOT_STARTED = "NOT_STARTED"

    #: A constant which can be used with the status property of a TaskRun.
    #: This constant has a value of "QUEUED"
    STATUS_QUEUED = "QUEUED"

    #: A constant which can be used with the status property of a TaskRun.
    #: This constant has a value of "RUNNING"
    STATUS_RUNNING = "RUNNING"

    #: A constant which can be used with the status property of a TaskRun.
    #: This constant has a value of "TERMINATING"
    STATUS_TERMINATING = "TERMINATING"

    #: A constant which can be used with the status property of a TaskRun.
    #: This constant has a value of "TERMINATED"
    STATUS_TERMINATED = "TERMINATED"

    #: A constant which can be used with the status property of a TaskRun.
    #: This constant has a value of "SUCCESS"
    STATUS_SUCCESS = "SUCCESS"

    #: A constant which can be used with the status property of a TaskRun.
    #: This constant has a value of "ERROR"
    STATUS_ERROR = "ERROR"

    #: A constant which can be used with the expected_duration_unit property of a TaskRun.
    #: This constant has a value of "SECONDS"
    EXPECTED_DURATION_UNIT_SECONDS = "SECONDS"

    #: A constant which can be used with the expected_duration_unit property of a TaskRun.
    #: This constant has a value of "MINUTES"
    EXPECTED_DURATION_UNIT_MINUTES = "MINUTES"

    #: A constant which can be used with the expected_duration_unit property of a TaskRun.
    #: This constant has a value of "HOURS"
    EXPECTED_DURATION_UNIT_HOURS = "HOURS"

    #: A constant which can be used with the expected_duration_unit property of a TaskRun.
    #: This constant has a value of "DAYS"
    EXPECTED_DURATION_UNIT_DAYS = "DAYS"

    #: A constant which can be used with the auth_mode property of a TaskRun.
    #: This constant has a value of "OBO"
    AUTH_MODE_OBO = "OBO"

    #: A constant which can be used with the auth_mode property of a TaskRun.
    #: This constant has a value of "RESOURCE_PRINCIPAL"
    AUTH_MODE_RESOURCE_PRINCIPAL = "RESOURCE_PRINCIPAL"

    #: A constant which can be used with the auth_mode property of a TaskRun.
    #: This constant has a value of "USER_CERTIFICATE"
    AUTH_MODE_USER_CERTIFICATE = "USER_CERTIFICATE"

    #: A constant which can be used with the task_type property of a TaskRun.
    #: This constant has a value of "INTEGRATION_TASK"
    TASK_TYPE_INTEGRATION_TASK = "INTEGRATION_TASK"

    #: A constant which can be used with the task_type property of a TaskRun.
    #: This constant has a value of "DATA_LOADER_TASK"
    TASK_TYPE_DATA_LOADER_TASK = "DATA_LOADER_TASK"

    #: A constant which can be used with the task_type property of a TaskRun.
    #: This constant has a value of "PIPELINE_TASK"
    TASK_TYPE_PIPELINE_TASK = "PIPELINE_TASK"

    #: A constant which can be used with the task_type property of a TaskRun.
    #: This constant has a value of "SQL_TASK"
    TASK_TYPE_SQL_TASK = "SQL_TASK"

    #: A constant which can be used with the task_type property of a TaskRun.
    #: This constant has a value of "OCI_DATAFLOW_TASK"
    TASK_TYPE_OCI_DATAFLOW_TASK = "OCI_DATAFLOW_TASK"

    #: A constant which can be used with the task_type property of a TaskRun.
    #: This constant has a value of "REST_TASK"
    TASK_TYPE_REST_TASK = "REST_TASK"

    def __init__(self, **kwargs):
        """
        Initializes a new TaskRun object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this TaskRun.
        :type key: str

        :param model_type:
            The value to assign to the model_type property of this TaskRun.
        :type model_type: str

        :param model_version:
            The value to assign to the model_version property of this TaskRun.
        :type model_version: str

        :param parent_ref:
            The value to assign to the parent_ref property of this TaskRun.
        :type parent_ref: oci.data_integration.models.ParentReference

        :param name:
            The value to assign to the name property of this TaskRun.
        :type name: str

        :param description:
            The value to assign to the description property of this TaskRun.
        :type description: str

        :param object_version:
            The value to assign to the object_version property of this TaskRun.
        :type object_version: int

        :param config_provider:
            The value to assign to the config_provider property of this TaskRun.
        :type config_provider: oci.data_integration.models.ConfigProvider

        :param status:
            The value to assign to the status property of this TaskRun.
            Allowed values for this property are: "NOT_STARTED", "QUEUED", "RUNNING", "TERMINATING", "TERMINATED", "SUCCESS", "ERROR", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type status: str

        :param start_time_millis:
            The value to assign to the start_time_millis property of this TaskRun.
        :type start_time_millis: int

        :param end_time_millis:
            The value to assign to the end_time_millis property of this TaskRun.
        :type end_time_millis: int

        :param last_updated:
            The value to assign to the last_updated property of this TaskRun.
        :type last_updated: int

        :param records_written:
            The value to assign to the records_written property of this TaskRun.
        :type records_written: int

        :param bytes_processed:
            The value to assign to the bytes_processed property of this TaskRun.
        :type bytes_processed: int

        :param error_message:
            The value to assign to the error_message property of this TaskRun.
        :type error_message: str

        :param expected_duration:
            The value to assign to the expected_duration property of this TaskRun.
        :type expected_duration: float

        :param expected_duration_unit:
            The value to assign to the expected_duration_unit property of this TaskRun.
            Allowed values for this property are: "SECONDS", "MINUTES", "HOURS", "DAYS", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type expected_duration_unit: str

        :param task_key:
            The value to assign to the task_key property of this TaskRun.
        :type task_key: str

        :param external_id:
            The value to assign to the external_id property of this TaskRun.
        :type external_id: str

        :param retry_attempt:
            The value to assign to the retry_attempt property of this TaskRun.
        :type retry_attempt: int

        :param task_schedule:
            The value to assign to the task_schedule property of this TaskRun.
        :type task_schedule: oci.data_integration.models.TaskSchedule

        :param metrics:
            The value to assign to the metrics property of this TaskRun.
        :type metrics: dict(str, float)

        :param outputs:
            The value to assign to the outputs property of this TaskRun.
        :type outputs: dict(str, ParameterValue)

        :param execution_errors:
            The value to assign to the execution_errors property of this TaskRun.
        :type execution_errors: list[str]

        :param termination_errors:
            The value to assign to the termination_errors property of this TaskRun.
        :type termination_errors: list[str]

        :param auth_mode:
            The value to assign to the auth_mode property of this TaskRun.
            Allowed values for this property are: "OBO", "RESOURCE_PRINCIPAL", "USER_CERTIFICATE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type auth_mode: str

        :param opc_request_id:
            The value to assign to the opc_request_id property of this TaskRun.
        :type opc_request_id: str

        :param object_status:
            The value to assign to the object_status property of this TaskRun.
        :type object_status: int

        :param task_type:
            The value to assign to the task_type property of this TaskRun.
            Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type task_type: str

        :param is_log_processing_in_progress:
            The value to assign to the is_log_processing_in_progress property of this TaskRun.
        :type is_log_processing_in_progress: bool

        :param identifier:
            The value to assign to the identifier property of this TaskRun.
        :type identifier: str

        :param metadata:
            The value to assign to the metadata property of this TaskRun.
        :type metadata: oci.data_integration.models.ObjectMetadata

        :param key_map:
            The value to assign to the key_map property of this TaskRun.
        :type key_map: dict(str, str)

        """
        self.swagger_types = {
            'key': 'str',
            'model_type': 'str',
            'model_version': 'str',
            'parent_ref': 'ParentReference',
            'name': 'str',
            'description': 'str',
            'object_version': 'int',
            'config_provider': 'ConfigProvider',
            'status': 'str',
            'start_time_millis': 'int',
            'end_time_millis': 'int',
            'last_updated': 'int',
            'records_written': 'int',
            'bytes_processed': 'int',
            'error_message': 'str',
            'expected_duration': 'float',
            'expected_duration_unit': 'str',
            'task_key': 'str',
            'external_id': 'str',
            'retry_attempt': 'int',
            'task_schedule': 'TaskSchedule',
            'metrics': 'dict(str, float)',
            'outputs': 'dict(str, ParameterValue)',
            'execution_errors': 'list[str]',
            'termination_errors': 'list[str]',
            'auth_mode': 'str',
            'opc_request_id': 'str',
            'object_status': 'int',
            'task_type': 'str',
            'is_log_processing_in_progress': 'bool',
            'identifier': 'str',
            'metadata': 'ObjectMetadata',
            'key_map': 'dict(str, str)'
        }

        self.attribute_map = {
            'key': 'key',
            'model_type': 'modelType',
            'model_version': 'modelVersion',
            'parent_ref': 'parentRef',
            'name': 'name',
            'description': 'description',
            'object_version': 'objectVersion',
            'config_provider': 'configProvider',
            'status': 'status',
            'start_time_millis': 'startTimeMillis',
            'end_time_millis': 'endTimeMillis',
            'last_updated': 'lastUpdated',
            'records_written': 'recordsWritten',
            'bytes_processed': 'bytesProcessed',
            'error_message': 'errorMessage',
            'expected_duration': 'expectedDuration',
            'expected_duration_unit': 'expectedDurationUnit',
            'task_key': 'taskKey',
            'external_id': 'externalId',
            'retry_attempt': 'retryAttempt',
            'task_schedule': 'taskSchedule',
            'metrics': 'metrics',
            'outputs': 'outputs',
            'execution_errors': 'executionErrors',
            'termination_errors': 'terminationErrors',
            'auth_mode': 'authMode',
            'opc_request_id': 'opcRequestId',
            'object_status': 'objectStatus',
            'task_type': 'taskType',
            'is_log_processing_in_progress': 'isLogProcessingInProgress',
            'identifier': 'identifier',
            'metadata': 'metadata',
            'key_map': 'keyMap'
        }

        self._key = None
        self._model_type = None
        self._model_version = None
        self._parent_ref = None
        self._name = None
        self._description = None
        self._object_version = None
        self._config_provider = None
        self._status = None
        self._start_time_millis = None
        self._end_time_millis = None
        self._last_updated = None
        self._records_written = None
        self._bytes_processed = None
        self._error_message = None
        self._expected_duration = None
        self._expected_duration_unit = None
        self._task_key = None
        self._external_id = None
        self._retry_attempt = None
        self._task_schedule = None
        self._metrics = None
        self._outputs = None
        self._execution_errors = None
        self._termination_errors = None
        self._auth_mode = None
        self._opc_request_id = None
        self._object_status = None
        self._task_type = None
        self._is_log_processing_in_progress = None
        self._identifier = None
        self._metadata = None
        self._key_map = None

    @property
    def key(self):
        """
        Gets the key of this TaskRun.
        The key of the object.


        :return: The key of this TaskRun.
        :rtype: str
        """
        return self._key

    @key.setter
    def key(self, key):
        """
        Sets the key of this TaskRun.
        The key of the object.


        :param key: The key of this TaskRun.
        :type: str
        """
        self._key = key

    @property
    def model_type(self):
        """
        Gets the model_type of this TaskRun.
        The type of the object.


        :return: The model_type of this TaskRun.
        :rtype: str
        """
        return self._model_type

    @model_type.setter
    def model_type(self, model_type):
        """
        Sets the model_type of this TaskRun.
        The type of the object.


        :param model_type: The model_type of this TaskRun.
        :type: str
        """
        self._model_type = model_type

    @property
    def model_version(self):
        """
        Gets the model_version of this TaskRun.
        The model version of an object.


        :return: The model_version of this TaskRun.
        :rtype: str
        """
        return self._model_version

    @model_version.setter
    def model_version(self, model_version):
        """
        Sets the model_version of this TaskRun.
        The model version of an object.


        :param model_version: The model_version of this TaskRun.
        :type: str
        """
        self._model_version = model_version

    @property
    def parent_ref(self):
        """
        Gets the parent_ref of this TaskRun.

        :return: The parent_ref of this TaskRun.
        :rtype: oci.data_integration.models.ParentReference
        """
        return self._parent_ref

    @parent_ref.setter
    def parent_ref(self, parent_ref):
        """
        Sets the parent_ref of this TaskRun.

        :param parent_ref: The parent_ref of this TaskRun.
        :type: oci.data_integration.models.ParentReference
        """
        self._parent_ref = parent_ref

    @property
    def name(self):
        """
        Gets the name of this TaskRun.
        Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.


        :return: The name of this TaskRun.
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """
        Sets the name of this TaskRun.
        Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.


        :param name: The name of this TaskRun.
        :type: str
        """
        self._name = name

    @property
    def description(self):
        """
        Gets the description of this TaskRun.
        Detailed description for the object.


        :return: The description of this TaskRun.
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """
        Sets the description of this TaskRun.
        Detailed description for the object.


        :param description: The description of this TaskRun.
        :type: str
        """
        self._description = description

    @property
    def object_version(self):
        """
        Gets the object_version of this TaskRun.
        The version of the object that is used to track changes in the object instance.


        :return: The object_version of this TaskRun.
        :rtype: int
        """
        return self._object_version

    @object_version.setter
    def object_version(self, object_version):
        """
        Sets the object_version of this TaskRun.
        The version of the object that is used to track changes in the object instance.


        :param object_version: The object_version of this TaskRun.
        :type: int
        """
        self._object_version = object_version

    @property
    def config_provider(self):
        """
        Gets the config_provider of this TaskRun.

        :return: The config_provider of this TaskRun.
        :rtype: oci.data_integration.models.ConfigProvider
        """
        return self._config_provider

    @config_provider.setter
    def config_provider(self, config_provider):
        """
        Sets the config_provider of this TaskRun.

        :param config_provider: The config_provider of this TaskRun.
        :type: oci.data_integration.models.ConfigProvider
        """
        self._config_provider = config_provider

    @property
    def status(self):
        """
        Gets the status of this TaskRun.
        The status of the task run.

        Allowed values for this property are: "NOT_STARTED", "QUEUED", "RUNNING", "TERMINATING", "TERMINATED", "SUCCESS", "ERROR", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The status of this TaskRun.
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """
        Sets the status of this TaskRun.
        The status of the task run.


        :param status: The status of this TaskRun.
        :type: str
        """
        allowed_values = ["NOT_STARTED", "QUEUED", "RUNNING", "TERMINATING", "TERMINATED", "SUCCESS", "ERROR"]
        if not value_allowed_none_or_none_sentinel(status, allowed_values):
            status = 'UNKNOWN_ENUM_VALUE'
        self._status = status

    @property
    def start_time_millis(self):
        """
        Gets the start_time_millis of this TaskRun.
        The start time.


        :return: The start_time_millis of this TaskRun.
        :rtype: int
        """
        return self._start_time_millis

    @start_time_millis.setter
    def start_time_millis(self, start_time_millis):
        """
        Sets the start_time_millis of this TaskRun.
        The start time.


        :param start_time_millis: The start_time_millis of this TaskRun.
        :type: int
        """
        self._start_time_millis = start_time_millis

    @property
    def end_time_millis(self):
        """
        Gets the end_time_millis of this TaskRun.
        The end time.


        :return: The end_time_millis of this TaskRun.
        :rtype: int
        """
        return self._end_time_millis

    @end_time_millis.setter
    def end_time_millis(self, end_time_millis):
        """
        Sets the end_time_millis of this TaskRun.
        The end time.


        :param end_time_millis: The end_time_millis of this TaskRun.
        :type: int
        """
        self._end_time_millis = end_time_millis

    @property
    def last_updated(self):
        """
        Gets the last_updated of this TaskRun.
        The date and time the object was last updated.


        :return: The last_updated of this TaskRun.
        :rtype: int
        """
        return self._last_updated

    @last_updated.setter
    def last_updated(self, last_updated):
        """
        Sets the last_updated of this TaskRun.
        The date and time the object was last updated.


        :param last_updated: The last_updated of this TaskRun.
        :type: int
        """
        self._last_updated = last_updated

    @property
    def records_written(self):
        """
        Gets the records_written of this TaskRun.
        The number of records processed in the task run.


        :return: The records_written of this TaskRun.
        :rtype: int
        """
        return self._records_written

    @records_written.setter
    def records_written(self, records_written):
        """
        Sets the records_written of this TaskRun.
        The number of records processed in the task run.


        :param records_written: The records_written of this TaskRun.
        :type: int
        """
        self._records_written = records_written

    @property
    def bytes_processed(self):
        """
        Gets the bytes_processed of this TaskRun.
        The number of bytes processed in the task run.


        :return: The bytes_processed of this TaskRun.
        :rtype: int
        """
        return self._bytes_processed

    @bytes_processed.setter
    def bytes_processed(self, bytes_processed):
        """
        Sets the bytes_processed of this TaskRun.
        The number of bytes processed in the task run.


        :param bytes_processed: The bytes_processed of this TaskRun.
        :type: int
        """
        self._bytes_processed = bytes_processed

    @property
    def error_message(self):
        """
        Gets the error_message of this TaskRun.
        Contains an error message if status is `ERROR`.


        :return: The error_message of this TaskRun.
        :rtype: str
        """
        return self._error_message

    @error_message.setter
    def error_message(self, error_message):
        """
        Sets the error_message of this TaskRun.
        Contains an error message if status is `ERROR`.


        :param error_message: The error_message of this TaskRun.
        :type: str
        """
        self._error_message = error_message

    @property
    def expected_duration(self):
        """
        Gets the expected_duration of this TaskRun.
        The expected duration for the task run.


        :return: The expected_duration of this TaskRun.
        :rtype: float
        """
        return self._expected_duration

    @expected_duration.setter
    def expected_duration(self, expected_duration):
        """
        Sets the expected_duration of this TaskRun.
        The expected duration for the task run.


        :param expected_duration: The expected_duration of this TaskRun.
        :type: float
        """
        self._expected_duration = expected_duration

    @property
    def expected_duration_unit(self):
        """
        Gets the expected_duration_unit of this TaskRun.
        The expected duration unit of measure.

        Allowed values for this property are: "SECONDS", "MINUTES", "HOURS", "DAYS", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The expected_duration_unit of this TaskRun.
        :rtype: str
        """
        return self._expected_duration_unit

    @expected_duration_unit.setter
    def expected_duration_unit(self, expected_duration_unit):
        """
        Sets the expected_duration_unit of this TaskRun.
        The expected duration unit of measure.


        :param expected_duration_unit: The expected_duration_unit of this TaskRun.
        :type: str
        """
        allowed_values = ["SECONDS", "MINUTES", "HOURS", "DAYS"]
        if not value_allowed_none_or_none_sentinel(expected_duration_unit, allowed_values):
            expected_duration_unit = 'UNKNOWN_ENUM_VALUE'
        self._expected_duration_unit = expected_duration_unit

    @property
    def task_key(self):
        """
        Gets the task_key of this TaskRun.
        Task Key of the task for which TaskRun is being created. If not specified, the AggregatorKey in RegistryMetadata will be assumed to be the TaskKey


        :return: The task_key of this TaskRun.
        :rtype: str
        """
        return self._task_key

    @task_key.setter
    def task_key(self, task_key):
        """
        Sets the task_key of this TaskRun.
        Task Key of the task for which TaskRun is being created. If not specified, the AggregatorKey in RegistryMetadata will be assumed to be the TaskKey


        :param task_key: The task_key of this TaskRun.
        :type: str
        """
        self._task_key = task_key

    @property
    def external_id(self):
        """
        Gets the external_id of this TaskRun.
        The external identifier for the task run.


        :return: The external_id of this TaskRun.
        :rtype: str
        """
        return self._external_id

    @external_id.setter
    def external_id(self, external_id):
        """
        Sets the external_id of this TaskRun.
        The external identifier for the task run.


        :param external_id: The external_id of this TaskRun.
        :type: str
        """
        self._external_id = external_id

    @property
    def retry_attempt(self):
        """
        Gets the retry_attempt of this TaskRun.
        Holds the particular attempt number.


        :return: The retry_attempt of this TaskRun.
        :rtype: int
        """
        return self._retry_attempt

    @retry_attempt.setter
    def retry_attempt(self, retry_attempt):
        """
        Sets the retry_attempt of this TaskRun.
        Holds the particular attempt number.


        :param retry_attempt: The retry_attempt of this TaskRun.
        :type: int
        """
        self._retry_attempt = retry_attempt

    @property
    def task_schedule(self):
        """
        Gets the task_schedule of this TaskRun.

        :return: The task_schedule of this TaskRun.
        :rtype: oci.data_integration.models.TaskSchedule
        """
        return self._task_schedule

    @task_schedule.setter
    def task_schedule(self, task_schedule):
        """
        Sets the task_schedule of this TaskRun.

        :param task_schedule: The task_schedule of this TaskRun.
        :type: oci.data_integration.models.TaskSchedule
        """
        self._task_schedule = task_schedule

    @property
    def metrics(self):
        """
        Gets the metrics of this TaskRun.
        A map of metrics for the run.


        :return: The metrics of this TaskRun.
        :rtype: dict(str, float)
        """
        return self._metrics

    @metrics.setter
    def metrics(self, metrics):
        """
        Sets the metrics of this TaskRun.
        A map of metrics for the run.


        :param metrics: The metrics of this TaskRun.
        :type: dict(str, float)
        """
        self._metrics = metrics

    @property
    def outputs(self):
        """
        Gets the outputs of this TaskRun.
        A map of the outputs of the run.


        :return: The outputs of this TaskRun.
        :rtype: dict(str, ParameterValue)
        """
        return self._outputs

    @outputs.setter
    def outputs(self, outputs):
        """
        Sets the outputs of this TaskRun.
        A map of the outputs of the run.


        :param outputs: The outputs of this TaskRun.
        :type: dict(str, ParameterValue)
        """
        self._outputs = outputs

    @property
    def execution_errors(self):
        """
        Gets the execution_errors of this TaskRun.
        An array of execution errors from the run.


        :return: The execution_errors of this TaskRun.
        :rtype: list[str]
        """
        return self._execution_errors

    @execution_errors.setter
    def execution_errors(self, execution_errors):
        """
        Sets the execution_errors of this TaskRun.
        An array of execution errors from the run.


        :param execution_errors: The execution_errors of this TaskRun.
        :type: list[str]
        """
        self._execution_errors = execution_errors

    @property
    def termination_errors(self):
        """
        Gets the termination_errors of this TaskRun.
        An array of termination errors from the run.


        :return: The termination_errors of this TaskRun.
        :rtype: list[str]
        """
        return self._termination_errors

    @termination_errors.setter
    def termination_errors(self, termination_errors):
        """
        Sets the termination_errors of this TaskRun.
        An array of termination errors from the run.


        :param termination_errors: The termination_errors of this TaskRun.
        :type: list[str]
        """
        self._termination_errors = termination_errors

    @property
    def auth_mode(self):
        """
        Gets the auth_mode of this TaskRun.
        The autorization mode for when the task was executed.

        Allowed values for this property are: "OBO", "RESOURCE_PRINCIPAL", "USER_CERTIFICATE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The auth_mode of this TaskRun.
        :rtype: str
        """
        return self._auth_mode

    @auth_mode.setter
    def auth_mode(self, auth_mode):
        """
        Sets the auth_mode of this TaskRun.
        The autorization mode for when the task was executed.


        :param auth_mode: The auth_mode of this TaskRun.
        :type: str
        """
        allowed_values = ["OBO", "RESOURCE_PRINCIPAL", "USER_CERTIFICATE"]
        if not value_allowed_none_or_none_sentinel(auth_mode, allowed_values):
            auth_mode = 'UNKNOWN_ENUM_VALUE'
        self._auth_mode = auth_mode

    @property
    def opc_request_id(self):
        """
        Gets the opc_request_id of this TaskRun.
        The OPC request ID of execution of the task run.


        :return: The opc_request_id of this TaskRun.
        :rtype: str
        """
        return self._opc_request_id

    @opc_request_id.setter
    def opc_request_id(self, opc_request_id):
        """
        Sets the opc_request_id of this TaskRun.
        The OPC request ID of execution of the task run.


        :param opc_request_id: The opc_request_id of this TaskRun.
        :type: str
        """
        self._opc_request_id = opc_request_id

    @property
    def object_status(self):
        """
        Gets the object_status of this TaskRun.
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.


        :return: The object_status of this TaskRun.
        :rtype: int
        """
        return self._object_status

    @object_status.setter
    def object_status(self, object_status):
        """
        Sets the object_status of this TaskRun.
        The status of an object that can be set to value 1 for shallow references across objects, other values reserved.


        :param object_status: The object_status of this TaskRun.
        :type: int
        """
        self._object_status = object_status

    @property
    def task_type(self):
        """
        Gets the task_type of this TaskRun.
        The type of task run.

        Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The task_type of this TaskRun.
        :rtype: str
        """
        return self._task_type

    @task_type.setter
    def task_type(self, task_type):
        """
        Sets the task_type of this TaskRun.
        The type of task run.


        :param task_type: The task_type of this TaskRun.
        :type: str
        """
        allowed_values = ["INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK"]
        if not value_allowed_none_or_none_sentinel(task_type, allowed_values):
            task_type = 'UNKNOWN_ENUM_VALUE'
        self._task_type = task_type

    @property
    def is_log_processing_in_progress(self):
        """
        Gets the is_log_processing_in_progress of this TaskRun.
        This field tells the user if there is any logs being fetched in backend for failure. Applicable only for failed pipeline tasks.


        :return: The is_log_processing_in_progress of this TaskRun.
        :rtype: bool
        """
        return self._is_log_processing_in_progress

    @is_log_processing_in_progress.setter
    def is_log_processing_in_progress(self, is_log_processing_in_progress):
        """
        Sets the is_log_processing_in_progress of this TaskRun.
        This field tells the user if there is any logs being fetched in backend for failure. Applicable only for failed pipeline tasks.


        :param is_log_processing_in_progress: The is_log_processing_in_progress of this TaskRun.
        :type: bool
        """
        self._is_log_processing_in_progress = is_log_processing_in_progress

    @property
    def identifier(self):
        """
        Gets the identifier of this TaskRun.
        Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.


        :return: The identifier of this TaskRun.
        :rtype: str
        """
        return self._identifier

    @identifier.setter
    def identifier(self, identifier):
        """
        Sets the identifier of this TaskRun.
        Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.


        :param identifier: The identifier of this TaskRun.
        :type: str
        """
        self._identifier = identifier

    @property
    def metadata(self):
        """
        Gets the metadata of this TaskRun.

        :return: The metadata of this TaskRun.
        :rtype: oci.data_integration.models.ObjectMetadata
        """
        return self._metadata

    @metadata.setter
    def metadata(self, metadata):
        """
        Sets the metadata of this TaskRun.

        :param metadata: The metadata of this TaskRun.
        :type: oci.data_integration.models.ObjectMetadata
        """
        self._metadata = metadata

    @property
    def key_map(self):
        """
        Gets the key_map of this TaskRun.
        A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.


        :return: The key_map of this TaskRun.
        :rtype: dict(str, str)
        """
        return self._key_map

    @key_map.setter
    def key_map(self, key_map):
        """
        Sets the key_map of this TaskRun.
        A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.


        :param key_map: The key_map of this TaskRun.
        :type: dict(str, str)
        """
        self._key_map = key_map

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other

Youez - 2016 - github.com/yon3zu
LinuXploit