//
#nullable enable
namespace WotBlitzStatisticsPro.Blazor.GraphQl
{
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "12.12.1.0")]
public partial class DictionaryResult : global::System.IEquatable, IDictionaryResult
{
public DictionaryResult(global::System.Collections.Generic.IReadOnlyList vehicles)
{
Vehicles = vehicles;
}
///
/// Returns a list of all vehicles of one nation
///
///
/// **Returns:**
/// A list of vehicles
///
public global::System.Collections.Generic.IReadOnlyList Vehicles { get; }
public virtual global::System.Boolean Equals(DictionaryResult? 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(Vehicles, other.Vehicles));
}
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((DictionaryResult)obj);
}
public override global::System.Int32 GetHashCode()
{
unchecked
{
int hash = 5;
foreach (var Vehicles_elm in Vehicles)
{
hash ^= 397 * Vehicles_elm.GetHashCode();
}
return hash;
}
}
}
}