# coding: utf-8
# Copyright (c) 2016, 2026, 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: 20220919


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 CostToMigrate(object):
    """
    Summary of costs to migrate.
    """

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

        :param source_data_transfer_costs:
            The value to assign to the source_data_transfer_costs property of this CostToMigrate.
        :type source_data_transfer_costs: float

        :param oci_data_transfer_costs:
            The value to assign to the oci_data_transfer_costs property of this CostToMigrate.
        :type oci_data_transfer_costs: float

        :param currency_code:
            The value to assign to the currency_code property of this CostToMigrate.
        :type currency_code: str

        :param asset_count:
            The value to assign to the asset_count property of this CostToMigrate.
        :type asset_count: int

        """
        self.swagger_types = {
            'source_data_transfer_costs': 'float',
            'oci_data_transfer_costs': 'float',
            'currency_code': 'str',
            'asset_count': 'int'
        }
        self.attribute_map = {
            'source_data_transfer_costs': 'sourceDataTransferCosts',
            'oci_data_transfer_costs': 'ociDataTransferCosts',
            'currency_code': 'currencyCode',
            'asset_count': 'assetCount'
        }
        self._source_data_transfer_costs = None
        self._oci_data_transfer_costs = None
        self._currency_code = None
        self._asset_count = None

    @property
    def source_data_transfer_costs(self):
        """
        Gets the source_data_transfer_costs of this CostToMigrate.
        Data transfer costs from source cloud provider.


        :return: The source_data_transfer_costs of this CostToMigrate.
        :rtype: float
        """
        return self._source_data_transfer_costs

    @source_data_transfer_costs.setter
    def source_data_transfer_costs(self, source_data_transfer_costs):
        """
        Sets the source_data_transfer_costs of this CostToMigrate.
        Data transfer costs from source cloud provider.


        :param source_data_transfer_costs: The source_data_transfer_costs of this CostToMigrate.
        :type: float
        """
        self._source_data_transfer_costs = source_data_transfer_costs

    @property
    def oci_data_transfer_costs(self):
        """
        Gets the oci_data_transfer_costs of this CostToMigrate.
        Data transfer costs from OCI.


        :return: The oci_data_transfer_costs of this CostToMigrate.
        :rtype: float
        """
        return self._oci_data_transfer_costs

    @oci_data_transfer_costs.setter
    def oci_data_transfer_costs(self, oci_data_transfer_costs):
        """
        Sets the oci_data_transfer_costs of this CostToMigrate.
        Data transfer costs from OCI.


        :param oci_data_transfer_costs: The oci_data_transfer_costs of this CostToMigrate.
        :type: float
        """
        self._oci_data_transfer_costs = oci_data_transfer_costs

    @property
    def currency_code(self):
        """
        Gets the currency_code of this CostToMigrate.
        Currency code as defined by ISO-4217.


        :return: The currency_code of this CostToMigrate.
        :rtype: str
        """
        return self._currency_code

    @currency_code.setter
    def currency_code(self, currency_code):
        """
        Sets the currency_code of this CostToMigrate.
        Currency code as defined by ISO-4217.


        :param currency_code: The currency_code of this CostToMigrate.
        :type: str
        """
        self._currency_code = currency_code

    @property
    def asset_count(self):
        """
        Gets the asset_count of this CostToMigrate.
        Number of assets used in this calculation.


        :return: The asset_count of this CostToMigrate.
        :rtype: int
        """
        return self._asset_count

    @asset_count.setter
    def asset_count(self, asset_count):
        """
        Sets the asset_count of this CostToMigrate.
        Number of assets used in this calculation.


        :param asset_count: The asset_count of this CostToMigrate.
        :type: int
        """
        self._asset_count = asset_count

    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
