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