2021-05-15 17:36:35 +02:00
|
|
|
// <auto-generated/>
|
|
|
|
|
#nullable enable
|
|
|
|
|
|
|
|
|
|
namespace WotBlitzStatisticsPro.Blazor.GraphQl.State
|
|
|
|
|
{
|
2022-08-22 17:25:41 +02:00
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "12.12.1.0")]
|
2021-05-15 17:36:35 +02:00
|
|
|
public partial class FindPlayersResultInfo : global::StrawberryShake.IOperationResultDataInfo
|
|
|
|
|
{
|
|
|
|
|
private readonly global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> _entityIds;
|
|
|
|
|
private readonly global::System.UInt64 _version;
|
2021-05-28 16:56:12 +02:00
|
|
|
public FindPlayersResultInfo(global::System.Collections.Generic.IReadOnlyList<global::WotBlitzStatisticsPro.Blazor.GraphQl.State.AccountsSearchResponseItemData>? players, global::System.Collections.Generic.IReadOnlyCollection<global::StrawberryShake.EntityId> entityIds, global::System.UInt64 version)
|
2021-05-15 17:36:35 +02:00
|
|
|
{
|
|
|
|
|
Players = players;
|
|
|
|
|
_entityIds = entityIds ?? throw new global::System.ArgumentNullException(nameof(entityIds));
|
|
|
|
|
_version = version;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Finds Wargaming accounts by nick
|
|
|
|
|
/// </summary>
|
2021-05-28 16:56:12 +02:00
|
|
|
public global::System.Collections.Generic.IReadOnlyList<global::WotBlitzStatisticsPro.Blazor.GraphQl.State.AccountsSearchResponseItemData>? Players { get; }
|
2021-05-15 17:36:35 +02:00
|
|
|
|
|
|
|
|
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 FindPlayersResultInfo(Players, _entityIds, version);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|