# 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 ScaleInfrastructureStorageDetails(object):
    """
    The scale option to be selected for the infrastructure.
    """

    #: A constant which can be used with the ssd_configuration_requested property of a ScaleInfrastructureStorageDetails.
    #: This constant has a value of "SIX_SSDS"
    SSD_CONFIGURATION_REQUESTED_SIX_SSDS = "SIX_SSDS"

    #: A constant which can be used with the ssd_configuration_requested property of a ScaleInfrastructureStorageDetails.
    #: This constant has a value of "TWELVE_SSDS"
    SSD_CONFIGURATION_REQUESTED_TWELVE_SSDS = "TWELVE_SSDS"

    #: A constant which can be used with the ssd_configuration_requested property of a ScaleInfrastructureStorageDetails.
    #: This constant has a value of "EIGHTEEN_SSDS"
    SSD_CONFIGURATION_REQUESTED_EIGHTEEN_SSDS = "EIGHTEEN_SSDS"

    #: A constant which can be used with the ssd_configuration_requested property of a ScaleInfrastructureStorageDetails.
    #: This constant has a value of "TWENTY_FOUR_SSDS"
    SSD_CONFIGURATION_REQUESTED_TWENTY_FOUR_SSDS = "TWENTY_FOUR_SSDS"

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

        :param ssd_configuration_requested:
            The value to assign to the ssd_configuration_requested property of this ScaleInfrastructureStorageDetails.
            Allowed values for this property are: "SIX_SSDS", "TWELVE_SSDS", "EIGHTEEN_SSDS", "TWENTY_FOUR_SSDS"
        :type ssd_configuration_requested: str

        """
        self.swagger_types = {
            'ssd_configuration_requested': 'str'
        }
        self.attribute_map = {
            'ssd_configuration_requested': 'ssdConfigurationRequested'
        }
        self._ssd_configuration_requested = None

    @property
    def ssd_configuration_requested(self):
        """
        Gets the ssd_configuration_requested of this ScaleInfrastructureStorageDetails.
        The scale option to be selected for the infrastructure.

        Allowed values for this property are: "SIX_SSDS", "TWELVE_SSDS", "EIGHTEEN_SSDS", "TWENTY_FOUR_SSDS"


        :return: The ssd_configuration_requested of this ScaleInfrastructureStorageDetails.
        :rtype: str
        """
        return self._ssd_configuration_requested

    @ssd_configuration_requested.setter
    def ssd_configuration_requested(self, ssd_configuration_requested):
        """
        Sets the ssd_configuration_requested of this ScaleInfrastructureStorageDetails.
        The scale option to be selected for the infrastructure.


        :param ssd_configuration_requested: The ssd_configuration_requested of this ScaleInfrastructureStorageDetails.
        :type: str
        """
        allowed_values = ["SIX_SSDS", "TWELVE_SSDS", "EIGHTEEN_SSDS", "TWENTY_FOUR_SSDS"]
        if not value_allowed_none_or_none_sentinel(ssd_configuration_requested, allowed_values):
            raise ValueError(
                f"Invalid value for `ssd_configuration_requested`, must be None or one of {allowed_values}"
            )
        self._ssd_configuration_requested = ssd_configuration_requested

    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
