code: def get_device_enrollments(self, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.get_device_enrollments_with_http_info(**kwargs)  # noqa: E501
          else:
              (data) = self.get_device_enrollments_with_http_info(**kwargs)  # noqa: E501
              return data
docs: Get enrollment list.  # noqa: E501
  
          Provides a list of pending and claimed enrollments. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/device-enrollments ``` With query parameters: ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ 'https://api.us-east-1.mbedcloud.com/v3/device-enrollments?limit=10' ```   # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass asynchronous=True
          >>> thread = api.get_device_enrollments(asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :param int limit: Number of results to be returned. Between 2 and 1000, inclusive.
          :param str after: Entity ID to fetch after.
          :param str order: ASC or DESC
          :param str include: Comma-separated additional data to return. Currently supported: total_count.
          :return: EnrollmentIdentities
                   If the method is called asynchronously,
                   returns the request thread.