Skip to content

Commit cddd92e

Browse files
committed
Travis update: Jul 2024 (Build 776)
[skip ci]
1 parent 8f7be94 commit cddd92e

2 files changed

Lines changed: 41 additions & 6 deletions

File tree

docs/Model/DeliveryResult.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ Name | Type | Description | Notes
1111
**err** | [**\Messente\Api\Model\ErrorCodeOmnichannelMachine**](ErrorCodeOmnichannelMachine.md) | | [optional]
1212
**timestamp** | **\DateTime** | When this status was received by Omnichannel API | [optional]
1313
**priceInfo** | [**\Messente\Api\Model\PriceInfo**](PriceInfo.md) | | [optional]
14+
**sender** | **string** | the sender of the message | [optional]
1415

1516
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

lib/Model/DeliveryResult.php

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)