/// <summary>
 /// Test explicitly optional complex object. Please put null.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='bodyParameter'>
 /// </param>
 public static void PostOptionalClassParameter(this IExplicitModel operations, Product bodyParameter = default(Product))
 {
     operations.PostOptionalClassParameterAsync(bodyParameter).GetAwaiter().GetResult();
 }