Skip to content

Commit

Permalink
test required in flowcontrol
Browse files Browse the repository at this point in the history
  • Loading branch information
agray committed Jan 4, 2025
1 parent ef6c683 commit 2d1ea63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Saucery.Core/Dojo/PlatformConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class PlatformConfigurator

public PlatformConfigurator(PlatformFilter filter)
{
if(AvailablePlatforms.Any())
if(AvailablePlatforms.Count != 0)
{
DebugMessages.AvailablePlatformsAlreadyPopulated();
}
Expand Down
19 changes: 10 additions & 9 deletions Saucery.Core/RestAPI/FlowControl/FlowControl.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
namespace Saucery.Core.RestAPI.FlowControl;

#pragma warning disable IDE1006 // Naming Styles
public class FlowControl
{
public double timestamp { get; set; }
public Concurrency concurrency { get; set; }
public required Concurrency concurrency { get; set; }
}

public class Allowed
Expand All @@ -16,8 +17,8 @@ public class Allowed

public class Concurrency
{
public Organization organization { get; set; }
public Team team { get; set; }
public required Organization organization { get; set; }
public required Team team { get; set; }
}

public class Current
Expand All @@ -30,16 +31,16 @@ public class Current

public class Organization
{
public Current current { get; set; }
public string id { get; set; }
public Allowed allowed { get; set; }
public required Current current { get; set; }
public required string id { get; set; }
public required Allowed allowed { get; set; }
}

public class Team
{
public Current current { get; set; }
public string id { get; set; }
public Allowed allowed { get; set; }
public required Current current { get; set; }
public required string id { get; set; }
public required Allowed allowed { get; set; }
}

/*
Expand Down

0 comments on commit 2d1ea63

Please sign in to comment.