This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AutoRest.
Summary
Sets the property flattening threshold (see
AutoRestSettings)
- Assembly
- Cake
.AutoRest .dll - Namespace
- Cake
.AutoRest - Containing Type
- Auto
Rest Settings Extensions
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 |
