Skip to content

[E] UsageFlags

This enum represents the different ways a model can be used in a method.

Enumeration MemberValueDescription
ApiVersionEnum8-
Exception1024Set when type is used for exception output.
External16384Set when type is only referenced by external types.
Input2-
Json256Set when type is used in conjunction with an application/json content type.
JsonMergePatch16Input and Json will also be set when JsonMergePatch is set.
LroFinalEnvelope8192Set when type is used as LRO final envelop response.
LroInitial2048Set when type is used as LRO initial response.
LroPolling4096Set when type is used as LRO polling response.
MultipartFormData32Input will also be set when MultipartFormData is set.
None0-
Output4-
Spread64Used in spread.
Xml512Set when type is used in conjunction with an application/xml content type.