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