Server IP : 103.119.228.120 / Your IP : 3.145.63.148 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/fleet_apps_management/models/ |
Upload File : |
# 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: 20230831 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 Execution(object): """ Task Execution associated with the Job. """ #: A constant which can be used with the status property of a Execution. #: This constant has a value of "ACCEPTED" STATUS_ACCEPTED = "ACCEPTED" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "WAITING" STATUS_WAITING = "WAITING" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "IN_PROGRESS" STATUS_IN_PROGRESS = "IN_PROGRESS" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "FAILED" STATUS_FAILED = "FAILED" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "SUCCEEDED" STATUS_SUCCEEDED = "SUCCEEDED" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "CANCELED" STATUS_CANCELED = "CANCELED" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "SKIPPED" STATUS_SKIPPED = "SKIPPED" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "IGNORED" STATUS_IGNORED = "IGNORED" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "NOT_APPLICABLE" STATUS_NOT_APPLICABLE = "NOT_APPLICABLE" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "ABORTED" STATUS_ABORTED = "ABORTED" #: A constant which can be used with the status property of a Execution. #: This constant has a value of "TIMED_OUT" STATUS_TIMED_OUT = "TIMED_OUT" def __init__(self, **kwargs): """ Initializes a new Execution 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 Execution. :type id: str :param task_record_id: The value to assign to the task_record_id property of this Execution. :type task_record_id: str :param step_name: The value to assign to the step_name property of this Execution. :type step_name: str :param process_reference_id: The value to assign to the process_reference_id property of this Execution. :type process_reference_id: str :param sequence: The value to assign to the sequence property of this Execution. :type sequence: str :param subjects: The value to assign to the subjects property of this Execution. :type subjects: list[str] :param status: The value to assign to the status property of this Execution. Allowed values for this property are: "ACCEPTED", "WAITING", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELED", "SKIPPED", "IGNORED", "NOT_APPLICABLE", "ABORTED", "TIMED_OUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param outcome: The value to assign to the outcome property of this Execution. :type outcome: oci.fleet_apps_management.models.Outcome :param target_id: The value to assign to the target_id property of this Execution. :type target_id: str :param time_started: The value to assign to the time_started property of this Execution. :type time_started: datetime :param time_ended: The value to assign to the time_ended property of this Execution. :type time_ended: datetime :param system_tags: The value to assign to the system_tags property of this Execution. :type system_tags: dict(str, dict(str, object)) """ self.swagger_types = { 'id': 'str', 'task_record_id': 'str', 'step_name': 'str', 'process_reference_id': 'str', 'sequence': 'str', 'subjects': 'list[str]', 'status': 'str', 'outcome': 'Outcome', 'target_id': 'str', 'time_started': 'datetime', 'time_ended': 'datetime', 'system_tags': 'dict(str, dict(str, object))' } self.attribute_map = { 'id': 'id', 'task_record_id': 'taskRecordId', 'step_name': 'stepName', 'process_reference_id': 'processReferenceId', 'sequence': 'sequence', 'subjects': 'subjects', 'status': 'status', 'outcome': 'outcome', 'target_id': 'targetId', 'time_started': 'timeStarted', 'time_ended': 'timeEnded', 'system_tags': 'systemTags' } self._id = None self._task_record_id = None self._step_name = None self._process_reference_id = None self._sequence = None self._subjects = None self._status = None self._outcome = None self._target_id = None self._time_started = None self._time_ended = None self._system_tags = None @property def id(self): """ **[Required]** Gets the id of this Execution. Unique Id assocaited with the Task Execution :return: The id of this Execution. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this Execution. Unique Id assocaited with the Task Execution :param id: The id of this Execution. :type: str """ self._id = id @property def task_record_id(self): """ Gets the task_record_id of this Execution. The OCID of taskRecord :return: The task_record_id of this Execution. :rtype: str """ return self._task_record_id @task_record_id.setter def task_record_id(self, task_record_id): """ Sets the task_record_id of this Execution. The OCID of taskRecord :param task_record_id: The task_record_id of this Execution. :type: str """ self._task_record_id = task_record_id @property def step_name(self): """ Gets the step_name of this Execution. Name of the step :return: The step_name of this Execution. :rtype: str """ return self._step_name @step_name.setter def step_name(self, step_name): """ Sets the step_name of this Execution. Name of the step :param step_name: The step_name of this Execution. :type: str """ self._step_name = step_name @property def process_reference_id(self): """ Gets the process_reference_id of this Execution. Unique process reference identifier returned by the execution client :return: The process_reference_id of this Execution. :rtype: str """ return self._process_reference_id @process_reference_id.setter def process_reference_id(self, process_reference_id): """ Sets the process_reference_id of this Execution. Unique process reference identifier returned by the execution client :param process_reference_id: The process_reference_id of this Execution. :type: str """ self._process_reference_id = process_reference_id @property def sequence(self): """ Gets the sequence of this Execution. The sequence of the task :return: The sequence of this Execution. :rtype: str """ return self._sequence @sequence.setter def sequence(self, sequence): """ Sets the sequence of this Execution. The sequence of the task :param sequence: The sequence of this Execution. :type: str """ self._sequence = sequence @property def subjects(self): """ Gets the subjects of this Execution. Subjects which are tied to the task :return: The subjects of this Execution. :rtype: list[str] """ return self._subjects @subjects.setter def subjects(self, subjects): """ Sets the subjects of this Execution. Subjects which are tied to the task :param subjects: The subjects of this Execution. :type: list[str] """ self._subjects = subjects @property def status(self): """ **[Required]** Gets the status of this Execution. Status of the Task Allowed values for this property are: "ACCEPTED", "WAITING", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELED", "SKIPPED", "IGNORED", "NOT_APPLICABLE", "ABORTED", "TIMED_OUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this Execution. :rtype: str """ return self._status @status.setter def status(self, status): """ Sets the status of this Execution. Status of the Task :param status: The status of this Execution. :type: str """ allowed_values = ["ACCEPTED", "WAITING", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELED", "SKIPPED", "IGNORED", "NOT_APPLICABLE", "ABORTED", "TIMED_OUT"] if not value_allowed_none_or_none_sentinel(status, allowed_values): status = 'UNKNOWN_ENUM_VALUE' self._status = status @property def outcome(self): """ Gets the outcome of this Execution. :return: The outcome of this Execution. :rtype: oci.fleet_apps_management.models.Outcome """ return self._outcome @outcome.setter def outcome(self, outcome): """ Sets the outcome of this Execution. :param outcome: The outcome of this Execution. :type: oci.fleet_apps_management.models.Outcome """ self._outcome = outcome @property def target_id(self): """ Gets the target_id of this Execution. Target associated with the execution :return: The target_id of this Execution. :rtype: str """ return self._target_id @target_id.setter def target_id(self, target_id): """ Sets the target_id of this Execution. Target associated with the execution :param target_id: The target_id of this Execution. :type: str """ self._target_id = target_id @property def time_started(self): """ Gets the time_started of this Execution. The time the task started. An RFC3339 formatted datetime string :return: The time_started of this Execution. :rtype: datetime """ return self._time_started @time_started.setter def time_started(self, time_started): """ Sets the time_started of this Execution. The time the task started. An RFC3339 formatted datetime string :param time_started: The time_started of this Execution. :type: datetime """ self._time_started = time_started @property def time_ended(self): """ Gets the time_ended of this Execution. The time the task ended. An RFC3339 formatted datetime string :return: The time_ended of this Execution. :rtype: datetime """ return self._time_ended @time_ended.setter def time_ended(self, time_ended): """ Sets the time_ended of this Execution. The time the task ended. An RFC3339 formatted datetime string :param time_ended: The time_ended of this Execution. :type: datetime """ self._time_ended = time_ended @property def system_tags(self): """ Gets the system_tags of this Execution. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}` :return: The system_tags of this Execution. :rtype: dict(str, dict(str, object)) """ return self._system_tags @system_tags.setter def system_tags(self, system_tags): """ Sets the system_tags of this Execution. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}` :param system_tags: The system_tags of this Execution. :type: dict(str, dict(str, object)) """ self._system_tags = system_tags 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