<?php

/**
 * This file is auto-generated by Saloon SDK Generator
 * Generator: SellingPartnerApi\Generator\Generators\ResponseGenerator
 * Do not modify it directly.
 */

declare(strict_types=1);

namespace SellingPartnerApi\Seller\ReportsV20210630\Responses;

use SellingPartnerApi\Response;

final class GetReportsResponse extends Response
{
    protected static array $complexArrayTypes = ['reports' => Report::class];

    /**
     * @param  Report[]  $reports  A list of reports.
     * @param  ?string  $nextToken  Returned when the number of results exceeds `pageSize`. To get the next page of results, call `getReports` with this token as the only parameter.
     */
    public function __construct(
        public readonly array $reports,
        public readonly ?string $nextToken = null,
    ) {}
}
