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

use SellingPartnerApi\Dto;

final class PatchOperation extends Dto
{
    /**
     * @param  string  $op  Type of JSON Patch operation. Supported JSON Patch operations include add, replace, and delete. See <https://tools.ietf.org/html/rfc6902>.
     * @param  string  $path  JSON Pointer path of the element to patch. See <https://tools.ietf.org/html/rfc6902>.
     * @param  mixed[][]|null  $value  JSON value to add, replace, or delete.
     */
    public function __construct(
        public readonly string $op,
        public readonly string $path,
        public readonly ?array $value = null,
    ) {}
}
