<?php

namespace XCloner\Srmklive\Dropbox;

if (!defined('ABSPATH') && \PHP_SAPI !== 'cli') {
    die;
}
class DropboxUploadCounter
{
    /**
     * 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;
    /**
     * @param string $session_id
     * @param int    $offset
     */
    public function __construct($session_id, $offset = 0)
    {
        $this->session_id = $session_id;
        $this->offset = $offset;
    }
}
