# 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 OlvmBios(object):
    """
    OLVM Bios
    """

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

        :param boot_menu:
            The value to assign to the boot_menu property of this OlvmBios.
        :type boot_menu: oci.cloud_migrations.models.OlvmBootMenu

        :param bios_type:
            The value to assign to the bios_type property of this OlvmBios.
        :type bios_type: oci.cloud_migrations.models.OlvmBiosType

        """
        self.swagger_types = {
            'boot_menu': 'OlvmBootMenu',
            'bios_type': 'OlvmBiosType'
        }
        self.attribute_map = {
            'boot_menu': 'bootMenu',
            'bios_type': 'biosType'
        }
        self._boot_menu = None
        self._bios_type = None

    @property
    def boot_menu(self):
        """
        Gets the boot_menu of this OlvmBios.

        :return: The boot_menu of this OlvmBios.
        :rtype: oci.cloud_migrations.models.OlvmBootMenu
        """
        return self._boot_menu

    @boot_menu.setter
    def boot_menu(self, boot_menu):
        """
        Sets the boot_menu of this OlvmBios.

        :param boot_menu: The boot_menu of this OlvmBios.
        :type: oci.cloud_migrations.models.OlvmBootMenu
        """
        self._boot_menu = boot_menu

    @property
    def bios_type(self):
        """
        Gets the bios_type of this OlvmBios.

        :return: The bios_type of this OlvmBios.
        :rtype: oci.cloud_migrations.models.OlvmBiosType
        """
        return self._bios_type

    @bios_type.setter
    def bios_type(self, bios_type):
        """
        Sets the bios_type of this OlvmBios.

        :param bios_type: The bios_type of this OlvmBios.
        :type: oci.cloud_migrations.models.OlvmBiosType
        """
        self._bios_type = bios_type

    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
