# coding: utf-8

"""
    XTRF Home Portal API

    XTRF Home Portal API enables you to perform operations on Projects, Quotes, Customers, Vendors etc. as a XTRF Home Portal user. <br>The documentation is generated from OpenAPI specification 3.0 available <a href=\"/home-api/openapi.json\">here</a> <br>   The API client/consumer code may be easily generated in 60+ programming languages using an open source code generator available at the time of writing this documentation at <a href='https://editor.swagger.io/'>https://editor.swagger.io/</a> Thank you for using XTRF Application Programming interface (XTRF API). By using the API you agree to the terms below. If you disagree with any of these terms, XTRF does not grant you a license to use the XTRF API. XTRF reserves the right to update and change these terms from time to time without a prior notice of API users. You can always find the most recent version of these terms here:   # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class ProjectDatesDTO(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 = {
        'start_date': 'TimeDTO',
        'deadline': 'TimeDTO',
        'actual_start_date': 'TimeDTO',
        'actual_delivery_date': 'TimeDTO'
    }

    attribute_map = {
        'start_date': 'startDate',
        'deadline': 'deadline',
        'actual_start_date': 'actualStartDate',
        'actual_delivery_date': 'actualDeliveryDate'
    }

    def __init__(self, start_date=None, deadline=None, actual_start_date=None, actual_delivery_date=None):  # noqa: E501
        """ProjectDatesDTO - a model defined in Swagger"""  # noqa: E501
        self._start_date = None
        self._deadline = None
        self._actual_start_date = None
        self._actual_delivery_date = None
        self.discriminator = None
        if start_date is not None:
            self.start_date = start_date
        if deadline is not None:
            self.deadline = deadline
        if actual_start_date is not None:
            self.actual_start_date = actual_start_date
        if actual_delivery_date is not None:
            self.actual_delivery_date = actual_delivery_date

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


        :return: The start_date of this ProjectDatesDTO.  # noqa: E501
        :rtype: TimeDTO
        """
        return self._start_date

    @start_date.setter
    def start_date(self, start_date):
        """Sets the start_date of this ProjectDatesDTO.


        :param start_date: The start_date of this ProjectDatesDTO.  # noqa: E501
        :type: TimeDTO
        """

        self._start_date = start_date

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


        :return: The deadline of this ProjectDatesDTO.  # noqa: E501
        :rtype: TimeDTO
        """
        return self._deadline

    @deadline.setter
    def deadline(self, deadline):
        """Sets the deadline of this ProjectDatesDTO.


        :param deadline: The deadline of this ProjectDatesDTO.  # noqa: E501
        :type: TimeDTO
        """

        self._deadline = deadline

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


        :return: The actual_start_date of this ProjectDatesDTO.  # noqa: E501
        :rtype: TimeDTO
        """
        return self._actual_start_date

    @actual_start_date.setter
    def actual_start_date(self, actual_start_date):
        """Sets the actual_start_date of this ProjectDatesDTO.


        :param actual_start_date: The actual_start_date of this ProjectDatesDTO.  # noqa: E501
        :type: TimeDTO
        """

        self._actual_start_date = actual_start_date

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


        :return: The actual_delivery_date of this ProjectDatesDTO.  # noqa: E501
        :rtype: TimeDTO
        """
        return self._actual_delivery_date

    @actual_delivery_date.setter
    def actual_delivery_date(self, actual_delivery_date):
        """Sets the actual_delivery_date of this ProjectDatesDTO.


        :param actual_delivery_date: The actual_delivery_date of this ProjectDatesDTO.  # noqa: E501
        :type: TimeDTO
        """

        self._actual_delivery_date = actual_delivery_date

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

        return self.__dict__ == other.__dict__

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