<?php

declare (strict_types=1);
namespace idoit\Module\JDisc\Graphql\Schema\Model;

use Axtiva\FlexibleGraphql\Resolver\AutoGenerationInterface;

/**
 * This code is @generated by axtiva/flexible-graphql-php
 * if you want to extend it or change, then remove interface AutoGenerationInterface
 * and it will be managed by you, not axtiva/flexible-graphql-php code generator
 * PHP representation of graphql type TableDataResult
 * The result when getting table data from the reporting service */
final class TableDataResultType implements AutoGenerationInterface
{
    /**
     * When the report gets called with an page offset which is outside the table data, then we return the last 25 rows and adjust the actual offset
     */
    public int $actualOffset;
    /**
     * The rows within a table (based on the selected paging, sorting and other settings)
     * @var null|iterable[]
     */
    public ?iterable $rows = null;
    /**
     * The number of total rows in the table (based on the selected searching, filtering, and other settings)
     */
    public int $totalRows;
    /**
     * The number of currently visible rows based on the search settings.
Note that entering search strings can reduce the number of visible rows in table because
rows not matching the search criteria are removed from the actual result.
     */
    public int $visibleRows;
}