Files
WotBlitzStatisticsBlazor/WotBlitzStatisticsPro.Blazor/Generated/FindClansResult.WotBlitzStatisticsProClient.StrawberryShake.cs

77 lines
2.1 KiB
C#

// <auto-generated/>
#nullable enable
namespace WotBlitzStatisticsPro.Blazor.GraphQl
{
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "12.12.1.0")]
public partial class FindClansResult : global::System.IEquatable<FindClansResult>, IFindClansResult
{
public FindClansResult(global::System.Collections.Generic.IReadOnlyList<global::WotBlitzStatisticsPro.Blazor.GraphQl.IFindClans_Clans>? clans)
{
Clans = clans;
}
/// <summary>
/// Finds clans by search string
/// </summary>
public global::System.Collections.Generic.IReadOnlyList<global::WotBlitzStatisticsPro.Blazor.GraphQl.IFindClans_Clans>? Clans { get; }
public virtual global::System.Boolean Equals(FindClansResult? other)
{
if (ReferenceEquals(null, other))
{
return false;
}
if (ReferenceEquals(this, other))
{
return true;
}
if (other.GetType() != GetType())
{
return false;
}
return (global::StrawberryShake.Helper.ComparisonHelper.SequenceEqual(Clans, other.Clans));
}
public override global::System.Boolean Equals(global::System.Object? obj)
{
if (ReferenceEquals(null, obj))
{
return false;
}
if (ReferenceEquals(this, obj))
{
return true;
}
if (obj.GetType() != GetType())
{
return false;
}
return Equals((FindClansResult)obj);
}
public override global::System.Int32 GetHashCode()
{
unchecked
{
int hash = 5;
if (Clans != null)
{
foreach (var Clans_elm in Clans)
{
hash ^= 397 * Clans_elm.GetHashCode();
}
}
return hash;
}
}
}
}