# coding: utf-8
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.


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 DedicatedVmHostInstanceShapeSummary(object):
    """
    The shape used to launch instances associated with the dedicated VM host.
    """

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

        :param availability_domain:
            The value to assign to the availability_domain property of this DedicatedVmHostInstanceShapeSummary.
        :type availability_domain: str

        :param instance_shape_name:
            The value to assign to the instance_shape_name property of this DedicatedVmHostInstanceShapeSummary.
        :type instance_shape_name: str

        """
        self.swagger_types = {
            'availability_domain': 'str',
            'instance_shape_name': 'str'
        }

        self.attribute_map = {
            'availability_domain': 'availabilityDomain',
            'instance_shape_name': 'instanceShapeName'
        }

        self._availability_domain = None
        self._instance_shape_name = None

    @property
    def availability_domain(self):
        """
        Gets the availability_domain of this DedicatedVmHostInstanceShapeSummary.
        The shape's availability domain.


        :return: The availability_domain of this DedicatedVmHostInstanceShapeSummary.
        :rtype: str
        """
        return self._availability_domain

    @availability_domain.setter
    def availability_domain(self, availability_domain):
        """
        Sets the availability_domain of this DedicatedVmHostInstanceShapeSummary.
        The shape's availability domain.


        :param availability_domain: The availability_domain of this DedicatedVmHostInstanceShapeSummary.
        :type: str
        """
        self._availability_domain = availability_domain

    @property
    def instance_shape_name(self):
        """
        **[Required]** Gets the instance_shape_name of this DedicatedVmHostInstanceShapeSummary.
        The name of the virtual machine instance shapes that can be launched on a dedicated VM host.


        :return: The instance_shape_name of this DedicatedVmHostInstanceShapeSummary.
        :rtype: str
        """
        return self._instance_shape_name

    @instance_shape_name.setter
    def instance_shape_name(self, instance_shape_name):
        """
        Sets the instance_shape_name of this DedicatedVmHostInstanceShapeSummary.
        The name of the virtual machine instance shapes that can be launched on a dedicated VM host.


        :param instance_shape_name: The instance_shape_name of this DedicatedVmHostInstanceShapeSummary.
        :type: str
        """
        self._instance_shape_name = instance_shape_name

    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
