/// <summary>
 /// Exchange code for GitHub access token for AppService CLI
 /// </summary>
 /// <remarks>
 /// Description for Exchange code for GitHub access token for AppService CLI
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='code'>
 /// Code string to exchange for Github Access token
 /// </param>
 /// <param name='state'>
 /// State string used for verification.
 /// </param>
 public static AppserviceGithubToken GenerateGithubAccessTokenForAppserviceCLIAsync(this IWebSiteManagementClient operations, string code, string state)
 {
     return(operations.GenerateGithubAccessTokenForAppserviceCLIAsyncAsync(code, state).GetAwaiter().GetResult());
 }