Commit a6641000 authored by Keven's avatar Keven
Browse files

Added "thumbnail" property on Resource model

parent e6583b9b
......@@ -376,7 +376,8 @@ $resource->subtitle // Optional subtitle for the stream
$resource->publishedAt // Publication date (may be in the future to schedule a publication)
$resource->visibility // Visibility of the stream (public, hidden, protected)
$resource->duration // Video/Audio duration in seconds
$resource->views // Overall views on this resource
$resource->views // Overall views on this resource (immutable)
$resource->thumbnail // URL to the Resource thumbnail (immutable)
$resource->embed // Embed of the resource (immutable)
$resource->metadata // Array of metadata
$resource->usages // Collection of usages
......
......@@ -70,6 +70,13 @@ class Resource extends Entity implements ResourceInterface
*/
protected $views;
/**
*
* @Type("string")
* @var string
*/
protected $thumbnail;
/**
* @XmlList(entry = "flavor")
* @Type("array<Libcast\Client\Entity\Flavor>")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment