Use this API to add responderpolicylabel resources.
359314
public static base_responses add(nitro_service client, responderpolicylabel resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			responderpolicylabel addresources[] = new responderpolicylabel[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new responderpolicylabel();
				addresources[i].labelname = resources[i].labelname;
				addresources[i].policylabeltype = resources[i].policylabeltype;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
1373844
public static base_responses add(nitro_service client, dnsptrrec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnsptrrec addresources[] = new dnsptrrec[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnsptrrec();
				addresources[i].reversedomain = resources[i].reversedomain;
				addresources[i].domain = resources[i].domain;
				addresources[i].ttl = resources[i].ttl;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
516748
public static base_responses add(nitro_service client, policymap resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			policymap addresources[] = new policymap[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new policymap();
				addresources[i].mappolicyname = resources[i].mappolicyname;
				addresources[i].sd = resources[i].sd;
				addresources[i].su = resources[i].su;
				addresources[i].td = resources[i].td;
				addresources[i].tu = resources[i].tu;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
168492
def add(self, resource, replace=False):
        """"""
        uri = resource.uri
        if (uri in self and not replace):
            raise ResourceListDupeError(
                "Attempt to add resource already in resource_list")
        self[uri] = resource
568926
def add_integration_response(self):
        """"""
        self.client.put_integration_response(
            restApiId=self.api_id,
            resourceId=self.resource_id,
            httpMethod=self.trigger_settings['method'],
            statusCode='200',
            responseTemplates={'application/json': ''})
426704
public static base_response add(nitro_service client, dospolicy resource) throws Exception {
		dospolicy addresource = new dospolicy();
		addresource.name = resource.name;
		addresource.qdepth = resource.qdepth;
		addresource.cltdetectrate = resource.cltdetectrate;
		return addresource.add_resource(client);
	}
1367125
public static transformpolicylabel[] get(nitro_service service) throws Exception{
		transformpolicylabel obj = new transformpolicylabel();
		transformpolicylabel[] response = (transformpolicylabel[])obj.get_resources(service);
		return response;
	}
1095840
public static base_responses add(nitro_service client, dospolicy resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dospolicy addresources[] = new dospolicy[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dospolicy();
				addresources[i].name = resources[i].name;
				addresources[i].qdepth = resources[i].qdepth;
				addresources[i].cltdetectrate = resources[i].cltdetectrate;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
59072
public static base_response add(nitro_service client, transformaction resource) throws Exception {
		transformaction addresource = new transformaction();
		addresource.name = resource.name;
		addresource.profilename = resource.profilename;
		addresource.priority = resource.priority;
		addresource.state = resource.state;
		return addresource.add_resource(client);
	}
134388
public static base_response add(nitro_service client, policypatset resource) throws Exception {
		policypatset addresource = new policypatset();
		addresource.name = resource.name;
		addresource.indextype = resource.indextype;
		return addresource.add_resource(client);
	}
1023076
public static responderpolicylabel_stats[] get(nitro_service service) throws Exception{
		responderpolicylabel_stats obj = new responderpolicylabel_stats();
		responderpolicylabel_stats[] response = (responderpolicylabel_stats[])obj.stat_resources(service);
		return response;
	}
112159
def add_pape(resp, policies = [], nist_auth_level = 0, auth_time = nil)
      if papereq = OpenID::PAPE::Request.from_openid_request(openid_request)
        paperesp = OpenID::PAPE::Response.new
        policies.each { |p| paperesp.add_policy_uri(p) }
        paperesp.nist_auth_level = nist_auth_level
        paperesp.auth_time = auth_time.utc.iso8601
        resp.add_extension(paperesp)
      end
      resp
    end
890498
public static base_responses add(nitro_service client, nspbr resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nspbr addresources[] = new nspbr[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new nspbr();
				addresources[i].name = resources[i].name;
				addresources[i].action = resources[i].action;
				addresources[i].td = resources[i].td;
				addresources[i].srcip = resources[i].srcip;
				addresources[i].srcipop = resources[i].srcipop;
				addresources[i].srcipval = resources[i].srcipval;
				addresources[i].srcport = resources[i].srcport;
				addresources[i].srcportop = resources[i].srcportop;
				addresources[i].srcportval = resources[i].srcportval;
				addresources[i].destip = resources[i].destip;
				addresources[i].destipop = resources[i].destipop;
				addresources[i].destipval = resources[i].destipval;
				addresources[i].destport = resources[i].destport;
				addresources[i].destportop = resources[i].destportop;
				addresources[i].destportval = resources[i].destportval;
				addresources[i].nexthop = resources[i].nexthop;
				addresources[i].nexthopval = resources[i].nexthopval;
				addresources[i].iptunnel = resources[i].iptunnel;
				addresources[i].iptunnelname = resources[i].iptunnelname;
				addresources[i].srcmac = resources[i].srcmac;
				addresources[i].protocol = resources[i].protocol;
				addresources[i].protocolnumber = resources[i].protocolnumber;
				addresources[i].vlan = resources[i].vlan;
				addresources[i].Interface = resources[i].Interface;
				addresources[i].priority = resources[i].priority;
				addresources[i].msr = resources[i].msr;
				addresources[i].monitor = resources[i].monitor;
				addresources[i].state = resources[i].state;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
399070
public static base_responses add(nitro_service client, appqoeaction resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			appqoeaction addresources[] = new appqoeaction[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new appqoeaction();
				addresources[i].name = resources[i].name;
				addresources[i].priority = resources[i].priority;
				addresources[i].respondwith = resources[i].respondwith;
				addresources[i].customfile = resources[i].customfile;
				addresources[i].altcontentsvcname = resources[i].altcontentsvcname;
				addresources[i].altcontentpath = resources[i].altcontentpath;
				addresources[i].polqdepth = resources[i].polqdepth;
				addresources[i].priqdepth = resources[i].priqdepth;
				addresources[i].maxconn = resources[i].maxconn;
				addresources[i].delay = resources[i].delay;
				addresources[i].dostrigexpression = resources[i].dostrigexpression;
				addresources[i].dosaction = resources[i].dosaction;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
349968
private void addMediaTypes(final MethodResult methodResult, final ClassResult classResult, final ResourceMethod resourceMethod) {
        // accept media types -> inherit
        resourceMethod.getRequestMediaTypes().addAll(methodResult.getRequestMediaTypes());
        if (resourceMethod.getRequestMediaTypes().isEmpty()) {
            resourceMethod.getRequestMediaTypes().addAll(classResult.getRequestMediaTypes());
        }

        // response media types -> use annotations if not yet present
        if (resourceMethod.getResponseMediaTypes().isEmpty())
            resourceMethod.getResponseMediaTypes().addAll(methodResult.getResponseMediaTypes());
        // -> inherit
        if (resourceMethod.getResponseMediaTypes().isEmpty()) {
            resourceMethod.getResponseMediaTypes().addAll(classResult.getResponseMediaTypes());
        }
    }
1280564
public static base_responses add(nitro_service client, policyexpression resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			policyexpression addresources[] = new policyexpression[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new policyexpression();
				addresources[i].name = resources[i].name;
				addresources[i].value = resources[i].value;
				addresources[i].description = resources[i].description;
				addresources[i].comment = resources[i].comment;
				addresources[i].clientsecuritymessage = resources[i].clientsecuritymessage;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
1372030
def add(self, *resources):
        
        self.doapi_manager.request(self.url + '/resources', method='POST',
                                   data={"resources": _to_taggable(resources)})