jellyfin-sdk-csharp/nuke/Configuration.cs
Cody Robibero 99e1ec336f
Migrate to Kiota (#19)
* initial kiota migration

* remove old folder

* move sample

* update build scripts
2024-02-22 12:01:51 -07:00

15 lines
431 B
C#

using System.ComponentModel;
using Nuke.Common.Tooling;
[TypeConverter(typeof(TypeConverter<Configuration>))]
public class Configuration : Enumeration
{
public static Configuration Stable = new() { Value = nameof(Stable) };
public static Configuration Unstable = new() { Value = nameof(Unstable) };
public static implicit operator string(Configuration configuration)
{
return configuration.Value;
}
}