code: public static base_response update(nitro_service client, nsdiameter resource) throws Exception {
  		nsdiameter updateresource = new nsdiameter();
  		updateresource.identity = resource.identity;
  		updateresource.realm = resource.realm;
  		updateresource.serverclosepropagation = resource.serverclosepropagation;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update nsdiameter.