# coding: utf-8

"""
    Seeq REST API

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

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

from pprint import pformat
from six import iteritems
import re


class RowEventInputV1(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 = {
        'capsule_event': 'CapsuleEventInputV1',
        'generic_event': 'GenericEventInputV1',
        'item_event': 'ItemEventInputV1'
    }

    attribute_map = {
        'capsule_event': 'capsuleEvent',
        'generic_event': 'genericEvent',
        'item_event': 'itemEvent'
    }

    def __init__(self, capsule_event=None, generic_event=None, item_event=None):
        """
        RowEventInputV1 - a model defined in Swagger
        """

        self._capsule_event = None
        self._generic_event = None
        self._item_event = None

        if capsule_event is not None:
          self.capsule_event = capsule_event
        if generic_event is not None:
          self.generic_event = generic_event
        if item_event is not None:
          self.item_event = item_event

    @property
    def capsule_event(self):
        """
        Gets the capsule_event of this RowEventInputV1.

        :return: The capsule_event of this RowEventInputV1.
        :rtype: CapsuleEventInputV1
        """
        return self._capsule_event

    @capsule_event.setter
    def capsule_event(self, capsule_event):
        """
        Sets the capsule_event of this RowEventInputV1.

        :param capsule_event: The capsule_event of this RowEventInputV1.
        :type: CapsuleEventInputV1
        """

        self._capsule_event = capsule_event

    @property
    def generic_event(self):
        """
        Gets the generic_event of this RowEventInputV1.

        :return: The generic_event of this RowEventInputV1.
        :rtype: GenericEventInputV1
        """
        return self._generic_event

    @generic_event.setter
    def generic_event(self, generic_event):
        """
        Sets the generic_event of this RowEventInputV1.

        :param generic_event: The generic_event of this RowEventInputV1.
        :type: GenericEventInputV1
        """

        self._generic_event = generic_event

    @property
    def item_event(self):
        """
        Gets the item_event of this RowEventInputV1.

        :return: The item_event of this RowEventInputV1.
        :rtype: ItemEventInputV1
        """
        return self._item_event

    @item_event.setter
    def item_event(self, item_event):
        """
        Sets the item_event of this RowEventInputV1.

        :param item_event: The item_event of this RowEventInputV1.
        :type: ItemEventInputV1
        """

        self._item_event = item_event

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

        for attr, _ in 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

        return result

    def to_str(self):
        """
        Returns the string representation of the model
        """
        return 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, RowEventInputV1):
            return False

        return self.__dict__ == other.__dict__

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