private static IDictionary <string, string> ConvertListDomains(ListDomainsRequest request) { IDictionary <string, string> dictionary = new Dictionary <string, string>(); dictionary["Action"] = "ListDomains"; if (request.IsSetMaxNumberOfDomains()) { dictionary["MaxNumberOfDomains"] = request.MaxNumberOfDomains.ToString(); } if (request.IsSetNextToken()) { dictionary["NextToken"] = request.NextToken; } return(dictionary); }
/** * Convert ListDomainsRequest to name value pairs */ private IDictionary <String, String> ConvertListDomains(ListDomainsRequest request) { IDictionary <String, String> parameters = new Dictionary <String, String>(); parameters.Add("Action", "ListDomains"); if (request.IsSetMaxNumberOfDomains()) { parameters.Add("MaxNumberOfDomains", request.MaxNumberOfDomains + ""); } if (request.IsSetNextToken()) { parameters.Add("NextToken", request.NextToken); } return(parameters); }
/** * Convert ListDomainsRequest to name value pairs */ private static IDictionary <string, string> ConvertListDomains(ListDomainsRequest request) { IDictionary <string, string> parameters = new Dictionary <string, string>(); parameters["Action"] = "ListDomains"; if (request.IsSetMaxNumberOfDomains()) { parameters["MaxNumberOfDomains"] = request.MaxNumberOfDomains.ToString(CultureInfo.InvariantCulture); } if (request.IsSetNextToken()) { parameters["NextToken"] = request.NextToken; } return(parameters); }