code: public ApiResponse<DeviceSharing> getSharingForDeviceWithHttpInfo(String deviceId, String shareId) throws ApiException {
          com.squareup.okhttp.Call call = getSharingForDeviceValidateBeforeCall(deviceId, shareId, null, null);
          Type localVarReturnType = new TypeToken<DeviceSharing>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
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 ApiResponse&lt;DeviceSharing&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body