<?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\APlusContentV20201101\Responses;

use SellingPartnerApi\Response;
use SellingPartnerApi\Seller\APlusContentV20201101\Dto\ContentRecord;
use SellingPartnerApi\Seller\APlusContentV20201101\Dto\Error;

final class GetContentDocumentResponse extends Response
{
    protected static array $complexArrayTypes = ['warnings' => [Error::class]];

    /**
     * @param  ContentRecord  $contentRecord  A content document with additional information for content management.
     * @param  Error[]|null  $warnings  A set of messages to the user, such as warnings or comments.
     */
    public function __construct(
        public readonly ContentRecord $contentRecord,
        public readonly ?array $warnings = null,
    ) {}
}
