code: public static dnsview get(nitro_service service, String viewname) throws Exception{
  		dnsview obj = new dnsview();
  		obj.set_viewname(viewname);
  		dnsview response = (dnsview) obj.get_resource(service);
  		return response;
  	}
docs: Use this API to fetch dnsview resource of given name .