mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Introduce Mastodon entity factories and API\Entity
This commit is contained in:
parent
c748a82e8f
commit
5a1abb8c7d
16 changed files with 411 additions and 224 deletions
20
src/Api/Entity/Mastodon/Field.php
Normal file
20
src/Api/Entity/Mastodon/Field.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Api\Entity\Mastodon;
|
||||
|
||||
use Friendica\Api\BaseEntity;
|
||||
|
||||
/**
|
||||
* Class Field
|
||||
*
|
||||
* @see https://docs.joinmastodon.org/api/entities/#field
|
||||
*/
|
||||
class Field extends BaseEntity
|
||||
{
|
||||
/** @var string */
|
||||
protected $name;
|
||||
/** @var string (HTML) */
|
||||
protected $value;
|
||||
/** @var string (Datetime)*/
|
||||
protected $verified_at;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue