Software Development Kit (SDK) and API Discussions

What is the difference between and runner.list(request)?

I can get List of VserverInfo in these two ways:


1)  VserverGetIterRequest vServerListReq = new VserverGetIterRequest();
      List<VserverInfo> vServers = runner.list(vServerListReq);



VserverGetIterRequest vServerListReq = new VserverGetIterRequest();
VserverGetIterResponse vServerListResp =;

List<VserverInfo> vServers = vServerListResp.getAttributesList();


Are they equivalent? Which one is better besides that first way saves one line of code?


Cloud Volumes ONTAP
Review Banner
All Community Forums