public void ResourcesDictionaryEntryAddPostTest()
 {
     EntryAddBody entryAddBody = new EntryAddBody();
     EntryAddInput entryAddInput = new EntryAddInput();
     entryAddInput.SourceLang = "en";
     entryAddInput.Source = "test";
     entryAddInput.TargetLang = "fr";
     entryAddInput.Target = "test";
     entryAddInput.Type = "";
     entryAddInput.SourcePos = "";
     entryAddInput.TargetPos = "";
     entryAddInput.Priority = "";
     entryAddBody.Entry = entryAddInput;
     EntryAddResponse entryAddResponse = new EntryAddResponse();
     entryAddResponse = dictionaryApi.ResourcesDictionaryEntryAddPost(dictionaryId, entryAddBody);
     Assert.IsNotNull(entryAddResponse);
 }
	 /// <summary>
    /// Add an entry Add a new entry to an existing dictionary.
    /// </summary>
    /// <param name="DictionaryId">Dictionary Id</param>/// <param name="Input">Input with dictionary id and entries information</param>
    /// <returns>EntryAddResponse</returns>
    public async Task<EntryAddResponse> ResourcesDictionaryEntryAddPostAsync (string DictionaryId, EntryAddBody Input) {

      
          // verify the required parameter 'DictionaryId' is set
          if (DictionaryId == null) throw new ApiException(400, "Missing required parameter 'DictionaryId' when calling ResourcesDictionaryEntryAddPost");
      
          // verify the required parameter 'Input' is set
          if (Input == null) throw new ApiException(400, "Missing required parameter 'Input' when calling ResourcesDictionaryEntryAddPost");
      

      var path = "/resources/dictionary/entry/add";
      path = path.Replace("{format}", "json");
      

      var queryParams = new Dictionary<String, String>();
      var headerParams = new Dictionary<String, String>();
      var formParams = new Dictionary<String, String>();
      var fileParams = new Dictionary<String, String>();
      String postBody = null;

       if (DictionaryId != null) queryParams.Add("dictionaryId", apiClient.ParameterToString(DictionaryId)); // query parameter
      
      
      
      postBody = apiClient.Serialize(Input); // http body (model) parameter
      

      // authentication setting, if any
      String[] authSettings = new String[] { "accessToken", "apiKey" };

      // make the HTTP request
      IRestResponse response = (IRestResponse) await apiClient.CallApiAsync(path, Method.POST, queryParams, postBody, headerParams, formParams, fileParams, authSettings);
      if (((int)response.StatusCode) >= 400) {
        throw new ApiException ((int)response.StatusCode, "Error calling ResourcesDictionaryEntryAddPost: " + response.Content, response.Content);
      }
      return (EntryAddResponse) apiClient.Deserialize(response.Content, typeof(EntryAddResponse));
    }