# coding: utf-8

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

from typing import List, Dict  # noqa: F401

from nfldata.models.base_model_ import Model
from nfldata import util


class Base(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    def __init__(self, id=None):  # noqa: E501
        """Base - a model defined in OpenAPI

        :param id: The id of this Base.  # noqa: E501
        :type id: str
        """
        self.openapi_types = {
            'id': str
        }

        self.attribute_map = {
            'id': 'id'
        }

        self._id = id

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

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

    @property
    def id(self):
        """Gets the id of this Base.

        A UUID. This is referred to as the id of any object's property descriptions in the model. It is intended to be unique.  # noqa: E501

        :return: The id of this Base.
        :rtype: str
        """
        return self._id

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

        A UUID. This is referred to as the id of any object's property descriptions in the model. It is intended to be unique.  # noqa: E501

        :param id: The id of this Base.
        :type id: str
        """
        if id is None:
            raise ValueError("Invalid value for `id`, must not be `None`")  # noqa: E501

        self._id = id
