code: public static base_response add(nitro_service client, snmpcommunity resource) throws Exception {
  		snmpcommunity addresource = new snmpcommunity();
  		addresource.communityname = resource.communityname;
  		addresource.permissions = resource.permissions;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add snmpcommunity.