//
#nullable enable
namespace WotBlitzStatisticsPro.Blazor.GraphQl.State
{
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "12.12.1.0")]
public partial class FindClansResultInfo : global::StrawberryShake.IOperationResultDataInfo
{
private readonly global::System.Collections.Generic.IReadOnlyCollection _entityIds;
private readonly global::System.UInt64 _version;
public FindClansResultInfo(global::System.Collections.Generic.IReadOnlyList? clans, global::System.Collections.Generic.IReadOnlyCollection entityIds, global::System.UInt64 version)
{
Clans = clans;
_entityIds = entityIds ?? throw new global::System.ArgumentNullException(nameof(entityIds));
_version = version;
}
///
/// Finds clans by search string
///
public global::System.Collections.Generic.IReadOnlyList? Clans { 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 FindClansResultInfo(Clans, _entityIds, version);
}
}
}