# 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 SearchPredictionGetBody(Model):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    def __init__(self, prediction_id: str=None):  # noqa: E501
        """SearchPredictionGetBody - a model defined in Swagger

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

        self.attribute_map = {
            'prediction_id': 'prediction_id'
        }
        self._prediction_id = prediction_id

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

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

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


        :return: The prediction_id of this SearchPredictionGetBody.
        :rtype: str
        """
        return self._prediction_id

    @prediction_id.setter
    def prediction_id(self, prediction_id: str):
        """Sets the prediction_id of this SearchPredictionGetBody.


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

        self._prediction_id = prediction_id
