@@ -65,7 +65,8 @@ class DeliveryResult implements ModelInterface, ArrayAccess, \JsonSerializable
6565 'error ' => 'string ' ,
6666 'err ' => '\Messente\Api\Model\ErrorCodeOmnichannelMachine ' ,
6767 'timestamp ' => '\DateTime ' ,
68- 'priceInfo ' => '\Messente\Api\Model\PriceInfo '
68+ 'priceInfo ' => '\Messente\Api\Model\PriceInfo ' ,
69+ 'sender ' => 'string '
6970 ];
7071
7172 /**
@@ -82,7 +83,8 @@ class DeliveryResult implements ModelInterface, ArrayAccess, \JsonSerializable
8283 'error ' => null ,
8384 'err ' => null ,
8485 'timestamp ' => 'date-time ' ,
85- 'priceInfo ' => null
86+ 'priceInfo ' => null ,
87+ 'sender ' => null
8688 ];
8789
8890 /**
@@ -97,7 +99,8 @@ class DeliveryResult implements ModelInterface, ArrayAccess, \JsonSerializable
9799 'error ' => true ,
98100 'err ' => false ,
99101 'timestamp ' => false ,
100- 'priceInfo ' => false
102+ 'priceInfo ' => false ,
103+ 'sender ' => false
101104 ];
102105
103106 /**
@@ -192,7 +195,8 @@ public function isNullableSetToNull(string $property): bool
192195 'error ' => 'error ' ,
193196 'err ' => 'err ' ,
194197 'timestamp ' => 'timestamp ' ,
195- 'priceInfo ' => 'price_info '
198+ 'priceInfo ' => 'price_info ' ,
199+ 'sender ' => 'sender '
196200 ];
197201
198202 /**
@@ -207,7 +211,8 @@ public function isNullableSetToNull(string $property): bool
207211 'error ' => 'setError ' ,
208212 'err ' => 'setErr ' ,
209213 'timestamp ' => 'setTimestamp ' ,
210- 'priceInfo ' => 'setPriceInfo '
214+ 'priceInfo ' => 'setPriceInfo ' ,
215+ 'sender ' => 'setSender '
211216 ];
212217
213218 /**
@@ -222,7 +227,8 @@ public function isNullableSetToNull(string $property): bool
222227 'error ' => 'getError ' ,
223228 'err ' => 'getErr ' ,
224229 'timestamp ' => 'getTimestamp ' ,
225- 'priceInfo ' => 'getPriceInfo '
230+ 'priceInfo ' => 'getPriceInfo ' ,
231+ 'sender ' => 'getSender '
226232 ];
227233
228234 /**
@@ -289,6 +295,7 @@ public function __construct(array $data = null)
289295 $ this ->setIfExists ('err ' , $ data ?? [], null );
290296 $ this ->setIfExists ('timestamp ' , $ data ?? [], null );
291297 $ this ->setIfExists ('priceInfo ' , $ data ?? [], null );
298+ $ this ->setIfExists ('sender ' , $ data ?? [], null );
292299 }
293300
294301 /**
@@ -528,6 +535,33 @@ public function setPriceInfo($priceInfo)
528535
529536 return $ this ;
530537 }
538+
539+ /**
540+ * Gets sender
541+ *
542+ * @return string|null
543+ */
544+ public function getSender ()
545+ {
546+ return $ this ->container ['sender ' ];
547+ }
548+
549+ /**
550+ * Sets sender
551+ *
552+ * @param string|null $sender the sender of the message
553+ *
554+ * @return self
555+ */
556+ public function setSender ($ sender )
557+ {
558+ if (is_null ($ sender )) {
559+ throw new \InvalidArgumentException ('non-nullable sender cannot be null ' );
560+ }
561+ $ this ->container ['sender ' ] = $ sender ;
562+
563+ return $ this ;
564+ }
531565 /**
532566 * Returns true if offset exists. False otherwise.
533567 *
0 commit comments