# 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.model200_ok_single import Model200OkSingle  # noqa: F401,E501
from swagger_server.models.projects_self import ProjectsSelf  # noqa: F401,E501
from swagger_server import util


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

    Do not edit the class manually.
    """
    def __init__(self, data: List[ProjectsSelf]=None, size: int=1, status: int=200, type: str='projects_self'):  # noqa: E501
        """InlineResponse2005 - a model defined in Swagger

        :param data: The data of this InlineResponse2005.  # noqa: E501
        :type data: List[ProjectsSelf]
        :param size: The size of this InlineResponse2005.  # noqa: E501
        :type size: int
        :param status: The status of this InlineResponse2005.  # noqa: E501
        :type status: int
        :param type: The type of this InlineResponse2005.  # noqa: E501
        :type type: str
        """
        self.swagger_types = {
            'data': List[ProjectsSelf],
            'size': int,
            'status': int,
            'type': str
        }

        self.attribute_map = {
            'data': 'data',
            'size': 'size',
            'status': 'status',
            'type': 'type'
        }
        self._data = data
        self._size = size
        self._status = status
        self._type = type

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

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

    @property
    def data(self) -> List[ProjectsSelf]:
        """Gets the data of this InlineResponse2005.


        :return: The data of this InlineResponse2005.
        :rtype: List[ProjectsSelf]
        """
        return self._data

    @data.setter
    def data(self, data: List[ProjectsSelf]):
        """Sets the data of this InlineResponse2005.


        :param data: The data of this InlineResponse2005.
        :type data: List[ProjectsSelf]
        """

        self._data = data

    @property
    def size(self) -> int:
        """Gets the size of this InlineResponse2005.


        :return: The size of this InlineResponse2005.
        :rtype: int
        """
        return self._size

    @size.setter
    def size(self, size: int):
        """Sets the size of this InlineResponse2005.


        :param size: The size of this InlineResponse2005.
        :type size: int
        """

        self._size = size

    @property
    def status(self) -> int:
        """Gets the status of this InlineResponse2005.


        :return: The status of this InlineResponse2005.
        :rtype: int
        """
        return self._status

    @status.setter
    def status(self, status: int):
        """Sets the status of this InlineResponse2005.


        :param status: The status of this InlineResponse2005.
        :type status: int
        """

        self._status = status

    @property
    def type(self) -> str:
        """Gets the type of this InlineResponse2005.


        :return: The type of this InlineResponse2005.
        :rtype: str
        """
        return self._type

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


        :param type: The type of this InlineResponse2005.
        :type type: str
        """

        self._type = type
