from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from chromestatus_openapi.models.base_model import Model
from chromestatus_openapi.models.summary_progress_step import SummaryProgressStep
from chromestatus_openapi.models.summary_suggestion import SummarySuggestion
from chromestatus_openapi import util

from chromestatus_openapi.models.summary_progress_step import SummaryProgressStep  # noqa: E501
from chromestatus_openapi.models.summary_suggestion import SummarySuggestion  # noqa: E501

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

    Do not edit the class manually.
    """

    def __init__(self, suggestion=None, progress_steps=None):  # noqa: E501
        """SummarySuggestionResponse - a model defined in OpenAPI

        :param suggestion: The suggestion of this SummarySuggestionResponse.  # noqa: E501
        :type suggestion: SummarySuggestion
        :param progress_steps: The progress_steps of this SummarySuggestionResponse.  # noqa: E501
        :type progress_steps: List[SummaryProgressStep]
        """
        self.openapi_types = {
            'suggestion': SummarySuggestion,
            'progress_steps': List[SummaryProgressStep]
        }

        self.attribute_map = {
            'suggestion': 'suggestion',
            'progress_steps': 'progress_steps'
        }

        self._suggestion = suggestion
        self._progress_steps = progress_steps

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

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

    @property
    def suggestion(self) -> SummarySuggestion:
        """Gets the suggestion of this SummarySuggestionResponse.


        :return: The suggestion of this SummarySuggestionResponse.
        :rtype: SummarySuggestion
        """
        return self._suggestion

    @suggestion.setter
    def suggestion(self, suggestion: SummarySuggestion):
        """Sets the suggestion of this SummarySuggestionResponse.


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

        self._suggestion = suggestion

    @property
    def progress_steps(self) -> List[SummaryProgressStep]:
        """Gets the progress_steps of this SummarySuggestionResponse.

        Ordered timeline of tool execution progress steps for this summary generation.  # noqa: E501

        :return: The progress_steps of this SummarySuggestionResponse.
        :rtype: List[SummaryProgressStep]
        """
        return self._progress_steps

    @progress_steps.setter
    def progress_steps(self, progress_steps: List[SummaryProgressStep]):
        """Sets the progress_steps of this SummarySuggestionResponse.

        Ordered timeline of tool execution progress steps for this summary generation.  # noqa: E501

        :param progress_steps: The progress_steps of this SummarySuggestionResponse.
        :type progress_steps: List[SummaryProgressStep]
        """
        if progress_steps is None:
            raise ValueError("Invalid value for `progress_steps`, must not be `None`")  # noqa: E501

        self._progress_steps = progress_steps
