code: public static xen_upgrade[] get(nitro_service client) throws Exception
  	{
  		xen_upgrade resource = new xen_upgrade();
  		resource.validate("get");
  		return (xen_upgrade[]) resource.get_resources(client);
  	}
docs: <pre>
  Use this operation to get version of xenserver.
  </pre>