@@ -59,16 +59,16 @@ class ProductData implements ModelInterface, ArrayAccess
59
59
'metaData ' => '\Yoast\MyYoastApiClient\Model\MetaDataDto[] ' ,
60
60
'images ' => '\Yoast\MyYoastApiClient\Model\ProductImage[] ' ,
61
61
'id ' => 'int ' ,
62
+ 'uSProductId ' => 'int ' ,
62
63
'name ' => 'string ' ,
63
64
'description ' => 'string ' ,
64
65
'permalink ' => 'string ' ,
65
66
'downloads ' => '\Yoast\MyYoastApiClient\Model\ProductDownload[] ' ,
66
67
'sku ' => 'string ' ,
67
- 'uSProductId ' => 'int ' ,
68
68
'type ' => 'string ' ,
69
69
'status ' => 'string ' ,
70
- 'regularPrice ' => 'string ' ,
71
- 'price ' => 'string ' ,
70
+ 'regularPrice ' => 'string[] ' ,
71
+ 'price ' => 'string[] ' ,
72
72
'purchasable ' => 'bool ' ,
73
73
'taxStatus ' => 'string ' ,
74
74
'taxClass ' => 'string ' ,
@@ -84,12 +84,12 @@ class ProductData implements ModelInterface, ArrayAccess
84
84
'metaData ' => null ,
85
85
'images ' => null ,
86
86
'id ' => null ,
87
+ 'uSProductId ' => null ,
87
88
'name ' => null ,
88
89
'description ' => null ,
89
90
'permalink ' => null ,
90
91
'downloads ' => null ,
91
92
'sku ' => null ,
92
- 'uSProductId ' => null ,
93
93
'type ' => null ,
94
94
'status ' => null ,
95
95
'regularPrice ' => null ,
@@ -130,12 +130,12 @@ public static function swaggerFormats()
130
130
'metaData ' => 'meta_data ' ,
131
131
'images ' => 'images ' ,
132
132
'id ' => 'id ' ,
133
+ 'uSProductId ' => 'USProductId ' ,
133
134
'name ' => 'name ' ,
134
135
'description ' => 'description ' ,
135
136
'permalink ' => 'permalink ' ,
136
137
'downloads ' => 'downloads ' ,
137
138
'sku ' => 'sku ' ,
138
- 'uSProductId ' => 'USProductId ' ,
139
139
'type ' => 'type ' ,
140
140
'status ' => 'status ' ,
141
141
'regularPrice ' => 'regular_price ' ,
@@ -155,12 +155,12 @@ public static function swaggerFormats()
155
155
'metaData ' => 'setMetaData ' ,
156
156
'images ' => 'setImages ' ,
157
157
'id ' => 'setId ' ,
158
+ 'uSProductId ' => 'setUSProductId ' ,
158
159
'name ' => 'setName ' ,
159
160
'description ' => 'setDescription ' ,
160
161
'permalink ' => 'setPermalink ' ,
161
162
'downloads ' => 'setDownloads ' ,
162
163
'sku ' => 'setSku ' ,
163
- 'uSProductId ' => 'setUSProductId ' ,
164
164
'type ' => 'setType ' ,
165
165
'status ' => 'setStatus ' ,
166
166
'regularPrice ' => 'setRegularPrice ' ,
@@ -180,12 +180,12 @@ public static function swaggerFormats()
180
180
'metaData ' => 'getMetaData ' ,
181
181
'images ' => 'getImages ' ,
182
182
'id ' => 'getId ' ,
183
+ 'uSProductId ' => 'getUSProductId ' ,
183
184
'name ' => 'getName ' ,
184
185
'description ' => 'getDescription ' ,
185
186
'permalink ' => 'getPermalink ' ,
186
187
'downloads ' => 'getDownloads ' ,
187
188
'sku ' => 'getSku ' ,
188
- 'uSProductId ' => 'getUSProductId ' ,
189
189
'type ' => 'getType ' ,
190
190
'status ' => 'getStatus ' ,
191
191
'regularPrice ' => 'getRegularPrice ' ,
@@ -257,12 +257,12 @@ public function __construct(array $data = null)
257
257
$ this ->container ['metaData ' ] = isset ($ data ['metaData ' ]) ? $ data ['metaData ' ] : null ;
258
258
$ this ->container ['images ' ] = isset ($ data ['images ' ]) ? $ data ['images ' ] : null ;
259
259
$ this ->container ['id ' ] = isset ($ data ['id ' ]) ? $ data ['id ' ] : null ;
260
+ $ this ->container ['uSProductId ' ] = isset ($ data ['uSProductId ' ]) ? $ data ['uSProductId ' ] : null ;
260
261
$ this ->container ['name ' ] = isset ($ data ['name ' ]) ? $ data ['name ' ] : null ;
261
262
$ this ->container ['description ' ] = isset ($ data ['description ' ]) ? $ data ['description ' ] : null ;
262
263
$ this ->container ['permalink ' ] = isset ($ data ['permalink ' ]) ? $ data ['permalink ' ] : null ;
263
264
$ this ->container ['downloads ' ] = isset ($ data ['downloads ' ]) ? $ data ['downloads ' ] : null ;
264
265
$ this ->container ['sku ' ] = isset ($ data ['sku ' ]) ? $ data ['sku ' ] : null ;
265
- $ this ->container ['uSProductId ' ] = isset ($ data ['uSProductId ' ]) ? $ data ['uSProductId ' ] : null ;
266
266
$ this ->container ['type ' ] = isset ($ data ['type ' ]) ? $ data ['type ' ] : null ;
267
267
$ this ->container ['status ' ] = isset ($ data ['status ' ]) ? $ data ['status ' ] : null ;
268
268
$ this ->container ['regularPrice ' ] = isset ($ data ['regularPrice ' ]) ? $ data ['regularPrice ' ] : null ;
@@ -291,6 +291,9 @@ public function listInvalidProperties()
291
291
if ($ this ->container ['id ' ] === null ) {
292
292
$ invalidProperties [] = "'id' can't be null " ;
293
293
}
294
+ if ($ this ->container ['uSProductId ' ] === null ) {
295
+ $ invalidProperties [] = "'uSProductId' can't be null " ;
296
+ }
294
297
if ($ this ->container ['name ' ] === null ) {
295
298
$ invalidProperties [] = "'name' can't be null " ;
296
299
}
@@ -306,9 +309,6 @@ public function listInvalidProperties()
306
309
if ($ this ->container ['sku ' ] === null ) {
307
310
$ invalidProperties [] = "'sku' can't be null " ;
308
311
}
309
- if ($ this ->container ['uSProductId ' ] === null ) {
310
- $ invalidProperties [] = "'uSProductId' can't be null " ;
311
- }
312
312
if ($ this ->container ['type ' ] === null ) {
313
313
$ invalidProperties [] = "'type' can't be null " ;
314
314
}
@@ -420,6 +420,30 @@ public function setId($id)
420
420
return $ this ;
421
421
}
422
422
423
+ /**
424
+ * Gets uSProductId
425
+ *
426
+ * @return int
427
+ */
428
+ public function getUSProductId ()
429
+ {
430
+ return $ this ->container ['uSProductId ' ];
431
+ }
432
+
433
+ /**
434
+ * Sets uSProductId
435
+ *
436
+ * @param int $uSProductId uSProductId
437
+ *
438
+ * @return $this
439
+ */
440
+ public function setUSProductId ($ uSProductId )
441
+ {
442
+ $ this ->container ['uSProductId ' ] = $ uSProductId ;
443
+
444
+ return $ this ;
445
+ }
446
+
423
447
/**
424
448
* Gets name
425
449
*
@@ -540,30 +564,6 @@ public function setSku($sku)
540
564
return $ this ;
541
565
}
542
566
543
- /**
544
- * Gets uSProductId
545
- *
546
- * @return int
547
- */
548
- public function getUSProductId ()
549
- {
550
- return $ this ->container ['uSProductId ' ];
551
- }
552
-
553
- /**
554
- * Sets uSProductId
555
- *
556
- * @param int $uSProductId uSProductId
557
- *
558
- * @return $this
559
- */
560
- public function setUSProductId ($ uSProductId )
561
- {
562
- $ this ->container ['uSProductId ' ] = $ uSProductId ;
563
-
564
- return $ this ;
565
- }
566
-
567
567
/**
568
568
* Gets type
569
569
*
@@ -615,7 +615,7 @@ public function setStatus($status)
615
615
/**
616
616
* Gets regularPrice
617
617
*
618
- * @return string
618
+ * @return string[]
619
619
*/
620
620
public function getRegularPrice ()
621
621
{
@@ -625,7 +625,7 @@ public function getRegularPrice()
625
625
/**
626
626
* Sets regularPrice
627
627
*
628
- * @param string $regularPrice regularPrice
628
+ * @param string[] $regularPrice regularPrice
629
629
*
630
630
* @return $this
631
631
*/
@@ -639,7 +639,7 @@ public function setRegularPrice($regularPrice)
639
639
/**
640
640
* Gets price
641
641
*
642
- * @return string
642
+ * @return string[]
643
643
*/
644
644
public function getPrice ()
645
645
{
@@ -649,7 +649,7 @@ public function getPrice()
649
649
/**
650
650
* Sets price
651
651
*
652
- * @param string $price price
652
+ * @param string[] $price price
653
653
*
654
654
* @return $this
655
655
*/
0 commit comments