Package 

Class EnumValueOptionsKt.Dsl

    • Method Detail

      • clearDeprecated

         final Unit clearDeprecated()
        <pre> Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values. </pre>

        <code>optional bool deprecated = 1 default = false;</code>

      • hasDeprecated

         final Boolean hasDeprecated()
        <pre> Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values. </pre>

        <code>optional bool deprecated = 1 default = false;</code>