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

use SellingPartnerApi\Dto;

final class TextItem extends Dto
{
    /**
     * @param  int  $position  The rank or index of this text item within the collection. Different items cannot occupy the same position within a single collection.
     * @param  TextComponent  $text  Rich text content.
     */
    public function __construct(
        public readonly int $position,
        public readonly TextComponent $text,
    ) {}
}
