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 ...@@ -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->publishedAt // Publication date (may be in the future to schedule a publication)
$resource->visibility // Visibility of the stream (public, hidden, protected) $resource->visibility // Visibility of the stream (public, hidden, protected)
$resource->duration // Video/Audio duration in seconds $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->embed // Embed of the resource (immutable)
$resource->metadata // Array of metadata $resource->metadata // Array of metadata
$resource->usages // Collection of usages $resource->usages // Collection of usages
......
...@@ -70,6 +70,13 @@ class Resource extends Entity implements ResourceInterface ...@@ -70,6 +70,13 @@ class Resource extends Entity implements ResourceInterface
*/ */
protected $views; protected $views;
/**
*
* @Type("string")
* @var string
*/
protected $thumbnail;
/** /**
* @XmlList(entry = "flavor") * @XmlList(entry = "flavor")
* @Type("array<Libcast\Client\Entity\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