<?php

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

declare(strict_types=1);

namespace SellingPartnerApi\Seller\ServicesV1\Dto;

use SellingPartnerApi\Dto;

final class AppointmentSlotReport extends Dto
{
    protected static array $complexArrayTypes = ['appointmentSlots' => AppointmentSlot::class];

    /**
     * @param  ?string  $schedulingType  Defines the type of slots.
     * @param  ?\DateTimeInterface  $startTime  Start Time from which the appointment slots are generated in ISO 8601 format.
     * @param  ?\DateTimeInterface  $endTime  End Time up to which the appointment slots are generated in ISO 8601 format.
     * @param  AppointmentSlot[]|null  $appointmentSlots  A list of time windows along with associated capacity in which the service can be performed.
     */
    public function __construct(
        public readonly ?string $schedulingType = null,
        public readonly ?\DateTimeInterface $startTime = null,
        public readonly ?\DateTimeInterface $endTime = null,
        public readonly ?array $appointmentSlots = null,
    ) {}
}
