Skip to content

Commit 20dc9bc

Browse files
committed
Release v1.0.23
* Added address-service-created, address-service-deleted, address-service-changed callbacks
1 parent 74e5a8a commit 20dc9bc

File tree

2 files changed

+98
-5
lines changed

2 files changed

+98
-5
lines changed

docs/Model/AddressServiceCreatedNotificationData.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**facility** | [**\DocPlanner\Client\Model\Facility**](Facility.md) | | [optional]
7+
**doctor** | [**\DocPlanner\Client\Model\Doctor**](Doctor.md) | | [optional]
8+
**address** | [**\DocPlanner\Client\Model\Address**](Address.md) | | [optional]
69
**address_service** | [**\DocPlanner\Client\Model\AddressService**](AddressService.md) | | [optional]
710

811
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)

lib/Model/AddressServiceCreatedNotificationData.php

Lines changed: 95 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,21 @@ class AddressServiceCreatedNotificationData implements ModelInterface, ArrayAcce
5656
* @var string[]
5757
*/
5858
protected static $swaggerTypes = [
59-
'address_service' => '\DocPlanner\Client\Model\AddressService' ];
59+
'facility' => '\DocPlanner\Client\Model\Facility',
60+
'doctor' => '\DocPlanner\Client\Model\Doctor',
61+
'address' => '\DocPlanner\Client\Model\Address',
62+
'address_service' => '\DocPlanner\Client\Model\AddressService' ];
6063

6164
/**
6265
* Array of property to format mappings. Used for (de)serialization
6366
*
6467
* @var string[]
6568
*/
6669
protected static $swaggerFormats = [
67-
'address_service' => null ];
70+
'facility' => null,
71+
'doctor' => null,
72+
'address' => null,
73+
'address_service' => null ];
6874

6975
/**
7076
* Array of property to type mappings. Used for (de)serialization
@@ -93,23 +99,32 @@ public static function swaggerFormats()
9399
* @var string[]
94100
*/
95101
protected static $attributeMap = [
96-
'address_service' => 'address_service' ];
102+
'facility' => 'facility',
103+
'doctor' => 'doctor',
104+
'address' => 'address',
105+
'address_service' => 'address_service' ];
97106

98107
/**
99108
* Array of attributes to setter functions (for deserialization of responses)
100109
*
101110
* @var string[]
102111
*/
103112
protected static $setters = [
104-
'address_service' => 'setAddressService' ];
113+
'facility' => 'setFacility',
114+
'doctor' => 'setDoctor',
115+
'address' => 'setAddress',
116+
'address_service' => 'setAddressService' ];
105117

106118
/**
107119
* Array of attributes to getter functions (for serialization of requests)
108120
*
109121
* @var string[]
110122
*/
111123
protected static $getters = [
112-
'address_service' => 'getAddressService' ];
124+
'facility' => 'getFacility',
125+
'doctor' => 'getDoctor',
126+
'address' => 'getAddress',
127+
'address_service' => 'getAddressService' ];
113128

114129
/**
115130
* Array of attributes where the key is the local name,
@@ -169,6 +184,9 @@ public function getModelName()
169184
*/
170185
public function __construct(array $data = null)
171186
{
187+
$this->container['facility'] = isset($data['facility']) ? $data['facility'] : null;
188+
$this->container['doctor'] = isset($data['doctor']) ? $data['doctor'] : null;
189+
$this->container['address'] = isset($data['address']) ? $data['address'] : null;
172190
$this->container['address_service'] = isset($data['address_service']) ? $data['address_service'] : null;
173191
}
174192

@@ -196,6 +214,78 @@ public function valid()
196214
}
197215

198216

217+
/**
218+
* Gets facility
219+
*
220+
* @return \DocPlanner\Client\Model\Facility
221+
*/
222+
public function getFacility()
223+
{
224+
return $this->container['facility'];
225+
}
226+
227+
/**
228+
* Sets facility
229+
*
230+
* @param \DocPlanner\Client\Model\Facility $facility facility
231+
*
232+
* @return $this
233+
*/
234+
public function setFacility($facility)
235+
{
236+
$this->container['facility'] = $facility;
237+
238+
return $this;
239+
}
240+
241+
/**
242+
* Gets doctor
243+
*
244+
* @return \DocPlanner\Client\Model\Doctor
245+
*/
246+
public function getDoctor()
247+
{
248+
return $this->container['doctor'];
249+
}
250+
251+
/**
252+
* Sets doctor
253+
*
254+
* @param \DocPlanner\Client\Model\Doctor $doctor doctor
255+
*
256+
* @return $this
257+
*/
258+
public function setDoctor($doctor)
259+
{
260+
$this->container['doctor'] = $doctor;
261+
262+
return $this;
263+
}
264+
265+
/**
266+
* Gets address
267+
*
268+
* @return \DocPlanner\Client\Model\Address
269+
*/
270+
public function getAddress()
271+
{
272+
return $this->container['address'];
273+
}
274+
275+
/**
276+
* Sets address
277+
*
278+
* @param \DocPlanner\Client\Model\Address $address address
279+
*
280+
* @return $this
281+
*/
282+
public function setAddress($address)
283+
{
284+
$this->container['address'] = $address;
285+
286+
return $this;
287+
}
288+
199289
/**
200290
* Gets address_service
201291
*

0 commit comments

Comments
 (0)