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