# coding: utf-8

"""
    acep

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


class JobForRebootHostOutput(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 = {
        'create_at': 'int',
        'host_id': 'str',
        'job_id': 'str',
        'status': 'int',
        'update_at': 'int'
    }

    attribute_map = {
        'create_at': 'CreateAt',
        'host_id': 'HostId',
        'job_id': 'JobId',
        'status': 'Status',
        'update_at': 'UpdateAt'
    }

    def __init__(self, create_at=None, host_id=None, job_id=None, status=None, update_at=None, _configuration=None):  # noqa: E501
        """JobForRebootHostOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._create_at = None
        self._host_id = None
        self._job_id = None
        self._status = None
        self._update_at = None
        self.discriminator = None

        if create_at is not None:
            self.create_at = create_at
        if host_id is not None:
            self.host_id = host_id
        if job_id is not None:
            self.job_id = job_id
        if status is not None:
            self.status = status
        if update_at is not None:
            self.update_at = update_at

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


        :return: The create_at of this JobForRebootHostOutput.  # noqa: E501
        :rtype: int
        """
        return self._create_at

    @create_at.setter
    def create_at(self, create_at):
        """Sets the create_at of this JobForRebootHostOutput.


        :param create_at: The create_at of this JobForRebootHostOutput.  # noqa: E501
        :type: int
        """

        self._create_at = create_at

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


        :return: The host_id of this JobForRebootHostOutput.  # noqa: E501
        :rtype: str
        """
        return self._host_id

    @host_id.setter
    def host_id(self, host_id):
        """Sets the host_id of this JobForRebootHostOutput.


        :param host_id: The host_id of this JobForRebootHostOutput.  # noqa: E501
        :type: str
        """

        self._host_id = host_id

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


        :return: The job_id of this JobForRebootHostOutput.  # noqa: E501
        :rtype: str
        """
        return self._job_id

    @job_id.setter
    def job_id(self, job_id):
        """Sets the job_id of this JobForRebootHostOutput.


        :param job_id: The job_id of this JobForRebootHostOutput.  # noqa: E501
        :type: str
        """

        self._job_id = job_id

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


        :return: The status of this JobForRebootHostOutput.  # noqa: E501
        :rtype: int
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this JobForRebootHostOutput.


        :param status: The status of this JobForRebootHostOutput.  # noqa: E501
        :type: int
        """

        self._status = status

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


        :return: The update_at of this JobForRebootHostOutput.  # noqa: E501
        :rtype: int
        """
        return self._update_at

    @update_at.setter
    def update_at(self, update_at):
        """Sets the update_at of this JobForRebootHostOutput.


        :param update_at: The update_at of this JobForRebootHostOutput.  # noqa: E501
        :type: int
        """

        self._update_at = update_at

    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(JobForRebootHostOutput, 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, JobForRebootHostOutput):
            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, JobForRebootHostOutput):
            return True

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