예제 #1
0
        /// <summary>Snippet for Method2Async</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task Method2ResourceNamesAsync()
        {
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            ResourceName @while = ResourceName.FromItem("[ITEM_ID]");
            Enum         @enum  = Enum.Void;
            // Make the request
            Response response = await keywordsClient.Method2Async(@while, @enum);
        }
        /// <summary>Snippet for Method2Async</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task Method2Async()
        {
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            string @while = "items/[ITEM_ID]";
            Enum   @enum  = Enum.Void;
            // Make the request
            Response response = await keywordsClient.Method2Async(@while, @enum);
        }
        /// <summary>Snippet for Method1Async</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task Method1Async()
        {
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            string @event  = "items/[ITEM_ID]";
            int    @switch = 0;
            Enum   @void   = Enum.Void;
            string request = "";
            string types   = "";
            // Make the request
            Response response = await keywordsClient.Method1Async(@event, @switch, @void, request, types);
        }
예제 #4
0
        /// <summary>Snippet for Method2Async</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task Method2RequestObjectAsync()
        {
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            Resource request = new Resource
            {
                WhileAsResourceName = ResourceName.FromItem("[ITEM_ID]"),
                Enum = Enum.Void,
            };
            // Make the request
            Response response = await keywordsClient.Method2Async(request);
        }
예제 #5
0
        /// <summary>Snippet for Method2Async</summary>
        public async Task Method2ResourceNamesAsync()
        {
            // Snippet: Method2Async(ResourceName, Enum, CallSettings)
            // Additional: Method2Async(ResourceName, Enum, CancellationToken)
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            ResourceName @while = ResourceName.FromItem("[ITEM_ID]");
            Enum         @enum  = Enum.Void;
            // Make the request
            Response response = await keywordsClient.Method2Async(@while, @enum);

            // End snippet
        }
예제 #6
0
        /// <summary>Snippet for Method2Async</summary>
        public async Task Method2Async()
        {
            // Snippet: Method2Async(string, Enum, CallSettings)
            // Additional: Method2Async(string, Enum, CancellationToken)
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            string @while = "items/[ITEM_ID]";
            Enum   @enum  = Enum.Void;
            // Make the request
            Response response = await keywordsClient.Method2Async(@while, @enum);

            // End snippet
        }
        /// <summary>Snippet for Method1Async</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task Method1RequestObjectAsync()
        {
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            Request request = new Request
            {
                EventAsResourceName = ResourceName.FromItem("[ITEM_ID]"),
                Switch   = 0,
                Void     = Enum.Void,
                Request_ = "",
                Types_   = "",
            };
            // Make the request
            Response response = await keywordsClient.Method1Async(request);
        }
예제 #8
0
        /// <summary>Snippet for Method1Async</summary>
        public async Task Method1Async()
        {
            // Snippet: Method1Async(string, int, Enum, string, string, CallSettings)
            // Additional: Method1Async(string, int, Enum, string, string, CancellationToken)
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            string @event  = "items/[ITEM_ID]";
            int    @switch = 0;
            Enum   @void   = Enum.Void;
            string request = "";
            string types   = "";
            // Make the request
            Response response = await keywordsClient.Method1Async(@event, @switch, @void, request, types);

            // End snippet
        }
예제 #9
0
        /// <summary>Snippet for Method2Async</summary>
        public async Task Method2RequestObjectAsync()
        {
            // Snippet: Method2Async(Resource, CallSettings)
            // Additional: Method2Async(Resource, CancellationToken)
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            Resource request = new Resource
            {
                WhileAsResourceName = ResourceName.FromItem("[ITEM_ID]"),
                Enum = Enum.Void,
            };
            // Make the request
            Response response = await keywordsClient.Method2Async(request);

            // End snippet
        }
예제 #10
0
        /// <summary>Snippet for Method1Async</summary>
        public async Task Method1RequestObjectAsync()
        {
            // Snippet: Method1Async(Request, CallSettings)
            // Additional: Method1Async(Request, CancellationToken)
            // Create client
            KeywordsClient keywordsClient = await KeywordsClient.CreateAsync();

            // Initialize request argument(s)
            Request request = new Request
            {
                EventAsResourceName = ResourceName.FromItem("[ITEM_ID]"),
                Switch   = 0,
                Void     = Enum.Void,
                Request_ = "",
                Types_   = "",
            };
            // Make the request
            Response response = await keywordsClient.Method1Async(request);

            // End snippet
        }