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

use SellingPartnerApi\Dto;

final class Constraint extends Dto
{
    protected static array $attributeMap = [
        'validationString' => 'ValidationString',
        'validationRegEx' => 'ValidationRegEx',
    ];

    /**
     * @param  string  $validationString  A validation string.
     * @param  ?string  $validationRegEx  A regular expression.
     */
    public function __construct(
        public readonly string $validationString,
        public readonly ?string $validationRegEx = null,
    ) {}
}
