def get_all_accounts(self, **kwargs):  # noqa: E501
        """Get all accounts.  # noqa: E501

        Returns an array of account objects, optionally filtered by status and tier level.   **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts -H 'Authorization: Bearer API_KEY'`.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.get_all_accounts(asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param str status__eq: An optional filter for account status, ENROLLING, ACTIVE, RESTRICTED or SUSPENDED.
        :param str status__in: An optional filter for getting accounts with a specified set of statuses.
        :param str status__nin: An optional filter for excluding accounts with a specified set of statuses.
        :param str tier__eq: An optional filter for tier level, must be 0, 1, 2, 98, 99 or omitted.
        :param str parent__eq: An optional filter for parent account ID.
        :param str end_market__eq: An optional filter for account end market.
        :param str country__like: An optional filter for account country. Finds all matches where the filter value is a case insensitive substring of the result. Example: country__like=LAND matches Ireland.
        :param int limit: The number of results to return (2-1000), default is 1000.
        :param str after: The entity ID to fetch after the given one.
        :param str order: The order of the records based on creation time, ASC or DESC. Default value is ASC
        :param str include: Comma separated additional data to return. Currently supported: limits, policies, sub_accounts
        :param str format: Format information for the response to the query, supported: format=breakdown.
        :param str properties: Property name to be returned from account specific properties.
        :return: AccountInfoList
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('asynchronous'):
            return self.get_all_accounts_with_http_info(**kwargs)  # noqa: E501
        else:
            (data) = self.get_all_accounts_with_http_info(**kwargs)  # noqa: E501
            return data