code: public ApiResponse<WhitelistEnvelope> enableWhitelistWithHttpInfo(String dtid, DeviceTypeUpdateInput deviceTypeUpdateInfo) throws ApiException {
          com.squareup.okhttp.Call call = enableWhitelistValidateBeforeCall(dtid, deviceTypeUpdateInfo, null, null);
          Type localVarReturnType = new TypeToken<WhitelistEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Enable or disble whitelist feature of a device type
  Enable or disble whitelist feature of a device type
  @param dtid Device Type ID. (required)
  @param deviceTypeUpdateInfo Device type update input. (required)
  @return ApiResponse&lt;WhitelistEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body