/// <summary>
 /// Test explicitly required complex object. Please put null and the client
 /// library should throw before the request is sent.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='bodyParameter'>
 /// </param>
 public static Error PostRequiredClassParameter(this IExplicitModel operations, Product bodyParameter)
 {
     return(operations.PostRequiredClassParameterAsync(bodyParameter).GetAwaiter().GetResult());
 }