Use this API to fetch policyexpression resource of given name .
969745
public static policyexpression get(nitro_service service, String name) throws Exception{
		policyexpression obj = new policyexpression();
		obj.set_name(name);
		policyexpression response = (policyexpression) obj.get_resource(service);
		return response;
	}
732925
public static appqoepolicy get(nitro_service service, String name) throws Exception{
		appqoepolicy obj = new appqoepolicy();
		obj.set_name(name);
		appqoepolicy response = (appqoepolicy) obj.get_resource(service);
		return response;
	}
248983
public static appflowpolicy_binding get(nitro_service service, String name) throws Exception{
		appflowpolicy_binding obj = new appflowpolicy_binding();
		obj.set_name(name);
		appflowpolicy_binding response = (appflowpolicy_binding) obj.get_resource(service);
		return response;
	}
408203
public static filterpolicy[] get(nitro_service service, String name[]) throws Exception{
		if (name !=null && name.length>0) {
			filterpolicy response[] = new filterpolicy[name.length];
			filterpolicy obj[] = new filterpolicy[name.length];
			for (int i=0;i<name.length;i++) {
				obj[i] = new filterpolicy();
				obj[i].set_name(name[i]);
				response[i] = (filterpolicy) obj[i].get_resource(service);
			}
			return response;
		}
		return null;
	}
1138594
public static service_scpolicy_binding[] get(nitro_service service, String name) throws Exception{
		service_scpolicy_binding obj = new service_scpolicy_binding();
		obj.set_name(name);
		service_scpolicy_binding response[] = (service_scpolicy_binding[]) obj.get_resources(service);
		return response;
	}
1299571
public static appfwpolicy get(nitro_service service, String name) throws Exception{
		appfwpolicy obj = new appfwpolicy();
		obj.set_name(name);
		appfwpolicy response = (appfwpolicy) obj.get_resource(service);
		return response;
	}
1209437
public static cachepolicy_binding[] get(nitro_service service, String policyname[]) throws Exception{
		if (policyname !=null && policyname.length>0) {
			cachepolicy_binding response[] = new cachepolicy_binding[policyname.length];
			cachepolicy_binding obj[] = new cachepolicy_binding[policyname.length];
			for (int i=0;i<policyname.length;i++) {
				obj[i] = new cachepolicy_binding();
				obj[i].set_policyname(policyname[i]);
				response[i] = (cachepolicy_binding) obj[i].get_resource(service);
			}
			return response;
		}
		return null;
	}
556858
public static policydataset_value_binding[] get(nitro_service service, String name) throws Exception{
		policydataset_value_binding obj = new policydataset_value_binding();
		obj.set_name(name);
		policydataset_value_binding response[] = (policydataset_value_binding[]) obj.get_resources(service);
		return response;
	}
203964
public static filterpolicy_crvserver_binding[] get(nitro_service service, String name) throws Exception{
		filterpolicy_crvserver_binding obj = new filterpolicy_crvserver_binding();
		obj.set_name(name);
		filterpolicy_crvserver_binding response[] = (filterpolicy_crvserver_binding[]) obj.get_resources(service);
		return response;
	}
394658
public static responderpolicy get(nitro_service service, String name) throws Exception{
		responderpolicy obj = new responderpolicy();
		obj.set_name(name);
		responderpolicy response = (responderpolicy) obj.get_resource(service);
		return response;
	}
373177
def get(self, name, failobj=None):
        
        name = name.lower()
        for k, v in self._headers:
            if k.lower() == name:
                return self.policy.header_fetch_parse(k, v)
        return failobj
1276187
public static filterpolicy get(nitro_service service, String name) throws Exception{
		filterpolicy obj = new filterpolicy();
		obj.set_name(name);
		filterpolicy response = (filterpolicy) obj.get_resource(service);
		return response;
	}
558454
public static policyexpression[] get_filtered(nitro_service service, String filter) throws Exception{
		policyexpression obj = new policyexpression();
		options option = new options();
		option.set_filter(filter);
		policyexpression[] response = (policyexpression[]) obj.getfiltered(service, option);
		return response;
	}
871065
public static filterpolicy[] get(nitro_service service) throws Exception{
		filterpolicy obj = new filterpolicy();
		filterpolicy[] response = (filterpolicy[])obj.get_resources(service);
		return response;
	}
502911
public static scpolicy get(nitro_service service, String name) throws Exception{
		scpolicy obj = new scpolicy();
		obj.set_name(name);
		scpolicy response = (scpolicy) obj.get_resource(service);
		return response;
	}
1019235
public String getExpressionString(String name, Object permission) {
		String expression = properties.getProperty(CONFIG_EXPRESSION_PREFIX + name + "." + permission);

		//Get generic permit
		if (expression == null) {
			expression = properties.getProperty(CONFIG_EXPRESSION_PREFIX + name);
		}

		//Get parent permit
		if (expression == null && StringUtils.contains(name, ".")) {
			String parent = StringUtils.substringBeforeLast(name, ".");
			expression = getExpressionString(parent, permission);
		}

		LOG.debug("Get Expression String: [{}] for name: [{}] permission: [{}]", expression, name, permission);
		return expression;
	}
556504
public static base_response update(nitro_service client, policyexpression resource) throws Exception {
		policyexpression updateresource = new policyexpression();
		updateresource.name = resource.name;
		updateresource.value = resource.value;
		updateresource.description = resource.description;
		updateresource.comment = resource.comment;
		updateresource.clientsecuritymessage = resource.clientsecuritymessage;
		return updateresource.update_resource(client);
	}