Exemple #1
0
        /// <summary>Snippet for OneOfMethodAsync</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 OneOfMethodRequestObjectAsync()
        {
            // Create client
            SnippetsClient snippetsClient = await SnippetsClient.CreateAsync();

            // Initialize request argument(s)
            OneOfRequest request = new OneOfRequest
            {
                NonOneOfString = "",
                AString        = "",
            };
            // Make the request
            Response response = await snippetsClient.OneOfMethodAsync(request);
        }