code: public WhitelistEnvelope enableWhitelist(String dtid, DeviceTypeUpdateInput deviceTypeUpdateInfo) throws ApiException {
          ApiResponse<WhitelistEnvelope> resp = enableWhitelistWithHttpInfo(dtid, deviceTypeUpdateInfo);
          return resp.getData();
      }
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 WhitelistEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body