/// <summary>
 /// Delete an action plan instance
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='actionPlanId'>
 /// The instance of the plan to delete.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IActionPlans operations, System.Guid actionPlanId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(actionPlanId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Get an instance of a specific action plan
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='actionPlanId'>
 /// The action plan to update.
 /// </param>
 public static ActionPlanInstance GetById(this IActionPlans operations, System.Guid actionPlanId)
 {
     return(operations.GetByIdAsync(actionPlanId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Delete an action plan instance
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='actionPlanId'>
 /// The instance of the plan to delete.
 /// </param>
 public static void Delete(this IActionPlans operations, System.Guid actionPlanId)
 {
     operations.DeleteAsync(actionPlanId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Update an action plan instance with merge
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='actionPlan'>
 /// The instance of the plan to update. Only the fields present in the passed
 /// in model will be updated. All other fields and colelctions
 /// will be left, as is, unless invalid.
 /// </param>
 public static ActionPlanInstance Update(this IActionPlans operations, ActionPlanInstance actionPlan)
 {
     return(operations.UpdateAsync(actionPlan).GetAwaiter().GetResult());
 }