# coding: utf-8

"""
    Dokumenty CITES

    API pro datový konektor dokumentů CITES   ### Verze 1.0.1   OrderType, CustomsPermitType, CustomsGoodsType, AttachmentType, AttachmentListType, LinkedType, DocumentAdditionalType additional a attachments  ### Verze 1.1.0 - holder_history - applicant  - stanoviska - evidenční karta (DocumentStatement*Type, DocumentRegistrationCardType)) - práce s permity v různých formátech   # 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 CountryIDType(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 = {
        'value': 'str',
        'scheme_id': 'str',
        'scheme_agency_id': 'str'
    }

    attribute_map = {
        'value': 'value',
        'scheme_id': 'schemeID',
        'scheme_agency_id': 'schemeAgencyID'
    }

    def __init__(self, value=None, scheme_id=None, scheme_agency_id=None):  # noqa: E501
        """CountryIDType - a model defined in Swagger"""  # noqa: E501
        self._value = None
        self._scheme_id = None
        self._scheme_agency_id = None
        self.discriminator = None
        if value is not None:
            self.value = value
        if scheme_id is not None:
            self.scheme_id = scheme_id
        if scheme_agency_id is not None:
            self.scheme_agency_id = scheme_agency_id

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


        :return: The value of this CountryIDType.  # noqa: E501
        :rtype: str
        """
        return self._value

    @value.setter
    def value(self, value):
        """Sets the value of this CountryIDType.


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

        self._value = value

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


        :return: The scheme_id of this CountryIDType.  # noqa: E501
        :rtype: str
        """
        return self._scheme_id

    @scheme_id.setter
    def scheme_id(self, scheme_id):
        """Sets the scheme_id of this CountryIDType.


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

        self._scheme_id = scheme_id

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


        :return: The scheme_agency_id of this CountryIDType.  # noqa: E501
        :rtype: str
        """
        return self._scheme_agency_id

    @scheme_agency_id.setter
    def scheme_agency_id(self, scheme_agency_id):
        """Sets the scheme_agency_id of this CountryIDType.


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

        self._scheme_agency_id = scheme_agency_id

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

        return self.__dict__ == other.__dict__

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