<?php
/**
 * @license MIT
 *
 * Modified using Strauss.
 * @see https://github.com/BrianHenryIE/strauss
 */

namespace WPO\WC\PDF_Invoices_Pro\Vendor\Spatie\Dropbox;

class UploadSessionCursor
{
    /**
     * The upload session ID (returned by upload_session/start).
     *
     * @var string
     */
    public $session_id;

    /**
     * The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or duplicated in the event of a network error.
     *
     * @var int
     */
    public $offset;

    public function __construct(string $session_id, int $offset = 0)
    {
        $this->session_id = $session_id;
        $this->offset = $offset;
    }
}
