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


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

    Do not edit the class manually.
    """

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

        :param count: The count of this PendingSuggestionsCountResponse.  # noqa: E501
        :type count: int
        """
        self.openapi_types = {
            'count': int
        }

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

        self._count = count

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

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

    @property
    def count(self) -> int:
        """Gets the count of this PendingSuggestionsCountResponse.

        Total count of pending AI summary suggestions awaiting release notes editorial review.  # noqa: E501

        :return: The count of this PendingSuggestionsCountResponse.
        :rtype: int
        """
        return self._count

    @count.setter
    def count(self, count: int):
        """Sets the count of this PendingSuggestionsCountResponse.

        Total count of pending AI summary suggestions awaiting release notes editorial review.  # noqa: E501

        :param count: The count of this PendingSuggestionsCountResponse.
        :type count: int
        """
        if count is None:
            raise ValueError("Invalid value for `count`, must not be `None`")  # noqa: E501
        if count is not None and count < 0:  # noqa: E501
            raise ValueError("Invalid value for `count`, must be a value greater than or equal to `0`")  # noqa: E501

        self._count = count
