def post_user_defined_app_address_map(
    self,
    ip_start: int,
    ip_end: int,
    name: str = "",
    description: str = "",
    priority: str = "",
    country: str = "",
    country_code: str = "",
    org: str = "",
) -> bool:
    """Create or update user defined application groups based on
    address map

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

        * - Swagger Section
          - Method
          - Endpoint
        * - applicationDefinition
          - POST
          - /applicationDefinition/ipIntelligenceClassification/{ipStart}/{ipEnd}

    :param ip_start: Starting IP address, IP addresses must be passed as
        32-bit integer values, e.g. ``167837953`` rather than
        ``10.1.1.1``
    :type ip_start: str
    :param ip_end: Ending IP address, IP addresses must be passed as
        32-bit integer values, e.g. ``167837953`` rather than
        ``10.1.1.1``
    :type ip_end: str
    :param name: Name of application group, defaults to ""
    :type name: str, optional
    :param description: Description of application group, defaults to ""
    :type description: str, optional
    :param priority: Priority of application group, defaults to ""
    :type priority: str, optional
    :param country: Country of application group, defaults to ""
    :type country: str, optional
    :param country_code: Country code of application group,
        defaults to ""
    :type country_code: str, optional
    :param org: Organization of application group, defaults to ""
    :type org: str, optional
    :return: Returns True/False based on successful call
    :rtype: bool
    """  # noqa: E501,W505
    if ip_end < ip_start:
        raise ValueError(
            "End IP %r is lower than starting IP %r." % ip_end, ip_start
        )

    ipIntelligenceConfig = {
        "ip_start": ip_start,
        "ip_end": ip_end,
        "name": name,
        "description": description,
        "priority": priority,
        "country": country,
        "country_code": country_code,
        "org": org,
    }

    return self._post(
        "/applicationDefinition/ipIntelligenceClassification/{}/{}".format(
            ip_start, ip_end
        ),
        data=ipIntelligenceConfig,
        return_type="bool",
    )