<reponame>lazartomi/3d-beacons-client
# coding: utf-8

from __future__ import absolute_import
from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from swagger_server.models.base_model_ import Model
from swagger_server.models.result_structures import ResultStructures  # noqa: F401,E501
from swagger_server.models.result_uniprot_entries import ResultUniprotEntries  # noqa: F401,E501
from swagger_server import util


class Result(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    def __init__(self, uniprot_entries: List[ResultUniprotEntries]=None, structures: List[ResultStructures]=None):  # noqa: E501
        """Result - a model defined in Swagger

        :param uniprot_entries: The uniprot_entries of this Result.  # noqa: E501
        :type uniprot_entries: List[ResultUniprotEntries]
        :param structures: The structures of this Result.  # noqa: E501
        :type structures: List[ResultStructures]
        """
        self.swagger_types = {
            'uniprot_entries': List[ResultUniprotEntries],
            'structures': List[ResultStructures]
        }

        self.attribute_map = {
            'uniprot_entries': 'uniprot_entries',
            'structures': 'structures'
        }
        self._uniprot_entries = uniprot_entries
        self._structures = structures

    @classmethod
    def from_dict(cls, dikt) -> 'Result':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The result of this Result.  # noqa: E501
        :rtype: Result
        """
        return util.deserialize_model(dikt, cls)

    @property
    def uniprot_entries(self) -> List[ResultUniprotEntries]:
        """Gets the uniprot_entries of this Result.


        :return: The uniprot_entries of this Result.
        :rtype: List[ResultUniprotEntries]
        """
        return self._uniprot_entries

    @uniprot_entries.setter
    def uniprot_entries(self, uniprot_entries: List[ResultUniprotEntries]):
        """Sets the uniprot_entries of this Result.


        :param uniprot_entries: The uniprot_entries of this Result.
        :type uniprot_entries: List[ResultUniprotEntries]
        """

        self._uniprot_entries = uniprot_entries

    @property
    def structures(self) -> List[ResultStructures]:
        """Gets the structures of this Result.


        :return: The structures of this Result.
        :rtype: List[ResultStructures]
        """
        return self._structures

    @structures.setter
    def structures(self, structures: List[ResultStructures]):
        """Sets the structures of this Result.


        :param structures: The structures of this Result.
        :type structures: List[ResultStructures]
        """

        self._structures = structures
