private void RenameAssociation(string name, string new_name, string new_alias1, string new_alias2, bool isAsync, RenameAssociationCallback callback, Object state)
        {
            var parameterList = new Dictionary<string, string> { { "method", "facebook.data.renameAssociation" } };
            Utilities.AddRequiredParameter(parameterList, "name", name);
            Utilities.AddRequiredParameter(parameterList, "new_name", new_name);
            Utilities.AddRequiredParameter(parameterList, "new_alias1", new_alias1);
            Utilities.AddRequiredParameter(parameterList, "new_alias2", new_alias2);

            if (isAsync)
            {
                SendRequestAsync<data_renameAssociation_response, bool>(parameterList, new FacebookCallCompleted<bool>(callback), state);
                return;
            }

            SendRequest(parameterList);
        }
 /// <summary>
 /// Rename a previously defined association. Any renaming here only affects one direction. To change names and aliases for another direction, rename with the name of that direction of association. 
 /// </summary>
 /// <example>
 /// <code>
 /// 
 /// </code>
 /// </example>
 /// <param name="name">Name of the association to change. </param>
 /// <param name="new_name">Optional - New name to use. This name needs to be unique among all object types and associations defined for this application. This name also needs to be a valid identifier, which is no longer than 32 characters, starting with a letter (a-z) and consisting of only small letters (a-z), numbers (0-9) and/or underscores. </param>
 /// <param name="new_alias1">Optional - New alias for object identifier 1 to use. This alias needs to be a valid identifier, which is no longer than 32 characters, starting with a letter (a-z) and consisting of only small letters (a-z), numbers (0-9) and/or underscores. </param>
 /// <param name="new_alias2">Optional - New alias for object identifier 2 to use. This alias needs to be a valid identifier, which is no longer than 32 characters, starting with a letter (a-z) and consisting of only small letters (a-z), numbers (0-9) and/or underscores. </param>
 /// <param name="callback">The AsyncCallback delegate</param>
 /// <param name="state">An object containing state information for this asynchronous request</param>        
 public void RenameAssociationAsync(string name, string new_name, string new_alias1, string new_alias2, RenameAssociationCallback callback, Object state)
 {
     RenameAssociation(name, new_name, new_alias1, new_alias2, true, callback, state);
 }