As example, the following:
actionResult=System.getModule("com.vmware.library.vc.vm.network").getNetworkForGivenNic(vm,nicNumber);
results in:
DynamicWrapper (Instance) : [VcNetwork]-[class com.vmware.vmo.plugin.vi4.model.VimNetwork] -- VALUE : Network<network-61>'Green'
I only want the string portion for network name; 'Green'. What's the best way to pull this out? I see there is a property 'name' for VcNetwork, but many variations of attempts to reference to this have only produced errors.
Ideas/guidance?