<?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\FBAInboundV20240320\Dto;

use SellingPartnerApi\Dto;

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

    /**
     * @param  ?\DateTimeInterface  $expiresAt  The ISO 8601 datetime with pattern `yyyy-MM-ddTHH:mm:ss.sssZ`.
     * @param  AppointmentSlot[]|null  $slots  List of appointment slots.
     */
    public function __construct(
        public readonly ?\DateTimeInterface $expiresAt = null,
        public readonly ?array $slots = null,
    ) {}
}
