1 | <?php |
||
21 | final class Board implements BaseObject |
||
22 | { |
||
23 | /** |
||
24 | * The required fields. |
||
25 | * |
||
26 | * @return array The required fields. |
||
27 | */ |
||
28 | 8 | public static function fields() |
|
40 | |||
41 | /** |
||
42 | * The boards's id. |
||
43 | * |
||
44 | * @var string |
||
45 | * @required |
||
46 | */ |
||
47 | public $id; |
||
48 | |||
49 | /** |
||
50 | * The name of the board. |
||
51 | * |
||
52 | * @var string |
||
53 | */ |
||
54 | public $name; |
||
55 | |||
56 | /** |
||
57 | * The url to the object on pinterest. |
||
58 | * |
||
59 | * @var string |
||
60 | */ |
||
61 | public $url; |
||
62 | |||
63 | /** |
||
64 | * The description of the board by the creator. |
||
65 | * |
||
66 | * @var string |
||
67 | */ |
||
68 | public $description; |
||
69 | |||
70 | /** |
||
71 | * ISO 8601 Timestamp of creation date. |
||
72 | * |
||
73 | * @var \DateTime |
||
74 | */ |
||
75 | public $created_at; |
||
76 | |||
77 | /** |
||
78 | * The stats/counts of the Board (pins, collaborators and followers). |
||
79 | * |
||
80 | * @var Stats |
||
81 | */ |
||
82 | public $counts; |
||
83 | |||
84 | /** |
||
85 | * Information about the media type, including whether it's an "image" or "video".. |
||
86 | * |
||
87 | * @var array |
||
88 | */ |
||
89 | public $image; |
||
90 | } |
||
91 |