code: public static base_response change(nitro_service client, nsaptlicense resource) throws Exception {
  		nsaptlicense updateresource = new nsaptlicense();
  		updateresource.id = resource.id;
  		updateresource.sessionid = resource.sessionid;
  		updateresource.bindtype = resource.bindtype;
  		updateresource.countavailable = resource.countavailable;
  		updateresource.licensedir = resource.licensedir;
  		return updateresource.perform_operation(client,"update");
  	}
docs: Use this API to change nsaptlicense.