/// <summary> /// Test explicitly optional complex object. Please put a valid class-wrapper /// with 'value' = null. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='value'> /// </param> public static void PostOptionalClassProperty(this IExplicitModel operations, Product value = default(Product)) { operations.PostOptionalClassPropertyAsync(value).GetAwaiter().GetResult(); }