Server IP : 103.119.228.120 / Your IP : 18.119.121.234 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/cloud_guard/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: 20200131 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 ProblemHistorySummary(object): """ Problem history definition. """ #: A constant which can be used with the actor_type property of a ProblemHistorySummary. #: This constant has a value of "CLOUD_GUARD_SERVICE" ACTOR_TYPE_CLOUD_GUARD_SERVICE = "CLOUD_GUARD_SERVICE" #: A constant which can be used with the actor_type property of a ProblemHistorySummary. #: This constant has a value of "CORRELATION" ACTOR_TYPE_CORRELATION = "CORRELATION" #: A constant which can be used with the actor_type property of a ProblemHistorySummary. #: This constant has a value of "RESPONDER" ACTOR_TYPE_RESPONDER = "RESPONDER" #: A constant which can be used with the actor_type property of a ProblemHistorySummary. #: This constant has a value of "USER" ACTOR_TYPE_USER = "USER" #: A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. #: This constant has a value of "OPEN" LIFECYCLE_DETAIL_OPEN = "OPEN" #: A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. #: This constant has a value of "RESOLVED" LIFECYCLE_DETAIL_RESOLVED = "RESOLVED" #: A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. #: This constant has a value of "DISMISSED" LIFECYCLE_DETAIL_DISMISSED = "DISMISSED" #: A constant which can be used with the lifecycle_detail property of a ProblemHistorySummary. #: This constant has a value of "DELETED" LIFECYCLE_DETAIL_DELETED = "DELETED" #: A constant which can be used with the event_status property of a ProblemHistorySummary. #: This constant has a value of "REOPEN" EVENT_STATUS_REOPEN = "REOPEN" #: A constant which can be used with the event_status property of a ProblemHistorySummary. #: This constant has a value of "OPEN" EVENT_STATUS_OPEN = "OPEN" #: A constant which can be used with the event_status property of a ProblemHistorySummary. #: This constant has a value of "UPDATE" EVENT_STATUS_UPDATE = "UPDATE" #: A constant which can be used with the event_status property of a ProblemHistorySummary. #: This constant has a value of "RESOLVE" EVENT_STATUS_RESOLVE = "RESOLVE" #: A constant which can be used with the event_status property of a ProblemHistorySummary. #: This constant has a value of "DISMISS" EVENT_STATUS_DISMISS = "DISMISS" #: A constant which can be used with the event_status property of a ProblemHistorySummary. #: This constant has a value of "DELETE" EVENT_STATUS_DELETE = "DELETE" def __init__(self, **kwargs): """ Initializes a new ProblemHistorySummary 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 ProblemHistorySummary. :type id: str :param problem_id: The value to assign to the problem_id property of this ProblemHistorySummary. :type problem_id: str :param actor_type: The value to assign to the actor_type property of this ProblemHistorySummary. Allowed values for this property are: "CLOUD_GUARD_SERVICE", "CORRELATION", "RESPONDER", "USER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type actor_type: str :param actor_name: The value to assign to the actor_name property of this ProblemHistorySummary. :type actor_name: str :param explanation: The value to assign to the explanation property of this ProblemHistorySummary. :type explanation: str :param lifecycle_detail: The value to assign to the lifecycle_detail property of this ProblemHistorySummary. Allowed values for this property are: "OPEN", "RESOLVED", "DISMISSED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_detail: str :param event_status: The value to assign to the event_status property of this ProblemHistorySummary. Allowed values for this property are: "REOPEN", "OPEN", "UPDATE", "RESOLVE", "DISMISS", "DELETE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type event_status: str :param time_created: The value to assign to the time_created property of this ProblemHistorySummary. :type time_created: datetime :param delta: The value to assign to the delta property of this ProblemHistorySummary. :type delta: str :param comment: The value to assign to the comment property of this ProblemHistorySummary. :type comment: str :param locks: The value to assign to the locks property of this ProblemHistorySummary. :type locks: list[oci.cloud_guard.models.ResourceLock] """ self.swagger_types = { 'id': 'str', 'problem_id': 'str', 'actor_type': 'str', 'actor_name': 'str', 'explanation': 'str', 'lifecycle_detail': 'str', 'event_status': 'str', 'time_created': 'datetime', 'delta': 'str', 'comment': 'str', 'locks': 'list[ResourceLock]' } self.attribute_map = { 'id': 'id', 'problem_id': 'problemId', 'actor_type': 'actorType', 'actor_name': 'actorName', 'explanation': 'explanation', 'lifecycle_detail': 'lifecycleDetail', 'event_status': 'eventStatus', 'time_created': 'timeCreated', 'delta': 'delta', 'comment': 'comment', 'locks': 'locks' } self._id = None self._problem_id = None self._actor_type = None self._actor_name = None self._explanation = None self._lifecycle_detail = None self._event_status = None self._time_created = None self._delta = None self._comment = None self._locks = None @property def id(self): """ **[Required]** Gets the id of this ProblemHistorySummary. Unique identifier for the history record :return: The id of this ProblemHistorySummary. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this ProblemHistorySummary. Unique identifier for the history record :param id: The id of this ProblemHistorySummary. :type: str """ self._id = id @property def problem_id(self): """ **[Required]** Gets the problem_id of this ProblemHistorySummary. Problem ID with which history is associated :return: The problem_id of this ProblemHistorySummary. :rtype: str """ return self._problem_id @problem_id.setter def problem_id(self, problem_id): """ Sets the problem_id of this ProblemHistorySummary. Problem ID with which history is associated :param problem_id: The problem_id of this ProblemHistorySummary. :type: str """ self._problem_id = problem_id @property def actor_type(self): """ **[Required]** Gets the actor_type of this ProblemHistorySummary. Type of actor who performed the operation Allowed values for this property are: "CLOUD_GUARD_SERVICE", "CORRELATION", "RESPONDER", "USER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The actor_type of this ProblemHistorySummary. :rtype: str """ return self._actor_type @actor_type.setter def actor_type(self, actor_type): """ Sets the actor_type of this ProblemHistorySummary. Type of actor who performed the operation :param actor_type: The actor_type of this ProblemHistorySummary. :type: str """ allowed_values = ["CLOUD_GUARD_SERVICE", "CORRELATION", "RESPONDER", "USER"] if not value_allowed_none_or_none_sentinel(actor_type, allowed_values): actor_type = 'UNKNOWN_ENUM_VALUE' self._actor_type = actor_type @property def actor_name(self): """ **[Required]** Gets the actor_name of this ProblemHistorySummary. Resource name who performed the activity :return: The actor_name of this ProblemHistorySummary. :rtype: str """ return self._actor_name @actor_name.setter def actor_name(self, actor_name): """ Sets the actor_name of this ProblemHistorySummary. Resource name who performed the activity :param actor_name: The actor_name of this ProblemHistorySummary. :type: str """ self._actor_name = actor_name @property def explanation(self): """ **[Required]** Gets the explanation of this ProblemHistorySummary. Activity explanation details :return: The explanation of this ProblemHistorySummary. :rtype: str """ return self._explanation @explanation.setter def explanation(self, explanation): """ Sets the explanation of this ProblemHistorySummary. Activity explanation details :param explanation: The explanation of this ProblemHistorySummary. :type: str """ self._explanation = explanation @property def lifecycle_detail(self): """ **[Required]** Gets the lifecycle_detail of this ProblemHistorySummary. Additional details on the substate of the lifecycle state Allowed values for this property are: "OPEN", "RESOLVED", "DISMISSED", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_detail of this ProblemHistorySummary. :rtype: str """ return self._lifecycle_detail @lifecycle_detail.setter def lifecycle_detail(self, lifecycle_detail): """ Sets the lifecycle_detail of this ProblemHistorySummary. Additional details on the substate of the lifecycle state :param lifecycle_detail: The lifecycle_detail of this ProblemHistorySummary. :type: str """ allowed_values = ["OPEN", "RESOLVED", "DISMISSED", "DELETED"] if not value_allowed_none_or_none_sentinel(lifecycle_detail, allowed_values): lifecycle_detail = 'UNKNOWN_ENUM_VALUE' self._lifecycle_detail = lifecycle_detail @property def event_status(self): """ Gets the event_status of this ProblemHistorySummary. Event status Allowed values for this property are: "REOPEN", "OPEN", "UPDATE", "RESOLVE", "DISMISS", "DELETE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The event_status of this ProblemHistorySummary. :rtype: str """ return self._event_status @event_status.setter def event_status(self, event_status): """ Sets the event_status of this ProblemHistorySummary. Event status :param event_status: The event_status of this ProblemHistorySummary. :type: str """ allowed_values = ["REOPEN", "OPEN", "UPDATE", "RESOLVE", "DISMISS", "DELETE"] if not value_allowed_none_or_none_sentinel(event_status, allowed_values): event_status = 'UNKNOWN_ENUM_VALUE' self._event_status = event_status @property def time_created(self): """ **[Required]** Gets the time_created of this ProblemHistorySummary. Date and time the problem was created :return: The time_created of this ProblemHistorySummary. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this ProblemHistorySummary. Date and time the problem was created :param time_created: The time_created of this ProblemHistorySummary. :type: datetime """ self._time_created = time_created @property def delta(self): """ **[Required]** Gets the delta of this ProblemHistorySummary. Impacted resource names in a comma-separated string :return: The delta of this ProblemHistorySummary. :rtype: str """ return self._delta @delta.setter def delta(self, delta): """ Sets the delta of this ProblemHistorySummary. Impacted resource names in a comma-separated string :param delta: The delta of this ProblemHistorySummary. :type: str """ self._delta = delta @property def comment(self): """ Gets the comment of this ProblemHistorySummary. User-defined comments :return: The comment of this ProblemHistorySummary. :rtype: str """ return self._comment @comment.setter def comment(self, comment): """ Sets the comment of this ProblemHistorySummary. User-defined comments :param comment: The comment of this ProblemHistorySummary. :type: str """ self._comment = comment @property def locks(self): """ Gets the locks of this ProblemHistorySummary. Locks associated with this resource. :return: The locks of this ProblemHistorySummary. :rtype: list[oci.cloud_guard.models.ResourceLock] """ return self._locks @locks.setter def locks(self, locks): """ Sets the locks of this ProblemHistorySummary. Locks associated with this resource. :param locks: The locks of this ProblemHistorySummary. :type: list[oci.cloud_guard.models.ResourceLock] """ self._locks = locks 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