# coding: utf-8

"""
    Estuary API

    This is the API for the Estuary application.  # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class MainEstimateDealBody(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 = {
        'duration_blks': 'int',
        'replication': 'int',
        'size': 'int',
        'verified': 'bool'
    }

    attribute_map = {
        'duration_blks': 'durationBlks',
        'replication': 'replication',
        'size': 'size',
        'verified': 'verified'
    }

    def __init__(self, duration_blks=None, replication=None, size=None, verified=None):  # noqa: E501
        """MainEstimateDealBody - a model defined in Swagger"""  # noqa: E501
        self._duration_blks = None
        self._replication = None
        self._size = None
        self._verified = None
        self.discriminator = None
        if duration_blks is not None:
            self.duration_blks = duration_blks
        if replication is not None:
            self.replication = replication
        if size is not None:
            self.size = size
        if verified is not None:
            self.verified = verified

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


        :return: The duration_blks of this MainEstimateDealBody.  # noqa: E501
        :rtype: int
        """
        return self._duration_blks

    @duration_blks.setter
    def duration_blks(self, duration_blks):
        """Sets the duration_blks of this MainEstimateDealBody.


        :param duration_blks: The duration_blks of this MainEstimateDealBody.  # noqa: E501
        :type: int
        """

        self._duration_blks = duration_blks

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


        :return: The replication of this MainEstimateDealBody.  # noqa: E501
        :rtype: int
        """
        return self._replication

    @replication.setter
    def replication(self, replication):
        """Sets the replication of this MainEstimateDealBody.


        :param replication: The replication of this MainEstimateDealBody.  # noqa: E501
        :type: int
        """

        self._replication = replication

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


        :return: The size of this MainEstimateDealBody.  # noqa: E501
        :rtype: int
        """
        return self._size

    @size.setter
    def size(self, size):
        """Sets the size of this MainEstimateDealBody.


        :param size: The size of this MainEstimateDealBody.  # noqa: E501
        :type: int
        """

        self._size = size

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


        :return: The verified of this MainEstimateDealBody.  # noqa: E501
        :rtype: bool
        """
        return self._verified

    @verified.setter
    def verified(self, verified):
        """Sets the verified of this MainEstimateDealBody.


        :param verified: The verified of this MainEstimateDealBody.  # noqa: E501
        :type: bool
        """

        self._verified = verified

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

        return self.__dict__ == other.__dict__

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