for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MovingImage\Client\VMPro\Entity;
use JMS\Serializer\Annotation\Type;
use JMS\Serializer\Annotation\HandlerCallback;
use JMS\Serializer\JsonDeserializationVisitor;
use JMS\Serializer\DeserializationContext;
use MovingImage\Meta\Interfaces\AttachmentInterface;
/**
* Class Attachment.
*/
class Attachment implements AttachmentInterface
{
* @Type("string")
private $id;
private $fileName;
private $downloadUrl;
* @Type("int")
private $fileSize;
private $type;
* @return string
public function getId()
return $this->id;
}
* @param $id
*
* @return Attachment
public function setId($id)
$this->id = $id;
return $this;
public function getFileName()
return $this->fileName;
* @param $fileName
public function setFileName($fileName)
$this->fileName = $fileName;
public function getDownloadUrl()
return $this->downloadUrl;
* @param $downloadUrl
public function setDownloadUrl($downloadUrl)
$this->downloadUrl = $downloadUrl;
* @return int
public function getFileSize()
return $this->fileSize;
* @param $fileSize
public function setFileSize($fileSize)
$this->fileSize = $fileSize;
public function getType()
return $this->type;
* @param $type
public function setType($type)
$this->type = $type;