Table of Contents

Enum MandVolu

Namespace
DatabentoDotNet.Reference
Assembly
DatabentoDotNet.Reference.dll

Mandatory or voluntary.

[JsonConverter(typeof(MandVoluJsonConverter))]
public enum MandVolu : byte
Extension Methods

Fields

MandVolu = 87

Mandatory and/or voluntary (W).

Mandatory = 77

Mandatory (M).

Voluntary = 86

Voluntary (V).

Remarks

One of the nine closed reference enums: byte-backed, one character on the wire, and an unrecognised code is an error rather than an opaque value. ReferenceWireStrings carries the argument for all three.

MandVolu names both this type and its third member, which is upstream's spelling and is kept. C# permits an enum member whose name equals its enclosing type — the restriction that forbids it for a class member does not extend to enums — so the only cost is that the member has to be written MandVolu.MandVolu, which reads no worse than the alternative of inventing a name upstream does not use.

Ported from databento-rs/src/reference/enums.rs:3102, and checked against the MANDVOLU group of the vendored corporate_actions.list_enums response, which reports the same three codes.