//
#nullable enable
namespace WotBlitzStatisticsPro.Blazor.GraphQl.State
{
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.2.2.0")]
public partial class DictionaryResultInfo : global::StrawberryShake.IOperationResultDataInfo
{
private readonly global::System.Collections.Generic.IReadOnlyCollection _entityIds;
private readonly global::System.UInt64 _version;
public DictionaryResultInfo(global::System.Collections.Generic.IReadOnlyList vehicles, global::System.Collections.Generic.IReadOnlyCollection entityIds, global::System.UInt64 version)
{
Vehicles = vehicles;
_entityIds = entityIds ?? throw new global::System.ArgumentNullException(nameof(entityIds));
_version = version;
}
///
/// Returns a list of all vehicles of one nation
///
///
/// **Returns:**
/// A list of vehicles
///
public global::System.Collections.Generic.IReadOnlyList Vehicles { get; }
public global::System.Collections.Generic.IReadOnlyCollection EntityIds => _entityIds;
public global::System.UInt64 Version => _version;
public global::StrawberryShake.IOperationResultDataInfo WithVersion(global::System.UInt64 version)
{
return new DictionaryResultInfo(Vehicles, _entityIds, version);
}
}
}