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