private async Task <ResponsePage <ConnectedDevice> > ListConnectedDevicesFunc(QueryOptions options)
        {
            try
            {
                var resp = await DeviceDirectoryApi.DeviceListAsync(limit : options.Limit, order : options.Order, after : options.After, filter : options.Filter?.FilterString, include : options.Include);

                var respDevices = new ResponsePage <ConnectedDevice>(after: resp.After, hasMore: resp.HasMore, totalCount: resp.TotalCount);
                foreach (var device in resp.Data)
                {
                    respDevices.Add(ConnectedDevice.Map(device, this));
                }

                return(respDevices);
            }
            catch (device_directory.Client.ApiException e)
            {
                throw new CloudApiException(e.ErrorCode, e.Message, e.ErrorContent);
            }
        }