# coding: utf-8

"""
    https://api.partner.microsoft.com/v1.0/ingestion

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

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

import pprint
import re  # noqa: F401

import six

class MicrosoftIngestionApiModelsSubmissionsWorkflowDetail(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 = {
        'type': 'str',
        'state': 'str',
        'target_environment': 'str',
        'workflow_steps': 'list[MicrosoftIngestionApiModelsSubmissionsWorkflowStepDetail]',
        'start_date_time_in_utc': 'datetime',
        'complete_date_time_in_utc': 'datetime'
    }

    attribute_map = {
        'type': 'type',
        'state': 'state',
        'target_environment': 'targetEnvironment',
        'workflow_steps': 'workflowSteps',
        'start_date_time_in_utc': 'startDateTimeInUtc',
        'complete_date_time_in_utc': 'completeDateTimeInUtc'
    }

    def __init__(self, type=None, state=None, target_environment=None, workflow_steps=None, start_date_time_in_utc=None, complete_date_time_in_utc=None):  # noqa: E501
        """MicrosoftIngestionApiModelsSubmissionsWorkflowDetail - a model defined in Swagger"""  # noqa: E501
        self._type = None
        self._state = None
        self._target_environment = None
        self._workflow_steps = None
        self._start_date_time_in_utc = None
        self._complete_date_time_in_utc = None
        self.discriminator = None
        if type is not None:
            self.type = type
        if state is not None:
            self.state = state
        if target_environment is not None:
            self.target_environment = target_environment
        if workflow_steps is not None:
            self.workflow_steps = workflow_steps
        if start_date_time_in_utc is not None:
            self.start_date_time_in_utc = start_date_time_in_utc
        if complete_date_time_in_utc is not None:
            self.complete_date_time_in_utc = complete_date_time_in_utc

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


        :return: The type of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :rtype: str
        """
        return self._type

    @type.setter
    def type(self, type):
        """Sets the type of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.


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

        self._type = type

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


        :return: The state of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :rtype: str
        """
        return self._state

    @state.setter
    def state(self, state):
        """Sets the state of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.


        :param state: The state of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :type: str
        """

        self._state = state

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


        :return: The target_environment of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :rtype: str
        """
        return self._target_environment

    @target_environment.setter
    def target_environment(self, target_environment):
        """Sets the target_environment of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.


        :param target_environment: The target_environment of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :type: str
        """

        self._target_environment = target_environment

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


        :return: The workflow_steps of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :rtype: list[MicrosoftIngestionApiModelsSubmissionsWorkflowStepDetail]
        """
        return self._workflow_steps

    @workflow_steps.setter
    def workflow_steps(self, workflow_steps):
        """Sets the workflow_steps of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.


        :param workflow_steps: The workflow_steps of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :type: list[MicrosoftIngestionApiModelsSubmissionsWorkflowStepDetail]
        """

        self._workflow_steps = workflow_steps

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


        :return: The start_date_time_in_utc of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :rtype: datetime
        """
        return self._start_date_time_in_utc

    @start_date_time_in_utc.setter
    def start_date_time_in_utc(self, start_date_time_in_utc):
        """Sets the start_date_time_in_utc of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.


        :param start_date_time_in_utc: The start_date_time_in_utc of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :type: datetime
        """

        self._start_date_time_in_utc = start_date_time_in_utc

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


        :return: The complete_date_time_in_utc of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :rtype: datetime
        """
        return self._complete_date_time_in_utc

    @complete_date_time_in_utc.setter
    def complete_date_time_in_utc(self, complete_date_time_in_utc):
        """Sets the complete_date_time_in_utc of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.


        :param complete_date_time_in_utc: The complete_date_time_in_utc of this MicrosoftIngestionApiModelsSubmissionsWorkflowDetail.  # noqa: E501
        :type: datetime
        """

        self._complete_date_time_in_utc = complete_date_time_in_utc

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

        return self.__dict__ == other.__dict__

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