1 | <?php |
||
8 | class UserListClient |
||
9 | { |
||
10 | use TransmapHydratable; |
||
11 | |||
12 | const STATUS_ACTIVE = 'ACTIVE'; |
||
13 | const STATUS_INACTIVE = 'INACTIVE'; |
||
14 | const STATUS_UNKNOWN = 'UNKNOWN'; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | * @Validate(type="string", mandatory=true) |
||
19 | */ |
||
20 | protected $userlistid; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | * @Validate(type="string", mandatory=false) |
||
25 | */ |
||
26 | protected $clientcustomername; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | * @Validate(type="string", mandatory=true) |
||
31 | */ |
||
32 | protected $status; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | * @Validate(type="string", mandatory=false) |
||
37 | */ |
||
38 | protected $userlistname; |
||
39 | |||
40 | /** |
||
41 | * @var UserListPricing |
||
42 | * @Validate(type="Audiens\DoubleclickClient\entity\UserListPricing", mandatory=false) |
||
43 | */ |
||
44 | protected $pricingInfo; |
||
45 | |||
46 | /** |
||
47 | * @var string |
||
48 | * @see Product::* |
||
49 | * @Validate(type="string", mandatory=true) |
||
50 | */ |
||
51 | protected $clientproduct; |
||
52 | |||
53 | /** |
||
54 | * @var string |
||
55 | * @Validate(type="string", mandatory=true) |
||
56 | */ |
||
57 | protected $clientid; |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getUserlistid() |
||
66 | |||
67 | /** |
||
68 | * @param int $userlistid |
||
69 | */ |
||
70 | public function setUserlistid($userlistid) |
||
74 | |||
75 | /** |
||
76 | * @return string |
||
77 | */ |
||
78 | public function getClientcustomername() |
||
82 | |||
83 | /** |
||
84 | * @return string |
||
85 | */ |
||
86 | public function getStatus() |
||
90 | |||
91 | /** |
||
92 | * @param string $status |
||
93 | */ |
||
94 | public function setStatus($status) |
||
98 | |||
99 | /** |
||
100 | * @return string |
||
101 | */ |
||
102 | public function getUserlistname() |
||
106 | |||
107 | /** |
||
108 | * @param string $userlistname |
||
109 | */ |
||
110 | public function setUserlistname($userlistname) |
||
114 | |||
115 | /** |
||
116 | * @return UserListPricing |
||
117 | */ |
||
118 | public function getPricingInfo() |
||
122 | |||
123 | /** |
||
124 | * @param UserListPricing $pricingInfo |
||
125 | */ |
||
126 | public function setPricingInfo(UserListPricing $pricingInfo) |
||
130 | |||
131 | /** |
||
132 | * @return string |
||
133 | */ |
||
134 | public function getClientproduct() |
||
138 | |||
139 | /** |
||
140 | * @param string $clientproduct |
||
141 | */ |
||
142 | public function setClientproduct($clientproduct) |
||
146 | |||
147 | /** |
||
148 | * @return int |
||
149 | */ |
||
150 | public function getClientid() |
||
154 | |||
155 | /** |
||
156 | * @param string $clientid |
||
157 | */ |
||
158 | public function setClientid($clientid) |
||
162 | |||
163 | protected static function hydratePreprocess(array $objectArray): array |
||
186 | } |
||
187 |
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.