/// <summary>
 /// Test explicitly required complex object. Please put a valid class-wrapper
 /// with 'value' = 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='value'>
 /// </param>
 public static Error PostRequiredClassProperty(this IExplicitModel operations, Product value)
 {
     return(operations.PostRequiredClassPropertyAsync(value).GetAwaiter().GetResult());
 }