# coding: utf-8

"""
    mongodb

    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 EventForDescribePlannedEventsOutput(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 = {
        'cost_time_ms': 'int',
        'event_action': 'str',
        'event_id': 'str',
        'event_status': 'str',
        'event_type': 'str',
        'finish_time': 'str',
        'instance_id': 'str',
        'instance_name': 'str',
        'max_delay_time': 'str',
        'planned_begin_time': 'str',
        'planned_end_time': 'str',
        'resource_name': 'str'
    }

    attribute_map = {
        'cost_time_ms': 'CostTimeMs',
        'event_action': 'EventAction',
        'event_id': 'EventId',
        'event_status': 'EventStatus',
        'event_type': 'EventType',
        'finish_time': 'FinishTime',
        'instance_id': 'InstanceId',
        'instance_name': 'InstanceName',
        'max_delay_time': 'MaxDelayTime',
        'planned_begin_time': 'PlannedBeginTime',
        'planned_end_time': 'PlannedEndTime',
        'resource_name': 'ResourceName'
    }

    def __init__(self, cost_time_ms=None, event_action=None, event_id=None, event_status=None, event_type=None, finish_time=None, instance_id=None, instance_name=None, max_delay_time=None, planned_begin_time=None, planned_end_time=None, resource_name=None, _configuration=None):  # noqa: E501
        """EventForDescribePlannedEventsOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._cost_time_ms = None
        self._event_action = None
        self._event_id = None
        self._event_status = None
        self._event_type = None
        self._finish_time = None
        self._instance_id = None
        self._instance_name = None
        self._max_delay_time = None
        self._planned_begin_time = None
        self._planned_end_time = None
        self._resource_name = None
        self.discriminator = None

        if cost_time_ms is not None:
            self.cost_time_ms = cost_time_ms
        if event_action is not None:
            self.event_action = event_action
        if event_id is not None:
            self.event_id = event_id
        if event_status is not None:
            self.event_status = event_status
        if event_type is not None:
            self.event_type = event_type
        if finish_time is not None:
            self.finish_time = finish_time
        if instance_id is not None:
            self.instance_id = instance_id
        if instance_name is not None:
            self.instance_name = instance_name
        if max_delay_time is not None:
            self.max_delay_time = max_delay_time
        if planned_begin_time is not None:
            self.planned_begin_time = planned_begin_time
        if planned_end_time is not None:
            self.planned_end_time = planned_end_time
        if resource_name is not None:
            self.resource_name = resource_name

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


        :return: The cost_time_ms of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: int
        """
        return self._cost_time_ms

    @cost_time_ms.setter
    def cost_time_ms(self, cost_time_ms):
        """Sets the cost_time_ms of this EventForDescribePlannedEventsOutput.


        :param cost_time_ms: The cost_time_ms of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: int
        """

        self._cost_time_ms = cost_time_ms

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


        :return: The event_action of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._event_action

    @event_action.setter
    def event_action(self, event_action):
        """Sets the event_action of this EventForDescribePlannedEventsOutput.


        :param event_action: The event_action of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._event_action = event_action

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


        :return: The event_id of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._event_id

    @event_id.setter
    def event_id(self, event_id):
        """Sets the event_id of this EventForDescribePlannedEventsOutput.


        :param event_id: The event_id of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._event_id = event_id

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


        :return: The event_status of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._event_status

    @event_status.setter
    def event_status(self, event_status):
        """Sets the event_status of this EventForDescribePlannedEventsOutput.


        :param event_status: The event_status of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._event_status = event_status

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


        :return: The event_type of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._event_type

    @event_type.setter
    def event_type(self, event_type):
        """Sets the event_type of this EventForDescribePlannedEventsOutput.


        :param event_type: The event_type of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._event_type = event_type

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


        :return: The finish_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._finish_time

    @finish_time.setter
    def finish_time(self, finish_time):
        """Sets the finish_time of this EventForDescribePlannedEventsOutput.


        :param finish_time: The finish_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._finish_time = finish_time

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


        :return: The instance_id of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._instance_id

    @instance_id.setter
    def instance_id(self, instance_id):
        """Sets the instance_id of this EventForDescribePlannedEventsOutput.


        :param instance_id: The instance_id of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._instance_id = instance_id

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


        :return: The instance_name of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._instance_name

    @instance_name.setter
    def instance_name(self, instance_name):
        """Sets the instance_name of this EventForDescribePlannedEventsOutput.


        :param instance_name: The instance_name of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._instance_name = instance_name

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


        :return: The max_delay_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._max_delay_time

    @max_delay_time.setter
    def max_delay_time(self, max_delay_time):
        """Sets the max_delay_time of this EventForDescribePlannedEventsOutput.


        :param max_delay_time: The max_delay_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._max_delay_time = max_delay_time

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


        :return: The planned_begin_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._planned_begin_time

    @planned_begin_time.setter
    def planned_begin_time(self, planned_begin_time):
        """Sets the planned_begin_time of this EventForDescribePlannedEventsOutput.


        :param planned_begin_time: The planned_begin_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._planned_begin_time = planned_begin_time

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


        :return: The planned_end_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._planned_end_time

    @planned_end_time.setter
    def planned_end_time(self, planned_end_time):
        """Sets the planned_end_time of this EventForDescribePlannedEventsOutput.


        :param planned_end_time: The planned_end_time of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._planned_end_time = planned_end_time

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


        :return: The resource_name of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :rtype: str
        """
        return self._resource_name

    @resource_name.setter
    def resource_name(self, resource_name):
        """Sets the resource_name of this EventForDescribePlannedEventsOutput.


        :param resource_name: The resource_name of this EventForDescribePlannedEventsOutput.  # noqa: E501
        :type: str
        """

        self._resource_name = resource_name

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

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