code: public static base_response add(nitro_service client, snmpuser resource) throws Exception {
  		snmpuser addresource = new snmpuser();
  		addresource.name = resource.name;
  		addresource.group = resource.group;
  		addresource.authtype = resource.authtype;
  		addresource.authpasswd = resource.authpasswd;
  		addresource.privtype = resource.privtype;
  		addresource.privpasswd = resource.privpasswd;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add snmpuser.