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

use SellingPartnerApi\Response;

final class CreateRestrictedDataTokenResponse extends Response
{
    /**
     * @param  ?string  $restrictedDataToken  A Restricted Data Token (RDT). This is a short-lived access token that authorizes calls to restricted operations. Pass this value with the x-amz-access-token header when making subsequent calls to these restricted resources.
     * @param  ?int  $expiresIn  The lifetime of the Restricted Data Token, in seconds.
     */
    public function __construct(
        public readonly ?string $restrictedDataToken = null,
        public readonly ?int $expiresIn = null,
    ) {}
}
