Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
operator_access_control
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: update_operator_control_details.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: 20200630 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 UpdateOperatorControlDetails(object): """ Information about the new operator control. """ def __init__(self, **kwargs): """ Initializes a new UpdateOperatorControlDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operator_control_name: The value to assign to the operator_control_name property of this UpdateOperatorControlDetails. :type operator_control_name: str :param description: The value to assign to the description property of this UpdateOperatorControlDetails. :type description: str :param approvers_list: The value to assign to the approvers_list property of this UpdateOperatorControlDetails. :type approvers_list: list[str] :param approver_groups_list: The value to assign to the approver_groups_list property of this UpdateOperatorControlDetails. :type approver_groups_list: list[str] :param pre_approved_op_action_list: The value to assign to the pre_approved_op_action_list property of this UpdateOperatorControlDetails. :type pre_approved_op_action_list: list[str] :param is_fully_pre_approved: The value to assign to the is_fully_pre_approved property of this UpdateOperatorControlDetails. :type is_fully_pre_approved: bool :param email_id_list: The value to assign to the email_id_list property of this UpdateOperatorControlDetails. :type email_id_list: list[str] :param number_of_approvers: The value to assign to the number_of_approvers property of this UpdateOperatorControlDetails. :type number_of_approvers: int :param system_message: The value to assign to the system_message property of this UpdateOperatorControlDetails. :type system_message: str :param freeform_tags: The value to assign to the freeform_tags property of this UpdateOperatorControlDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateOperatorControlDetails. :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { 'operator_control_name': 'str', 'description': 'str', 'approvers_list': 'list[str]', 'approver_groups_list': 'list[str]', 'pre_approved_op_action_list': 'list[str]', 'is_fully_pre_approved': 'bool', 'email_id_list': 'list[str]', 'number_of_approvers': 'int', 'system_message': 'str', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { 'operator_control_name': 'operatorControlName', 'description': 'description', 'approvers_list': 'approversList', 'approver_groups_list': 'approverGroupsList', 'pre_approved_op_action_list': 'preApprovedOpActionList', 'is_fully_pre_approved': 'isFullyPreApproved', 'email_id_list': 'emailIdList', 'number_of_approvers': 'numberOfApprovers', 'system_message': 'systemMessage', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags' } self._operator_control_name = None self._description = None self._approvers_list = None self._approver_groups_list = None self._pre_approved_op_action_list = None self._is_fully_pre_approved = None self._email_id_list = None self._number_of_approvers = None self._system_message = None self._freeform_tags = None self._defined_tags = None @property def operator_control_name(self): """ **[Required]** Gets the operator_control_name of this UpdateOperatorControlDetails. Name of the operator control. :return: The operator_control_name of this UpdateOperatorControlDetails. :rtype: str """ return self._operator_control_name @operator_control_name.setter def operator_control_name(self, operator_control_name): """ Sets the operator_control_name of this UpdateOperatorControlDetails. Name of the operator control. :param operator_control_name: The operator_control_name of this UpdateOperatorControlDetails. :type: str """ self._operator_control_name = operator_control_name @property def description(self): """ Gets the description of this UpdateOperatorControlDetails. Description of the operator control. :return: The description of this UpdateOperatorControlDetails. :rtype: str """ return self._description @description.setter def description(self, description): """ Sets the description of this UpdateOperatorControlDetails. Description of the operator control. :param description: The description of this UpdateOperatorControlDetails. :type: str """ self._description = description @property def approvers_list(self): """ Gets the approvers_list of this UpdateOperatorControlDetails. List of users who can approve an access request associated with a target resource under the governance of this operator control. :return: The approvers_list of this UpdateOperatorControlDetails. :rtype: list[str] """ return self._approvers_list @approvers_list.setter def approvers_list(self, approvers_list): """ Sets the approvers_list of this UpdateOperatorControlDetails. List of users who can approve an access request associated with a target resource under the governance of this operator control. :param approvers_list: The approvers_list of this UpdateOperatorControlDetails. :type: list[str] """ self._approvers_list = approvers_list @property def approver_groups_list(self): """ **[Required]** Gets the approver_groups_list of this UpdateOperatorControlDetails. List of user groups who can approve an access request associated with a target resource under the governance of this operator control. :return: The approver_groups_list of this UpdateOperatorControlDetails. :rtype: list[str] """ return self._approver_groups_list @approver_groups_list.setter def approver_groups_list(self, approver_groups_list): """ Sets the approver_groups_list of this UpdateOperatorControlDetails. List of user groups who can approve an access request associated with a target resource under the governance of this operator control. :param approver_groups_list: The approver_groups_list of this UpdateOperatorControlDetails. :type: list[str] """ self._approver_groups_list = approver_groups_list @property def pre_approved_op_action_list(self): """ Gets the pre_approved_op_action_list of this UpdateOperatorControlDetails. List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list. :return: The pre_approved_op_action_list of this UpdateOperatorControlDetails. :rtype: list[str] """ return self._pre_approved_op_action_list @pre_approved_op_action_list.setter def pre_approved_op_action_list(self, pre_approved_op_action_list): """ Sets the pre_approved_op_action_list of this UpdateOperatorControlDetails. List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list. :param pre_approved_op_action_list: The pre_approved_op_action_list of this UpdateOperatorControlDetails. :type: list[str] """ self._pre_approved_op_action_list = pre_approved_op_action_list @property def is_fully_pre_approved(self): """ **[Required]** Gets the is_fully_pre_approved of this UpdateOperatorControlDetails. Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved. :return: The is_fully_pre_approved of this UpdateOperatorControlDetails. :rtype: bool """ return self._is_fully_pre_approved @is_fully_pre_approved.setter def is_fully_pre_approved(self, is_fully_pre_approved): """ Sets the is_fully_pre_approved of this UpdateOperatorControlDetails. Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved. :param is_fully_pre_approved: The is_fully_pre_approved of this UpdateOperatorControlDetails. :type: bool """ self._is_fully_pre_approved = is_fully_pre_approved @property def email_id_list(self): """ Gets the email_id_list of this UpdateOperatorControlDetails. List of emailId. :return: The email_id_list of this UpdateOperatorControlDetails. :rtype: list[str] """ return self._email_id_list @email_id_list.setter def email_id_list(self, email_id_list): """ Sets the email_id_list of this UpdateOperatorControlDetails. List of emailId. :param email_id_list: The email_id_list of this UpdateOperatorControlDetails. :type: list[str] """ self._email_id_list = email_id_list @property def number_of_approvers(self): """ Gets the number_of_approvers of this UpdateOperatorControlDetails. Number of approvers required to approve an access request. :return: The number_of_approvers of this UpdateOperatorControlDetails. :rtype: int """ return self._number_of_approvers @number_of_approvers.setter def number_of_approvers(self, number_of_approvers): """ Sets the number_of_approvers of this UpdateOperatorControlDetails. Number of approvers required to approve an access request. :param number_of_approvers: The number_of_approvers of this UpdateOperatorControlDetails. :type: int """ self._number_of_approvers = number_of_approvers @property def system_message(self): """ Gets the system_message of this UpdateOperatorControlDetails. System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control. :return: The system_message of this UpdateOperatorControlDetails. :rtype: str """ return self._system_message @system_message.setter def system_message(self, system_message): """ Sets the system_message of this UpdateOperatorControlDetails. System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control. :param system_message: The system_message of this UpdateOperatorControlDetails. :type: str """ self._system_message = system_message @property def freeform_tags(self): """ Gets the freeform_tags of this UpdateOperatorControlDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. :return: The freeform_tags of this UpdateOperatorControlDetails. :rtype: dict(str, str) """ return self._freeform_tags @freeform_tags.setter def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this UpdateOperatorControlDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. :param freeform_tags: The freeform_tags of this UpdateOperatorControlDetails. :type: dict(str, str) """ self._freeform_tags = freeform_tags @property def defined_tags(self): """ Gets the defined_tags of this UpdateOperatorControlDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. :return: The defined_tags of this UpdateOperatorControlDetails. :rtype: dict(str, dict(str, object)) """ return self._defined_tags @defined_tags.setter def defined_tags(self, defined_tags): """ Sets the defined_tags of this UpdateOperatorControlDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. :param defined_tags: The defined_tags of this UpdateOperatorControlDetails. :type: dict(str, dict(str, object)) """ self._defined_tags = defined_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