1 | <?php declare(strict_types = 1); |
||
9 | abstract class AbstractDataWrapper |
||
10 | { |
||
11 | /** |
||
12 | * The HTTP status code of the returned result. |
||
13 | * |
||
14 | * @var int |
||
15 | */ |
||
16 | private $code; |
||
17 | |||
18 | /** |
||
19 | * A string description of the call status. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | private $status; |
||
24 | |||
25 | /** |
||
26 | * The copyright notice for the returned result. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | private $copyright; |
||
31 | |||
32 | /** |
||
33 | * The attribution notice for this result. Please display either this notice or the contents of the attributionHTML field on all screens which contain data from the Marvel Comics API. |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | private $attributionText; |
||
38 | |||
39 | /** |
||
40 | * An HTML representation of the attribution notice for this result. Please display either this notice or the contents of the attributionText field on all screens which contain data from the Marvel Comics API. |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | private $attributionHTML; |
||
45 | |||
46 | /** |
||
47 | * A digest value of the content returned by the call. |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | private $etag; |
||
52 | |||
53 | /** |
||
54 | * @return int |
||
55 | */ |
||
56 | public function getCode() |
||
60 | |||
61 | /** |
||
62 | * @param int $code |
||
63 | */ |
||
64 | public function setCode(int $code) |
||
68 | |||
69 | /** |
||
70 | * @return string |
||
71 | */ |
||
72 | public function getStatus() |
||
76 | |||
77 | /** |
||
78 | * @param string $status |
||
79 | */ |
||
80 | public function setStatus(string $status) |
||
84 | |||
85 | /** |
||
86 | * @return string |
||
87 | */ |
||
88 | public function getCopyright() |
||
92 | |||
93 | /** |
||
94 | * @param string $copyright |
||
95 | */ |
||
96 | public function setCopyright(string $copyright) |
||
100 | |||
101 | /** |
||
102 | * @return string |
||
103 | */ |
||
104 | public function getAttributionText() |
||
108 | |||
109 | /** |
||
110 | * @param string $attributionText |
||
111 | */ |
||
112 | public function setAttributionText(string $attributionText) |
||
116 | |||
117 | /** |
||
118 | * @return string |
||
119 | */ |
||
120 | public function getAttributionHTML() |
||
124 | |||
125 | /** |
||
126 | * @param string $attributionHTML |
||
127 | */ |
||
128 | public function setAttributionHTML(string $attributionHTML) |
||
132 | |||
133 | /** |
||
134 | * @return string |
||
135 | */ |
||
136 | public function getEtag() |
||
140 | |||
141 | /** |
||
142 | * @param string $etag |
||
143 | */ |
||
144 | public function setEtag(string $etag) |
||
148 | } |
||
149 |