<?php

namespace aliyun\OSS\Model;

/**
 * Class DeleteObjectInfo
 * @package OSS\Model
 */
class DeleteObjectInfo
{
    /**
     * DeleteObjectInfo constructor.
     *
     * @param string $key
     * @param string $versionId
     */
    public function __construct($key, $versionId = '')
    {
        $this->key = $key;
        $this->versionId = $versionId;
    }

    /**
     * @return string
     */
    public function getKey()
    {
        return $this->key;
    }

    /**
     * @return string
     */
    public function getVersionId()
    {
        return $this->versionId;
    }
    
    private $key = "";
    private $versionId = "";
}