Esempio n. 1
0
        private static IDictionary <string, string> ConvertListSubscriptions(ListSubscriptionsRequest request)
        {
            IDictionary <string, string> dictionary = new Dictionary <string, string>();

            dictionary["Action"] = "ListSubscriptions";
            if (request.IsSetNextToken())
            {
                dictionary["NextToken"] = request.NextToken;
            }
            return(dictionary);
        }
Esempio n. 2
0
        /**
         * Convert ListSubscriptionsRequest to name value pairs
         */
        private static IDictionary<string, string> ConvertListSubscriptions(ListSubscriptionsRequest request)
        {
            IDictionary<string, string> parameters = new Dictionary<string, string>();
            parameters["Action"] = "ListSubscriptions";
            if (request.IsSetNextToken())
            {
                parameters["NextToken"] = request.NextToken;
            }

            return parameters;
        }