code: public static hostcpu get(nitro_service client, hostcpu resource) throws Exception
  	{
  		resource.validate("get");
  		return ((hostcpu[]) resource.get_resources(client))[0];
  	}
docs: Use this operation to get CPU Cores.