private void AddFormUrlEncodedBody(ApiRequest <TRequest> request, IRestRequest apiRequest)
        {
            string encoded = _queryStringBuilderFactory.Create()
                             .Add(request.Model)
                             .ToString();

            _ = apiRequest.AddParameter(
                ContentTypeConstants.Application.FormUrlEncoded,
                encoded,
                ContentTypeConstants.Application.FormUrlEncoded,
                ParameterType.RequestBody);
        }
        /// <summary>
        /// Get query string for the given instance
        /// </summary>
        /// <param name="instance">Make query string from this object</param>
        /// <returns>The query string</returns>
        /// <exception cref="ArgumentNullException"><paramref name="instance"/> is null</exception>
        public string GetQueryString(T instance)
        {
            Argument.NotNull(instance, nameof(instance));

            var dictionary = _queryDictionaryBuilder.GetDictionary(instance);

            string query = _queryStringBuilderFactory.Create()
                           .Add(dictionary)
                           .ToString();

            return(query);
        }