code: public static base_response add(nitro_service client, policymap resource) throws Exception {
  		policymap addresource = new policymap();
  		addresource.mappolicyname = resource.mappolicyname;
  		addresource.sd = resource.sd;
  		addresource.su = resource.su;
  		addresource.td = resource.td;
  		addresource.tu = resource.tu;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add policymap.