HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/database_migration/models/advisor_report_location_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: 20230518


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 AdvisorReportLocationDetails(object):
    """
    Details to access Premigration Advisor report.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new AdvisorReportLocationDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param object_storage_details:
            The value to assign to the object_storage_details property of this AdvisorReportLocationDetails.
        :type object_storage_details: oci.database_migration.models.AdvisorReportBucketDetails

        :param location_in_source:
            The value to assign to the location_in_source property of this AdvisorReportLocationDetails.
        :type location_in_source: str

        """
        self.swagger_types = {
            'object_storage_details': 'AdvisorReportBucketDetails',
            'location_in_source': 'str'
        }

        self.attribute_map = {
            'object_storage_details': 'objectStorageDetails',
            'location_in_source': 'locationInSource'
        }

        self._object_storage_details = None
        self._location_in_source = None

    @property
    def object_storage_details(self):
        """
        Gets the object_storage_details of this AdvisorReportLocationDetails.

        :return: The object_storage_details of this AdvisorReportLocationDetails.
        :rtype: oci.database_migration.models.AdvisorReportBucketDetails
        """
        return self._object_storage_details

    @object_storage_details.setter
    def object_storage_details(self, object_storage_details):
        """
        Sets the object_storage_details of this AdvisorReportLocationDetails.

        :param object_storage_details: The object_storage_details of this AdvisorReportLocationDetails.
        :type: oci.database_migration.models.AdvisorReportBucketDetails
        """
        self._object_storage_details = object_storage_details

    @property
    def location_in_source(self):
        """
        Gets the location_in_source of this AdvisorReportLocationDetails.
        File system path on the Source Database host where the Premigration Advisor report can be accessed.


        :return: The location_in_source of this AdvisorReportLocationDetails.
        :rtype: str
        """
        return self._location_in_source

    @location_in_source.setter
    def location_in_source(self, location_in_source):
        """
        Sets the location_in_source of this AdvisorReportLocationDetails.
        File system path on the Source Database host where the Premigration Advisor report can be accessed.


        :param location_in_source: The location_in_source of this AdvisorReportLocationDetails.
        :type: str
        """
        self._location_in_source = location_in_source

    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