AutoRestSettingsExtensions.

UseFlattenThreshold(AutoRestSettings, int) Method

Summary

Sets the property flattening threshold (see AutoRestSettings)
Assembly
Cake.AutoRest.dll
Namespace
Cake.AutoRest
Containing Type
AutoRestSettingsExtensions

Syntax

public static AutoRestSettings UseFlattenThreshold(this AutoRestSettings settings, int threshold)

Parameters

Name Type Description
settings AutoRestSettings Settings
threshold int Maximum number of properties to use method overloading for

Return Value

Type Description
AutoRestSettings The updated settings object