Use this API to add dnstxtrec.
544301
public static base_response add(nitro_service client, dnstxtrec resource) throws Exception {
		dnstxtrec addresource = new dnstxtrec();
		addresource.domain = resource.domain;
		addresource.String = resource.String;
		addresource.ttl = resource.ttl;
		return addresource.add_resource(client);
	}
403076
def add_ref(self, ref):
        

        self.refs[ref.insn_addr].append(ref)
        self.data_addr_to_ref[ref.memory_data.addr].append(ref)
218261
def add(self, t: RDFTriple) -> None:
        
        if self.chained_hook is not None:
            self.chained_hook.add(t)
143865
public static base_responses add(nitro_service client, dnssrvrec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssrvrec addresources[] = new dnssrvrec[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnssrvrec();
				addresources[i].domain = resources[i].domain;
				addresources[i].target = resources[i].target;
				addresources[i].priority = resources[i].priority;
				addresources[i].weight = resources[i].weight;
				addresources[i].port = resources[i].port;
				addresources[i].ttl = resources[i].ttl;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
1243918
def add_pipeline(subparsers):
    """"""
    pipeline_parser = subparsers.add_parser(
        'pipeline', help=add_pipeline.__doc__, formatter_class=argparse.ArgumentDefaultsHelpFormatter)
    pipeline_parser.set_defaults(func=pipeline_parser.print_help)

    pipeline_subparsers = pipeline_parser.add_subparsers(title='Pipelines')

    pipeline_full_parser = pipeline_subparsers.add_parser(
        'app', help=runner.prepare_app_pipeline.__doc__, formatter_class=argparse.ArgumentDefaultsHelpFormatter)
    pipeline_full_parser.set_defaults(func=runner.prepare_app_pipeline)

    pipeline_onetime_parser = pipeline_subparsers.add_parser(
        'onetime', help=runner.prepare_onetime_pipeline.__doc__, formatter_class=argparse.ArgumentDefaultsHelpFormatter)
    pipeline_onetime_parser.set_defaults(func=runner.prepare_onetime_pipeline)
    add_env(pipeline_onetime_parser)
152394
public static base_responses add(nitro_service client, dnssoarec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssoarec addresources[] = new dnssoarec[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnssoarec();
				addresources[i].domain = resources[i].domain;
				addresources[i].originserver = resources[i].originserver;
				addresources[i].contact = resources[i].contact;
				addresources[i].serial = resources[i].serial;
				addresources[i].refresh = resources[i].refresh;
				addresources[i].retry = resources[i].retry;
				addresources[i].expire = resources[i].expire;
				addresources[i].minimum = resources[i].minimum;
				addresources[i].ttl = resources[i].ttl;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
1069485
def add_rel(self, rId, reltype, target, is_external=False):
        
        target_mode = RTM.EXTERNAL if is_external else RTM.INTERNAL
        relationship = CT_Relationship.new(rId, reltype, target, target_mode)
        self.append(relationship)
1150772
def add_on_nr(key, to_add)
      result = req_list(new_req_list().add_add_on_nr(key, to_add))[0]
      process_result_add_on_nr(result)
    end
1238042
def add_on_nr(key, to_add)
      result = @conn.call(:add_on_nr, [key, to_add])
      @conn.class.check_fail_abort(result)
      @conn.class.process_result_add_on_nr(result)
    end
116428
public static dnstxtrec[] get(nitro_service service) throws Exception{
		dnstxtrec obj = new dnstxtrec();
		dnstxtrec[] response = (dnstxtrec[])obj.get_resources(service);
		return response;
	}
310256
def _add_to_obj(self, rec_curr, typedef_curr, line):
        """"""
        if rec_curr is not None:
            self._add_to_ref(rec_curr, line)
        else:
            add_to_typedef(typedef_curr, line)
804639
def addSSLService(self):
        ""
        https_port = self.options['https_port']
        self.tls_service = HendrixTCPServiceWithTLS(https_port, self.hendrix.site, self.key, self.cert,
                                                    self.context_factory, self.context_factory_kwargs)
        self.tls_service.setServiceParent(self.hendrix)
1264659
public static base_response add(nitro_service client, dnsaction resource) throws Exception {
		dnsaction addresource = new dnsaction();
		addresource.actionname = resource.actionname;
		addresource.actiontype = resource.actiontype;
		addresource.ipaddress = resource.ipaddress;
		addresource.ttl = resource.ttl;
		addresource.viewname = resource.viewname;
		addresource.preferredloclist = resource.preferredloclist;
		return addresource.add_resource(client);
	}
1142467
public static base_responses add(nitro_service client, dnssuffix resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssuffix addresources[] = new dnssuffix[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnssuffix();
				addresources[i].Dnssuffix = resources[i].Dnssuffix;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
527279
public static base_response add(nitro_service client, nsacl resource) throws Exception {
		nsacl addresource = new nsacl();
		addresource.aclname = resource.aclname;
		addresource.aclaction = resource.aclaction;
		addresource.td = resource.td;
		addresource.srcip = resource.srcip;
		addresource.srcipop = resource.srcipop;
		addresource.srcipval = resource.srcipval;
		addresource.srcport = resource.srcport;
		addresource.srcportop = resource.srcportop;
		addresource.srcportval = resource.srcportval;
		addresource.destip = resource.destip;
		addresource.destipop = resource.destipop;
		addresource.destipval = resource.destipval;
		addresource.destport = resource.destport;
		addresource.destportop = resource.destportop;
		addresource.destportval = resource.destportval;
		addresource.ttl = resource.ttl;
		addresource.srcmac = resource.srcmac;
		addresource.protocol = resource.protocol;
		addresource.protocolnumber = resource.protocolnumber;
		addresource.vlan = resource.vlan;
		addresource.Interface = resource.Interface;
		addresource.established = resource.established;
		addresource.icmptype = resource.icmptype;
		addresource.icmpcode = resource.icmpcode;
		addresource.priority = resource.priority;
		addresource.state = resource.state;
		addresource.logstate = resource.logstate;
		addresource.ratelimit = resource.ratelimit;
		return addresource.add_resource(client);
	}
283782
def add_netreg_api(mock):
    ''''''

    # also add an emergency number which is not a real one, in case one runs a
    # test case against a production ofono :-)
    mock.AddProperties('org.ofono.NetworkRegistration', {
        'Mode': 'auto',
        'Status': 'registered',
        'LocationAreaCode': _parameters.get('LocationAreaCode', 987),
        'CellId': _parameters.get('CellId', 10203),
        'MobileCountryCode': _parameters.get('MobileCountryCode', '777'),
        'MobileNetworkCode': _parameters.get('MobileNetworkCode', '11'),
        'Technology': _parameters.get('Technology', 'gsm'),
        'Name': _parameters.get('Name', 'fake.tel'),
        'Strength': _parameters.get('Strength', dbus.Byte(80)),
        'BaseStation': _parameters.get('BaseStation', ''),
    })

    mock.AddObject('/%s/operator/op1' % mock.name,
                   'org.ofono.NetworkOperator',
                   {
                       'Name': _parameters.get('Name', 'fake.tel'),
                       'Status': 'current',
                       'MobileCountryCode': _parameters.get('MobileCountryCode', '777'),
                       'MobileNetworkCode': _parameters.get('MobileNetworkCode', '11'),
                       'Technologies': [_parameters.get('Technology', 'gsm')],
                   },
                   [
                       ('GetProperties', '', 'a{sv}', 'ret = self.GetAll("org.ofono.NetworkOperator")'),
                       ('Register', '', '', ''),
                   ]  # noqa: silly pep8 error here about hanging indent
                  )

    mock.AddMethods('org.ofono.NetworkRegistration', [
        ('GetProperties', '', 'a{sv}', 'ret = self.GetAll("org.ofono.NetworkRegistration")'),
        ('SetProperty', 'sv', '', 'self.Set("%(i)s", args[0], args[1]); '
         'self.EmitSignal("%(i)s", "PropertyChanged", "sv", [args[0], args[1]])' % {'i': 'org.ofono.NetworkRegistration'}),
        ('Register', '', '', ''),
        ('GetOperators', '', 'a(oa{sv})', get_all_operators(mock)),
        ('Scan', '', 'a(oa{sv})', get_all_operators(mock)),
    ])
143143
public static base_response add(nitro_service client, snmptrap resource) throws Exception {
		snmptrap addresource = new snmptrap();
		addresource.trapclass = resource.trapclass;
		addresource.trapdestination = resource.trapdestination;
		addresource.version = resource.version;
		addresource.destport = resource.destport;
		addresource.communityname = resource.communityname;
		addresource.srcip = resource.srcip;
		addresource.severity = resource.severity;
		return addresource.add_resource(client);
	}