/// <summary>
 /// Gets all incidents.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition. Optional.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results. Optional.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results. Optional.
 /// </param>
 /// <param name='skipToken'>
 /// Skiptoken is only used if a previous operation returned a partial result.
 /// If a previous response contains a nextLink element, the value of the
 /// nextLink element will include a skiptoken parameter that specifies a
 /// starting point to use for subsequent calls. Optional.
 /// </param>
 public static IPage <Incident> List(this IIncidentsOperations operations, string resourceGroupName, string workspaceName, string filter = default(string), string orderby = default(string), int?top = default(int?), string skipToken = default(string))
 {
     return(operations.ListAsync(resourceGroupName, workspaceName, filter, orderby, top, skipToken).GetAwaiter().GetResult());
 }