def get_alarm_descriptions(
    self,
    data_format: str,
    default_values: bool,
) -> list:
    """Get alarm descriptions and type details

    .. list-table::
        :header-rows: 1

        * - Swagger Section
          - Method
          - Endpoint
        * - alarm
          - GET
          - /alarm/description2

    :param data_format: If ``csv`` ask browser to download a file of
        Orchestrator alarm descriptions in .csv format.
    :type data_format: str
    :param default_values: If ``True``, export alarm descriptions with
        default values, when ``False``, export alarm descriptions with
        customized values
    :type default_values: bool
    :return: Returns list of all alarm descriptions, corresponding type
        id's, etc. \n
        [`dict`]: alarm object \n
            * keyword **typeId** (`int, optional`): Alarm type id
            * keyword **name** (`str, optional`): Alarm name
            * keyword **severity** (`str, optional`): Alarm severity
              info
            * keyword **description** (`str, optional`): Alarm
              description
            * keyword **recommendedAction** (`str, optional`):
              recommended action
            * keyword **serviceAffecting** (`bool, optional`): Is alarm
              service affecting
            * keyword **source** (`str, optional`): Module/system that
              generates alarm
            * keyword **systemType** (`int, optional`): Identifies which
              system generated the alaram. ``0`` = Appliance,
              ``100`` = Orchestartor
            * keyword **sourceType** (`int, optional`): Identifies the
              category of alarm. ``1`` = Tunnel, ``2`` = Traffic Class,
              ``3`` = Equipment, ``4`` = Software, ``5`` = Threshold
            * keyword **alarmType** (`int, optional`): Uniquely
              identifies the type of alarm within a sourceType
    :rtype: list
    """

    path = "/alarm/description2"

    if data_format is not None:
        path = path + "?format={}".format(data_format)
        if default_values is not None:
            path = path + "&default={}".format(default_values)
    elif default_values is not None:
        path = path + "?default={}".format(default_values)
    else:
        pass

    return self._get(path)