# 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 KickerAllOf(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    def __init__(self, first_name=None, last_name=None):  # noqa: E501
        """KickerAllOf - a model defined in OpenAPI

        :param first_name: The first_name of this KickerAllOf.  # noqa: E501
        :type first_name: str
        :param last_name: The last_name of this KickerAllOf.  # noqa: E501
        :type last_name: str
        """
        self.openapi_types = {
            'first_name': str,
            'last_name': str
        }

        self.attribute_map = {
            'first_name': 'firstName',
            'last_name': 'lastName'
        }

        self._first_name = first_name
        self._last_name = last_name

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

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

    @property
    def first_name(self):
        """Gets the first_name of this KickerAllOf.

        The first name of the kicker  # noqa: E501

        :return: The first_name of this KickerAllOf.
        :rtype: str
        """
        return self._first_name

    @first_name.setter
    def first_name(self, first_name):
        """Sets the first_name of this KickerAllOf.

        The first name of the kicker  # noqa: E501

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

        self._first_name = first_name

    @property
    def last_name(self):
        """Gets the last_name of this KickerAllOf.

        The last name of the kicker  # noqa: E501

        :return: The last_name of this KickerAllOf.
        :rtype: str
        """
        return self._last_name

    @last_name.setter
    def last_name(self, last_name):
        """Sets the last_name of this KickerAllOf.

        The last name of the kicker  # noqa: E501

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

        self._last_name = last_name
