# coding: utf-8

"""
    Digitick REST API

    The Digitick REST API is a set of methods giving access to catalog, user and cart management.

    OpenAPI spec version: v1.0
    Contact: <EMAIL>
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


from pprint import pformat
from six import iteritems
import re


class Entry(object):
    """
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    """
    def __init__(self, id=None, seat_id=None, price_label=None, deleted=None):
        """
        Entry - a model defined in Swagger

        :param dict swaggerTypes: The key is attribute name
                                  and the value is attribute type.
        :param dict attributeMap: The key is attribute name
                                  and the value is json key in definition.
        """
        self.swagger_types = {
            'id': 'int',
            'seat_id': 'int',
            'price_label': 'str',
            'deleted': 'bool'
        }

        self.attribute_map = {
            'id': 'id',
            'seat_id': 'seatId',
            'price_label': 'priceLabel',
            'deleted': 'deleted'
        }

        self._id = id
        self._seat_id = seat_id
        self._price_label = price_label
        self._deleted = deleted

    @property
    def id(self):
        """
        Gets the id of this Entry.

        :return: The id of this Entry.
        :rtype: int
        """
        return self._id

    @id.setter
    def id(self, id):
        """
        Sets the id of this Entry.

        :param id: The id of this Entry.
        :type: int
        """

        self._id = id

    @property
    def seat_id(self):
        """
        Gets the seat_id of this Entry.

        :return: The seat_id of this Entry.
        :rtype: int
        """
        return self._seat_id

    @seat_id.setter
    def seat_id(self, seat_id):
        """
        Sets the seat_id of this Entry.

        :param seat_id: The seat_id of this Entry.
        :type: int
        """

        self._seat_id = seat_id

    @property
    def price_label(self):
        """
        Gets the price_label of this Entry.

        :return: The price_label of this Entry.
        :rtype: str
        """
        return self._price_label

    @price_label.setter
    def price_label(self, price_label):
        """
        Sets the price_label of this Entry.

        :param price_label: The price_label of this Entry.
        :type: str
        """

        self._price_label = price_label

    @property
    def deleted(self):
        """
        Gets the deleted of this Entry.

        :return: The deleted of this Entry.
        :rtype: bool
        """
        return self._deleted

    @deleted.setter
    def deleted(self, deleted):
        """
        Sets the deleted of this Entry.

        :param deleted: The deleted of this Entry.
        :type: bool
        """

        self._deleted = deleted

    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, Entry):
            return False

        return self.__dict__ == other.__dict__

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

# coding: utf-8

"""
    Digitick REST API

    The Digitick REST API is a set of methods giving access to catalog, user and cart management.

    OpenAPI spec version: v1.0
    Contact: <EMAIL>
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


from pprint import pformat
from six import iteritems
import re


class Entry(object):
    """
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    """
    def __init__(self, id=None, seat_id=None, price_label=None, deleted=None):
        """
        Entry - a model defined in Swagger

        :param dict swaggerTypes: The key is attribute name
                                  and the value is attribute type.
        :param dict attributeMap: The key is attribute name
                                  and the value is json key in definition.
        """
        self.swagger_types = {
            'id': 'int',
            'seat_id': 'int',
            'price_label': 'str',
            'deleted': 'bool'
        }

        self.attribute_map = {
            'id': 'id',
            'seat_id': 'seatId',
            'price_label': 'priceLabel',
            'deleted': 'deleted'
        }

        self._id = id
        self._seat_id = seat_id
        self._price_label = price_label
        self._deleted = deleted

    @property
    def id(self):
        """
        Gets the id of this Entry.

        :return: The id of this Entry.
        :rtype: int
        """
        return self._id

    @id.setter
    def id(self, id):
        """
        Sets the id of this Entry.

        :param id: The id of this Entry.
        :type: int
        """

        self._id = id

    @property
    def seat_id(self):
        """
        Gets the seat_id of this Entry.

        :return: The seat_id of this Entry.
        :rtype: int
        """
        return self._seat_id

    @seat_id.setter
    def seat_id(self, seat_id):
        """
        Sets the seat_id of this Entry.

        :param seat_id: The seat_id of this Entry.
        :type: int
        """

        self._seat_id = seat_id

    @property
    def price_label(self):
        """
        Gets the price_label of this Entry.

        :return: The price_label of this Entry.
        :rtype: str
        """
        return self._price_label

    @price_label.setter
    def price_label(self, price_label):
        """
        Sets the price_label of this Entry.

        :param price_label: The price_label of this Entry.
        :type: str
        """

        self._price_label = price_label

    @property
    def deleted(self):
        """
        Gets the deleted of this Entry.

        :return: The deleted of this Entry.
        :rtype: bool
        """
        return self._deleted

    @deleted.setter
    def deleted(self, deleted):
        """
        Sets the deleted of this Entry.

        :param deleted: The deleted of this Entry.
        :type: bool
        """

        self._deleted = deleted

    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, Entry):
            return False

        return self.__dict__ == other.__dict__

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

# coding: utf-8 Digitick REST API      The Digitick REST API is a set of methods giving access to catalog, user and cart management.      OpenAPI spec version: v1.0     Contact: <EMAIL>     Generated by: https://github.com/swagger-api/swagger-codegen.git NOTE: This class is auto generated by the swagger code generator program.     Do not edit the class manually. Entry - a model defined in Swagger          :param dict swaggerTypes: The key is attribute name                                   and the value is attribute type.         :param dict attributeMap: The key is attribute name                                   and the value is json key in definition. Gets the id of this Entry.          :return: The id of this Entry.         :rtype: int Sets the id of this Entry.          :param id: The id of this Entry.         :type: int Gets the seat_id of this Entry.          :return: The seat_id of this Entry.         :rtype: int Sets the seat_id of this Entry.          :param seat_id: The seat_id of this Entry.         :type: int Gets the price_label of this Entry.          :return: The price_label of this Entry.         :rtype: str Sets the price_label of this Entry.          :param price_label: The price_label of this Entry.         :type: str Gets the deleted of this Entry.          :return: The deleted of this Entry.         :rtype: bool Sets the deleted of this Entry.          :param deleted: The deleted of this Entry.         :type: bool Returns the model properties as a dict Returns the string representation of the model For `print` and `pprint` Returns true if both objects are equal Returns true if both objects are not equal