"""Model definitions for the api module."""
from typing import Any, List, Optional


class APIResponse:  # pylint: disable=too-few-public-methods
    """Custom class to wrap api responses."""

    def __init__(self,
                 payload: Any,
                 status: int = 200,
                 options: Optional[List[str]] = None) -> None:
        """Construct an APIResponse object."""
        self.payload = payload
        self.status = status
        self.options = options