403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/oci/database/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/database/models/maintenance_run_history_summary.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: 20160918


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 MaintenanceRunHistorySummary(object):
    """
    Details of a maintenance run history.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new MaintenanceRunHistorySummary 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 MaintenanceRunHistorySummary.
        :type id: str

        :param maintenance_run_details:
            The value to assign to the maintenance_run_details property of this MaintenanceRunHistorySummary.
        :type maintenance_run_details: oci.database.models.MaintenanceRunSummary

        :param db_servers_history_details:
            The value to assign to the db_servers_history_details property of this MaintenanceRunHistorySummary.
        :type db_servers_history_details: list[oci.database.models.DbServerHistorySummary]

        :param current_execution_window:
            The value to assign to the current_execution_window property of this MaintenanceRunHistorySummary.
        :type current_execution_window: str

        :param granular_maintenance_history:
            The value to assign to the granular_maintenance_history property of this MaintenanceRunHistorySummary.
        :type granular_maintenance_history: list[oci.database.models.GranularMaintenanceHistoryDetails]

        """
        self.swagger_types = {
            'id': 'str',
            'maintenance_run_details': 'MaintenanceRunSummary',
            'db_servers_history_details': 'list[DbServerHistorySummary]',
            'current_execution_window': 'str',
            'granular_maintenance_history': 'list[GranularMaintenanceHistoryDetails]'
        }

        self.attribute_map = {
            'id': 'id',
            'maintenance_run_details': 'maintenanceRunDetails',
            'db_servers_history_details': 'dbServersHistoryDetails',
            'current_execution_window': 'currentExecutionWindow',
            'granular_maintenance_history': 'granularMaintenanceHistory'
        }

        self._id = None
        self._maintenance_run_details = None
        self._db_servers_history_details = None
        self._current_execution_window = None
        self._granular_maintenance_history = None

    @property
    def id(self):
        """
        **[Required]** Gets the id of this MaintenanceRunHistorySummary.
        The OCID of the maintenance run history.


        :return: The id of this MaintenanceRunHistorySummary.
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """
        Sets the id of this MaintenanceRunHistorySummary.
        The OCID of the maintenance run history.


        :param id: The id of this MaintenanceRunHistorySummary.
        :type: str
        """
        self._id = id

    @property
    def maintenance_run_details(self):
        """
        Gets the maintenance_run_details of this MaintenanceRunHistorySummary.

        :return: The maintenance_run_details of this MaintenanceRunHistorySummary.
        :rtype: oci.database.models.MaintenanceRunSummary
        """
        return self._maintenance_run_details

    @maintenance_run_details.setter
    def maintenance_run_details(self, maintenance_run_details):
        """
        Sets the maintenance_run_details of this MaintenanceRunHistorySummary.

        :param maintenance_run_details: The maintenance_run_details of this MaintenanceRunHistorySummary.
        :type: oci.database.models.MaintenanceRunSummary
        """
        self._maintenance_run_details = maintenance_run_details

    @property
    def db_servers_history_details(self):
        """
        Gets the db_servers_history_details of this MaintenanceRunHistorySummary.
        List of database server history details.


        :return: The db_servers_history_details of this MaintenanceRunHistorySummary.
        :rtype: list[oci.database.models.DbServerHistorySummary]
        """
        return self._db_servers_history_details

    @db_servers_history_details.setter
    def db_servers_history_details(self, db_servers_history_details):
        """
        Sets the db_servers_history_details of this MaintenanceRunHistorySummary.
        List of database server history details.


        :param db_servers_history_details: The db_servers_history_details of this MaintenanceRunHistorySummary.
        :type: list[oci.database.models.DbServerHistorySummary]
        """
        self._db_servers_history_details = db_servers_history_details

    @property
    def current_execution_window(self):
        """
        Gets the current_execution_window of this MaintenanceRunHistorySummary.
        The OCID of the current execution window.


        :return: The current_execution_window of this MaintenanceRunHistorySummary.
        :rtype: str
        """
        return self._current_execution_window

    @current_execution_window.setter
    def current_execution_window(self, current_execution_window):
        """
        Sets the current_execution_window of this MaintenanceRunHistorySummary.
        The OCID of the current execution window.


        :param current_execution_window: The current_execution_window of this MaintenanceRunHistorySummary.
        :type: str
        """
        self._current_execution_window = current_execution_window

    @property
    def granular_maintenance_history(self):
        """
        Gets the granular_maintenance_history of this MaintenanceRunHistorySummary.
        The list of granular maintenance history details.


        :return: The granular_maintenance_history of this MaintenanceRunHistorySummary.
        :rtype: list[oci.database.models.GranularMaintenanceHistoryDetails]
        """
        return self._granular_maintenance_history

    @granular_maintenance_history.setter
    def granular_maintenance_history(self, granular_maintenance_history):
        """
        Sets the granular_maintenance_history of this MaintenanceRunHistorySummary.
        The list of granular maintenance history details.


        :param granular_maintenance_history: The granular_maintenance_history of this MaintenanceRunHistorySummary.
        :type: list[oci.database.models.GranularMaintenanceHistoryDetails]
        """
        self._granular_maintenance_history = granular_maintenance_history

    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