@@ 9-79 (lines=71) @@ | ||
6 | * Class CharacterSummary |
|
7 | * @package Ikoene\MarvelApiBundle\Entity |
|
8 | */ |
|
9 | class CharacterSummary |
|
10 | { |
|
11 | /** |
|
12 | * The path to the individual character resource. |
|
13 | * |
|
14 | * @var string |
|
15 | */ |
|
16 | private $resourceURI; |
|
17 | ||
18 | /** |
|
19 | * The full name of the character. |
|
20 | * |
|
21 | * @var string |
|
22 | */ |
|
23 | private $name; |
|
24 | ||
25 | /** |
|
26 | * The role of the creator in the parent entity. |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | private $role; |
|
31 | ||
32 | /** |
|
33 | * @return string |
|
34 | */ |
|
35 | public function getResourceURI() |
|
36 | { |
|
37 | return $this->resourceURI; |
|
38 | } |
|
39 | ||
40 | /** |
|
41 | * @param string $resourceURI |
|
42 | */ |
|
43 | public function setResourceURI(string $resourceURI) |
|
44 | { |
|
45 | $this->resourceURI = $resourceURI; |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * @return string |
|
50 | */ |
|
51 | public function getName() |
|
52 | { |
|
53 | return $this->name; |
|
54 | } |
|
55 | ||
56 | /** |
|
57 | * @param string $name |
|
58 | */ |
|
59 | public function setName(string $name) |
|
60 | { |
|
61 | $this->name = $name; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getRole() |
|
68 | { |
|
69 | return $this->role; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $role |
|
74 | */ |
|
75 | public function setRole(string $role) |
|
76 | { |
|
77 | $this->role = $role; |
|
78 | } |
|
79 | } |
|
80 |
@@ 9-79 (lines=71) @@ | ||
6 | * Class CreatorSummary |
|
7 | * @package Ikoene\MarvelApiBundle\Entity |
|
8 | */ |
|
9 | class CreatorSummary |
|
10 | { |
|
11 | /** |
|
12 | * The path to the individual creator resource. |
|
13 | * |
|
14 | * @var string |
|
15 | */ |
|
16 | private $resourceURI; |
|
17 | ||
18 | /** |
|
19 | * The full name of the creator. |
|
20 | * |
|
21 | * @var string |
|
22 | */ |
|
23 | private $name; |
|
24 | ||
25 | /** |
|
26 | * The role of the creator in the parent entity. |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | private $role; |
|
31 | ||
32 | /** |
|
33 | * @return string |
|
34 | */ |
|
35 | public function getResourceURI() |
|
36 | { |
|
37 | return $this->resourceURI; |
|
38 | } |
|
39 | ||
40 | /** |
|
41 | * @param string $resourceURI |
|
42 | */ |
|
43 | public function setResourceURI(string $resourceURI) |
|
44 | { |
|
45 | $this->resourceURI = $resourceURI; |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * @return string |
|
50 | */ |
|
51 | public function getName() |
|
52 | { |
|
53 | return $this->name; |
|
54 | } |
|
55 | ||
56 | /** |
|
57 | * @param string $name |
|
58 | */ |
|
59 | public function setName(string $name) |
|
60 | { |
|
61 | $this->name = $name; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getRole() |
|
68 | { |
|
69 | return $this->role; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $role |
|
74 | */ |
|
75 | public function setRole(string $role) |
|
76 | { |
|
77 | $this->role = $role; |
|
78 | } |
|
79 | } |
|
80 |
@@ 9-79 (lines=71) @@ | ||
6 | * Class StorySummary |
|
7 | * @package Ikoene\MarvelApiBundle\Entity |
|
8 | */ |
|
9 | class StorySummary |
|
10 | { |
|
11 | /** |
|
12 | * The path to the individual story resource. |
|
13 | * |
|
14 | * @var string |
|
15 | */ |
|
16 | private $resourceURI; |
|
17 | ||
18 | /** |
|
19 | * The canonical name of the story. |
|
20 | * |
|
21 | * @var string |
|
22 | */ |
|
23 | private $name; |
|
24 | ||
25 | /** |
|
26 | * The type of the story (interior or cover). |
|
27 | * |
|
28 | * @var string |
|
29 | */ |
|
30 | private $type; |
|
31 | ||
32 | /** |
|
33 | * @return string |
|
34 | */ |
|
35 | public function getResourceURI() |
|
36 | { |
|
37 | return $this->resourceURI; |
|
38 | } |
|
39 | ||
40 | /** |
|
41 | * @param string $resourceURI |
|
42 | */ |
|
43 | public function setResourceURI(string $resourceURI) |
|
44 | { |
|
45 | $this->resourceURI = $resourceURI; |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * @return string |
|
50 | */ |
|
51 | public function getName() |
|
52 | { |
|
53 | return $this->name; |
|
54 | } |
|
55 | ||
56 | /** |
|
57 | * @param string $name |
|
58 | */ |
|
59 | public function setName(string $name) |
|
60 | { |
|
61 | $this->name = $name; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getType() |
|
68 | { |
|
69 | return $this->type; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $type |
|
74 | */ |
|
75 | public function setType(string $type) |
|
76 | { |
|
77 | $this->type = $type; |
|
78 | } |
|
79 | } |
|
80 |