Use this API to add responderaction resources.
778721
public static base_responses add(nitro_service client, responderaction resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			responderaction addresources[] = new responderaction[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new responderaction();
				addresources[i].name = resources[i].name;
				addresources[i].type = resources[i].type;
				addresources[i].target = resources[i].target;
				addresources[i].htmlpage = resources[i].htmlpage;
				addresources[i].bypasssafetycheck = resources[i].bypasssafetycheck;
				addresources[i].comment = resources[i].comment;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
723541
public static base_response add(nitro_service client, appqoeaction resource) throws Exception {
		appqoeaction addresource = new appqoeaction();
		addresource.name = resource.name;
		addresource.priority = resource.priority;
		addresource.respondwith = resource.respondwith;
		addresource.customfile = resource.customfile;
		addresource.altcontentsvcname = resource.altcontentsvcname;
		addresource.altcontentpath = resource.altcontentpath;
		addresource.polqdepth = resource.polqdepth;
		addresource.priqdepth = resource.priqdepth;
		addresource.maxconn = resource.maxconn;
		addresource.delay = resource.delay;
		addresource.dostrigexpression = resource.dostrigexpression;
		addresource.dosaction = resource.dosaction;
		return addresource.add_resource(client);
	}
1127173
def add(self):
        '''
        '''
        # TODO validation per object type
        submit_attribs = {}
        for attrib in self.ATTRIBUTES:
            val = getattr(self, attrib, None)
            if val:
                submit_attribs[attrib] = val
        path = '/'.join([self.RESOURCE, 'add'])
        result = self.client.request(path, submit_attribs)
        return result
169620
public static base_responses add(nitro_service client, inat resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			inat addresources[] = new inat[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new inat();
				addresources[i].name = resources[i].name;
				addresources[i].publicip = resources[i].publicip;
				addresources[i].privateip = resources[i].privateip;
				addresources[i].tcpproxy = resources[i].tcpproxy;
				addresources[i].ftp = resources[i].ftp;
				addresources[i].tftp = resources[i].tftp;
				addresources[i].usip = resources[i].usip;
				addresources[i].usnip = resources[i].usnip;
				addresources[i].proxyip = resources[i].proxyip;
				addresources[i].mode = resources[i].mode;
				addresources[i].td = resources[i].td;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
1123769
private void addResponseComments(MethodResult methodResult, ResourceMethod resourceMethod) {
        MethodComment methodDoc = methodResult.getMethodDoc();
        if (methodDoc == null)
            return;

        methodDoc.getResponseComments()
                .forEach((k, v) -> addResponseComment(k, v, resourceMethod));

        ClassComment classDoc = methodDoc.getContainingClassComment();

        // class-level response comments are added last (if absent) to keep hierarchy
        if (classDoc != null)
            classDoc.getResponseComments()
                    .forEach((k, v) -> addResponseComment(k, v, resourceMethod));
    }
372389
public static base_responses add(nitro_service client, nsacl6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nsacl6 addresources[] = new nsacl6[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new nsacl6();
				addresources[i].acl6name = resources[i].acl6name;
				addresources[i].acl6action = resources[i].acl6action;
				addresources[i].td = resources[i].td;
				addresources[i].srcipv6 = resources[i].srcipv6;
				addresources[i].srcipop = resources[i].srcipop;
				addresources[i].srcipv6val = resources[i].srcipv6val;
				addresources[i].srcport = resources[i].srcport;
				addresources[i].srcportop = resources[i].srcportop;
				addresources[i].srcportval = resources[i].srcportval;
				addresources[i].destipv6 = resources[i].destipv6;
				addresources[i].destipop = resources[i].destipop;
				addresources[i].destipv6val = resources[i].destipv6val;
				addresources[i].destport = resources[i].destport;
				addresources[i].destportop = resources[i].destportop;
				addresources[i].destportval = resources[i].destportval;
				addresources[i].ttl = resources[i].ttl;
				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].established = resources[i].established;
				addresources[i].icmptype = resources[i].icmptype;
				addresources[i].icmpcode = resources[i].icmpcode;
				addresources[i].priority = resources[i].priority;
				addresources[i].state = resources[i].state;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
673996
public static base_responses add(nitro_service client, channel resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			channel addresources[] = new channel[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new channel();
				addresources[i].id = resources[i].id;
				addresources[i].ifnum = resources[i].ifnum;
				addresources[i].state = resources[i].state;
				addresources[i].mode = resources[i].mode;
				addresources[i].conndistr = resources[i].conndistr;
				addresources[i].macdistr = resources[i].macdistr;
				addresources[i].lamac = resources[i].lamac;
				addresources[i].speed = resources[i].speed;
				addresources[i].flowctl = resources[i].flowctl;
				addresources[i].hamonitor = resources[i].hamonitor;
				addresources[i].tagall = resources[i].tagall;
				addresources[i].trunk = resources[i].trunk;
				addresources[i].ifalias = resources[i].ifalias;
				addresources[i].throughput = resources[i].throughput;
				addresources[i].bandwidthhigh = resources[i].bandwidthhigh;
				addresources[i].bandwidthnormal = resources[i].bandwidthnormal;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
751993
def add_response(self, response):
        
        key = self.merge_array_field_name
        response_json = response.json()
        value = self.combined_json[key]
        self.combined_json[self.merge_array_field_name] = value + response_json[key]
684558
public static base_responses add(nitro_service client, dnsnsrec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnsnsrec addresources[] = new dnsnsrec[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnsnsrec();
				addresources[i].domain = resources[i].domain;
				addresources[i].nameserver = resources[i].nameserver;
				addresources[i].ttl = resources[i].ttl;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
1328484
public static base_responses add(nitro_service client, server resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			server addresources[] = new server[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new server();
				addresources[i].name = resources[i].name;
				addresources[i].ipaddress = resources[i].ipaddress;
				addresources[i].domain = resources[i].domain;
				addresources[i].translationip = resources[i].translationip;
				addresources[i].translationmask = resources[i].translationmask;
				addresources[i].domainresolveretry = resources[i].domainresolveretry;
				addresources[i].state = resources[i].state;
				addresources[i].ipv6address = resources[i].ipv6address;
				addresources[i].comment = resources[i].comment;
				addresources[i].td = resources[i].td;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
624205
public void putResponse(Response<?> r) {
        synchronized (responseMap) {
            List<Response<?>> l = responseMap.get(r.getCorrelationId());
            if (l == null) {
                l = new SortedResponseList();
                responseMap.put(r.getCorrelationId(), l);
            }
            l.add(r);
        }
    }
971333
public static base_responses add(nitro_service client, location resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			location addresources[] = new location[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new location();
				addresources[i].ipfrom = resources[i].ipfrom;
				addresources[i].ipto = resources[i].ipto;
				addresources[i].preferredlocation = resources[i].preferredlocation;
				addresources[i].longitude = resources[i].longitude;
				addresources[i].latitude = resources[i].latitude;
			}
			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
1181163
def add_resource(self, resource):
        """"""
        if resource.exists():
            self.resources[resource] = self.timekeeper.get_indicator(resource)
        else:
            self.resources[resource] = None
147975
def add_resources(self, resources):
    
    new_resources = self._build_resource_dictionary(resources)

    for key in new_resources:
      self._resources[key] = new_resources[key]
    self._dirty_attributes.add(u'resources')
1186431
public static base_responses add(nitro_service client, nat64 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nat64 addresources[] = new nat64[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new nat64();
				addresources[i].name = resources[i].name;
				addresources[i].acl6name = resources[i].acl6name;
				addresources[i].netprofile = resources[i].netprofile;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
471872
public static base_responses add(nitro_service client, filteraction resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			filteraction addresources[] = new filteraction[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new filteraction();
				addresources[i].name = resources[i].name;
				addresources[i].qual = resources[i].qual;
				addresources[i].servicename = resources[i].servicename;
				addresources[i].value = resources[i].value;
				addresources[i].respcode = resources[i].respcode;
				addresources[i].page = resources[i].page;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}