# 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 import util


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

    Do not edit the class manually.
    """

    def __init__(self, ao_image: str=None):  # noqa: E501
        """AoImage - a model defined in Swagger

        :param ao_image: The ao_image of this AoImage.  # noqa: E501
        :type ao_image: str
        """
        self.swagger_types = {
            'ao_image': str
        }

        self.attribute_map = {
            'ao_image': 'aoImage'
        }

        self._ao_image = ao_image

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

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

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

        The image displayed to the learner upon login  # noqa: E501

        :return: The ao_image of this AoImage.
        :rtype: str
        """
        return self._ao_image

    @ao_image.setter
    def ao_image(self, ao_image: str):
        """Sets the ao_image of this AoImage.

        The image displayed to the learner upon login  # noqa: E501

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

        self._ao_image = ao_image
