# coding: utf-8

"""
    Command Center operations

    Command Center operations  # noqa: E501

    OpenAPI spec version: 23.03-sp1
    Contact: support@zadarastorage.com
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


import pprint
import re  # noqa: F401

import six

from CommandCenter.configuration import Configuration


class ChangeEngineTypeZios(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'when': 'str',
        'app_engine_type': 'str',
        'engine_type': 'str',
        'image': 'str'
    }

    attribute_map = {
        'when': 'when',
        'app_engine_type': 'app_engine_type',
        'engine_type': 'engine_type',
        'image': 'image'
    }

    def __init__(self, when=None, app_engine_type=None, engine_type=None, image=None, _configuration=None):  # noqa: E501
        """ChangeEngineTypeZios - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._when = None
        self._app_engine_type = None
        self._engine_type = None
        self._image = None
        self.discriminator = None

        if when is not None:
            self.when = when
        if app_engine_type is not None:
            self.app_engine_type = app_engine_type
        if engine_type is not None:
            self.engine_type = engine_type
        if image is not None:
            self.image = image

    @property
    def when(self):
        """Gets the when of this ChangeEngineTypeZios.  # noqa: E501


        :return: The when of this ChangeEngineTypeZios.  # noqa: E501
        :rtype: str
        """
        return self._when

    @when.setter
    def when(self, when):
        """Sets the when of this ChangeEngineTypeZios.


        :param when: The when of this ChangeEngineTypeZios.  # noqa: E501
        :type: str
        """

        self._when = when

    @property
    def app_engine_type(self):
        """Gets the app_engine_type of this ChangeEngineTypeZios.  # noqa: E501


        :return: The app_engine_type of this ChangeEngineTypeZios.  # noqa: E501
        :rtype: str
        """
        return self._app_engine_type

    @app_engine_type.setter
    def app_engine_type(self, app_engine_type):
        """Sets the app_engine_type of this ChangeEngineTypeZios.


        :param app_engine_type: The app_engine_type of this ChangeEngineTypeZios.  # noqa: E501
        :type: str
        """

        self._app_engine_type = app_engine_type

    @property
    def engine_type(self):
        """Gets the engine_type of this ChangeEngineTypeZios.  # noqa: E501


        :return: The engine_type of this ChangeEngineTypeZios.  # noqa: E501
        :rtype: str
        """
        return self._engine_type

    @engine_type.setter
    def engine_type(self, engine_type):
        """Sets the engine_type of this ChangeEngineTypeZios.


        :param engine_type: The engine_type of this ChangeEngineTypeZios.  # noqa: E501
        :type: str
        """

        self._engine_type = engine_type

    @property
    def image(self):
        """Gets the image of this ChangeEngineTypeZios.  # noqa: E501


        :return: The image of this ChangeEngineTypeZios.  # noqa: E501
        :rtype: str
        """
        return self._image

    @image.setter
    def image(self, image):
        """Sets the image of this ChangeEngineTypeZios.


        :param image: The image of this ChangeEngineTypeZios.  # noqa: E501
        :type: str
        """

        self._image = image

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(ChangeEngineTypeZios, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, ChangeEngineTypeZios):
            return False

        return self.to_dict() == other.to_dict()

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        if not isinstance(other, ChangeEngineTypeZios):
            return True

        return self.to_dict() != other.to_dict()
