code: public DeviceSharing getSharingForDevice(String deviceId, String shareId) throws ApiException {
          ApiResponse<DeviceSharing> resp = getSharingForDeviceWithHttpInfo(deviceId, shareId);
          return resp.getData();
      }
docs: Get specific share of the given device id
  Get specific share of the given device id
  @param deviceId Device ID. (required)
  @param shareId Share ID. (required)
  @return DeviceSharing
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body