2022-07-22 10:01:45 +02:00
|
|
|
// <auto-generated/>
|
|
|
|
|
#nullable enable
|
|
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.Blazor.GraphQl
|
|
|
|
|
{
|
2022-08-22 17:25:41 +02:00
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "12.12.1.0")]
|
2022-07-22 10:01:45 +02:00
|
|
|
public partial class DictionaryResult : global::System.IEquatable<DictionaryResult>, IDictionaryResult
|
|
|
|
|
{
|
|
|
|
|
public DictionaryResult(global::System.Collections.Generic.IReadOnlyList<global::WotBlitzStatisticsPro.Blazor.GraphQl.IDictionary_Vehicles> vehicles)
|
|
|
|
|
{
|
|
|
|
|
Vehicles = vehicles;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns a list of all vehicles of one nation
|
|
|
|
|
///
|
|
|
|
|
///
|
|
|
|
|
/// **Returns:**
|
|
|
|
|
/// A list of vehicles
|
|
|
|
|
/// </summary>
|
|
|
|
|
public global::System.Collections.Generic.IReadOnlyList<global::WotBlitzStatisticsPro.Blazor.GraphQl.IDictionary_Vehicles> 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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|