for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the DigitalOceanV2 library.
*
* (c) Antoine Corcy <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DigitalOceanV2\Entity;
/**
* @author Yassir Hannoun <[email protected]>
final class Snapshot extends AbstractEntity
{
* @var string
public $id;
public $name;
public $createdAt;
public $resourceId;
public $resourceType;
* @var int
public $minDiskSize;
* @var float
public $sizeGigabytes;
* @var string[]
public $regions = [];
* @param string $createdAt
public function setCreatedAt($createdAt)
$this->createdAt = static::convertDateTime($createdAt);
}