# 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: 20251101


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 AcfsCapacityDetails(object):
    """
    The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs.
    """

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

        :param total_space_in_gbs:
            The value to assign to the total_space_in_gbs property of this AcfsCapacityDetails.
        :type total_space_in_gbs: float

        :param free_space_in_gbs:
            The value to assign to the free_space_in_gbs property of this AcfsCapacityDetails.
        :type free_space_in_gbs: float

        """
        self.swagger_types = {
            'total_space_in_gbs': 'float',
            'free_space_in_gbs': 'float'
        }
        self.attribute_map = {
            'total_space_in_gbs': 'totalSpaceInGbs',
            'free_space_in_gbs': 'freeSpaceInGbs'
        }
        self._total_space_in_gbs = None
        self._free_space_in_gbs = None

    @property
    def total_space_in_gbs(self):
        """
        Gets the total_space_in_gbs of this AcfsCapacityDetails.
        The total amount of logical disk space available, in gigabytes (GB).


        :return: The total_space_in_gbs of this AcfsCapacityDetails.
        :rtype: float
        """
        return self._total_space_in_gbs

    @total_space_in_gbs.setter
    def total_space_in_gbs(self, total_space_in_gbs):
        """
        Sets the total_space_in_gbs of this AcfsCapacityDetails.
        The total amount of logical disk space available, in gigabytes (GB).


        :param total_space_in_gbs: The total_space_in_gbs of this AcfsCapacityDetails.
        :type: float
        """
        self._total_space_in_gbs = total_space_in_gbs

    @property
    def free_space_in_gbs(self):
        """
        Gets the free_space_in_gbs of this AcfsCapacityDetails.
        The total amount of logical disk space that is currently available for use, in gigabytes (GB).


        :return: The free_space_in_gbs of this AcfsCapacityDetails.
        :rtype: float
        """
        return self._free_space_in_gbs

    @free_space_in_gbs.setter
    def free_space_in_gbs(self, free_space_in_gbs):
        """
        Sets the free_space_in_gbs of this AcfsCapacityDetails.
        The total amount of logical disk space that is currently available for use, in gigabytes (GB).


        :param free_space_in_gbs: The free_space_in_gbs of this AcfsCapacityDetails.
        :type: float
        """
        self._free_space_in_gbs = free_space_in_gbs

    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
