/// <summary>
        /// This API allows you to query your LoginRadius Cloud Storage and retrieve up to 20 user records.
        /// </summary>
        /// <param name="select"> Fields included in the Query, default all fields, Optional: can be null or empty string</param>
        /// <param name="from">LoginRadius Table that details are being retrieved from, for now users only supported </param>
        /// <param name="where">Filter for data based on condition,Optional: can be null or empty string </param>
        /// <param name="orderBy">Determines ascending order of returned data,Optional: can be null or empty string</param>
        /// <param name="skip">Ignores the specified amount of values used to page through responses, value must be positive and default value is 0, Optional: can be null or empty string</param>
        /// <param name="limit">Determines size of dataset returned. default value is 20 and max value is 20, Optional: can be null or empty string</param>
        /// <returns></returns>
        public ApiResponse <LoginRadiusIdentityUserList> GetUserList(string select  = "", string from = "", string where = "",
                                                                     string orderBy = "", string skip = "",
                                                                     string limit   = "")
        {
            var postRequest = new BodyParameters
            {
                { "From", string.IsNullOrWhiteSpace(from) ? "users" : from }
            };

            if (!string.IsNullOrWhiteSpace(select))
            {
                postRequest.Add("Select", select);
            }
            if (!string.IsNullOrWhiteSpace(where))
            {
                postRequest.Add("Where", where);
            }
            if (!string.IsNullOrWhiteSpace(orderBy))
            {
                postRequest.Add("OrderBy", orderBy);
            }
            if (!string.IsNullOrWhiteSpace(skip))
            {
                postRequest.Add("Skip", skip);
            }
            if (!string.IsNullOrWhiteSpace(limit))
            {
                postRequest.Add("Limit", limit);
            }
            return(ConfigureAndExecute <LoginRadiusIdentityUserList>(RequestType.Cloud, HttpMethod.Post,
                                                                     "identity",
                                                                     postRequest.ConvertToJson()));
        }
    public void AddHeaderParameter(string key, string value)
    {
        var comparison = StringComparison.InvariantCultureIgnoreCase;

        if (key.StartsWith("content-", comparison) &&
            !string.IsNullOrEmpty(value) &&
            !BodyParameters.ContainsKey(key))
        {
            BodyParameters.Add(key, value);
        }
        HeaderParameters[key] = value;
    }
 public void AddBodyParameters(string name, object value)
 {
     BodyParameters.Add(new KeyValuePair <string, object>(name, value));
 }
 public void AddJsonBody(string body)
 {
     SetBody(Encoding.UTF8.GetBytes(body));
     BodyParameters.Add(ContentTypeKey, "application/json");
 }
 public void AddBodyParameter(string key, string value)
 {
     BodyParameters.Add(key, value);
 }
 public void AddBodyParameters(string name, string value)
 {
     BodyParameters.Add(new KeyValuePair <string, string>(name, value));
 }