# This file was generated by liblab | https://liblab.com/

from .utils.json_map import JsonMap
from .base import BaseModel


@JsonMap({"code": "Code", "description": "Description"})
class ResponseAlert(BaseModel):
    """Alert container. There can be zero to many alert containers with code and description.

    :param code: Warning code returned by the system.
    :type code: str
    :param description: Warning messages returned by the system.
    :type description: str
    """

    def __init__(self, code: str, description: str):
        self.code = code
        self.description = description
