# coding: utf-8

"""
    Dokumenty CITES

    API pro datový řadič dokumentů CITES ### Verze 1.0.0    - public   - developers  ### Verze 1.1.0    - admins   - additional   - statement   - attachments   - registration_cards   - permit   # noqa: E501

    OpenAPI spec version: 1.1.0
    Contact: info@sysnet.cz
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import pprint
import re  # noqa: F401

import six

class DocumentAuthenticationType(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_code': 'GovernmentActionCodeType',
        'actual_date_time': 'datetime',
        'id': 'list[IDType]',
        'statement': 'TextType',
        'provider_trade_party': 'TradePartyType',
        'issue_logistics_location': 'LogisticsLocationType'
    }

    attribute_map = {
        'type_code': 'typeCode',
        'actual_date_time': 'actualDateTime',
        'id': 'id',
        'statement': 'statement',
        'provider_trade_party': 'providerTradeParty',
        'issue_logistics_location': 'issueLogisticsLocation'
    }

    def __init__(self, type_code=None, actual_date_time=None, id=None, statement=None, provider_trade_party=None, issue_logistics_location=None):  # noqa: E501
        """DocumentAuthenticationType - a model defined in Swagger"""  # noqa: E501
        self._type_code = None
        self._actual_date_time = None
        self._id = None
        self._statement = None
        self._provider_trade_party = None
        self._issue_logistics_location = None
        self.discriminator = None
        if type_code is not None:
            self.type_code = type_code
        if actual_date_time is not None:
            self.actual_date_time = actual_date_time
        if id is not None:
            self.id = id
        if statement is not None:
            self.statement = statement
        if provider_trade_party is not None:
            self.provider_trade_party = provider_trade_party
        if issue_logistics_location is not None:
            self.issue_logistics_location = issue_logistics_location

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


        :return: The type_code of this DocumentAuthenticationType.  # noqa: E501
        :rtype: GovernmentActionCodeType
        """
        return self._type_code

    @type_code.setter
    def type_code(self, type_code):
        """Sets the type_code of this DocumentAuthenticationType.


        :param type_code: The type_code of this DocumentAuthenticationType.  # noqa: E501
        :type: GovernmentActionCodeType
        """

        self._type_code = type_code

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


        :return: The actual_date_time of this DocumentAuthenticationType.  # noqa: E501
        :rtype: datetime
        """
        return self._actual_date_time

    @actual_date_time.setter
    def actual_date_time(self, actual_date_time):
        """Sets the actual_date_time of this DocumentAuthenticationType.


        :param actual_date_time: The actual_date_time of this DocumentAuthenticationType.  # noqa: E501
        :type: datetime
        """

        self._actual_date_time = actual_date_time

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


        :return: The id of this DocumentAuthenticationType.  # noqa: E501
        :rtype: list[IDType]
        """
        return self._id

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


        :param id: The id of this DocumentAuthenticationType.  # noqa: E501
        :type: list[IDType]
        """

        self._id = id

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


        :return: The statement of this DocumentAuthenticationType.  # noqa: E501
        :rtype: TextType
        """
        return self._statement

    @statement.setter
    def statement(self, statement):
        """Sets the statement of this DocumentAuthenticationType.


        :param statement: The statement of this DocumentAuthenticationType.  # noqa: E501
        :type: TextType
        """

        self._statement = statement

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


        :return: The provider_trade_party of this DocumentAuthenticationType.  # noqa: E501
        :rtype: TradePartyType
        """
        return self._provider_trade_party

    @provider_trade_party.setter
    def provider_trade_party(self, provider_trade_party):
        """Sets the provider_trade_party of this DocumentAuthenticationType.


        :param provider_trade_party: The provider_trade_party of this DocumentAuthenticationType.  # noqa: E501
        :type: TradePartyType
        """

        self._provider_trade_party = provider_trade_party

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


        :return: The issue_logistics_location of this DocumentAuthenticationType.  # noqa: E501
        :rtype: LogisticsLocationType
        """
        return self._issue_logistics_location

    @issue_logistics_location.setter
    def issue_logistics_location(self, issue_logistics_location):
        """Sets the issue_logistics_location of this DocumentAuthenticationType.


        :param issue_logistics_location: The issue_logistics_location of this DocumentAuthenticationType.  # noqa: E501
        :type: LogisticsLocationType
        """

        self._issue_logistics_location = issue_logistics_location

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

        return self.__dict__ == other.__dict__

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