Skip to content

Commit

Permalink
fix: corrects values for state enum based on API document
Browse files Browse the repository at this point in the history
  • Loading branch information
ndorin committed Aug 15, 2024
1 parent 52afe7b commit 977eaa8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/JsonObjects/ApiObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,19 @@ public class TestPatternObject

public class Redundancy
{

[JsonProperty("state")]
[JsonConverter(typeof(StringEnumConverter))]
public eRedundancyState State { get; set; }
}

public enum eRedundancyState
{
main,
backup,
active,
mixed,
standby,
main,
backup
}

public class PresetNameObject
Expand Down

0 comments on commit 977eaa8

Please sign in to comment.