// #nullable enable namespace WotBlitzStatisticsPro.Blazor.GraphQl { [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "12.12.1.0")] public partial class RequestLanguageSerializer : global::StrawberryShake.Serialization.IInputValueFormatter, global::StrawberryShake.Serialization.ILeafValueParser { public global::System.String TypeName => "RequestLanguage"; public RequestLanguage Parse(global::System.String serializedValue) { return serializedValue switch { "RU" => RequestLanguage.Ru, "EN" => RequestLanguage.En, "DE" => RequestLanguage.De, _ => throw new global::StrawberryShake.GraphQLClientException()}; } public global::System.Object Format(global::System.Object? runtimeValue) { return runtimeValue switch { RequestLanguage.Ru => "RU", RequestLanguage.En => "EN", RequestLanguage.De => "DE", _ => throw new global::StrawberryShake.GraphQLClientException()}; } } }