mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 02:17:20 +02:00
35 lines
1.7 KiB
C#
35 lines
1.7 KiB
C#
// <auto-generated/>
|
|
#nullable enable
|
|
|
|
namespace WotBlitzStatisticsPro.Blazor.GraphQl.State
|
|
{
|
|
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "12.12.1.0")]
|
|
public partial class DictionaryResultInfo : global::StrawberryShake.IOperationResultDataInfo
|
|
{
|
|
private readonly global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> _entityIds;
|
|
private readonly global::System.UInt64 _version;
|
|
public DictionaryResultInfo(global::System.Collections.Generic.IReadOnlyList<global::WotBlitzStatisticsPro.Blazor.GraphQl.State.VehicleResponseData> vehicles, global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> entityIds, global::System.UInt64 version)
|
|
{
|
|
Vehicles = vehicles;
|
|
_entityIds = entityIds ?? throw new global::System.ArgumentNullException(nameof(entityIds));
|
|
_version = version;
|
|
}
|
|
|
|
/// <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.State.VehicleResponseData> Vehicles { get; }
|
|
|
|
public global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> EntityIds => _entityIds;
|
|
public global::System.UInt64 Version => _version;
|
|
public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version)
|
|
{
|
|
return new DictionaryResultInfo(Vehicles, _entityIds, version);
|
|
}
|
|
}
|
|
}
|