@@ -61,7 +61,8 @@ class UpdateAddressServiceRequest implements ModelInterface, ArrayAccess
6161'description ' => 'string ' ,
6262'default_duration ' => 'int ' ,
6363'is_visible ' => 'bool ' ,
64- 'allowed_patients ' => 'AllOfUpdateAddressServiceRequestAllowedPatients ' ];
64+ 'allowed_patients ' => 'AllOfUpdateAddressServiceRequestAllowedPatients ' ,
65+ 'custom_name ' => 'string ' ];
6566
6667 /**
6768 * Array of property to format mappings. Used for (de)serialization
@@ -74,7 +75,8 @@ class UpdateAddressServiceRequest implements ModelInterface, ArrayAccess
7475'description ' => null ,
7576'default_duration ' => null ,
7677'is_visible ' => null ,
77- 'allowed_patients ' => null ];
78+ 'allowed_patients ' => null ,
79+ 'custom_name ' => null ];
7880
7981 /**
8082 * Array of property to type mappings. Used for (de)serialization
@@ -108,7 +110,8 @@ public static function swaggerFormats()
108110'description ' => 'description ' ,
109111'default_duration ' => 'default_duration ' ,
110112'is_visible ' => 'is_visible ' ,
111- 'allowed_patients ' => 'allowed_patients ' ];
113+ 'allowed_patients ' => 'allowed_patients ' ,
114+ 'custom_name ' => 'custom_name ' ];
112115
113116 /**
114117 * Array of attributes to setter functions (for deserialization of responses)
@@ -121,7 +124,8 @@ public static function swaggerFormats()
121124'description ' => 'setDescription ' ,
122125'default_duration ' => 'setDefaultDuration ' ,
123126'is_visible ' => 'setIsVisible ' ,
124- 'allowed_patients ' => 'setAllowedPatients ' ];
127+ 'allowed_patients ' => 'setAllowedPatients ' ,
128+ 'custom_name ' => 'setCustomName ' ];
125129
126130 /**
127131 * Array of attributes to getter functions (for serialization of requests)
@@ -134,7 +138,8 @@ public static function swaggerFormats()
134138'description ' => 'getDescription ' ,
135139'default_duration ' => 'getDefaultDuration ' ,
136140'is_visible ' => 'getIsVisible ' ,
137- 'allowed_patients ' => 'getAllowedPatients ' ];
141+ 'allowed_patients ' => 'getAllowedPatients ' ,
142+ 'custom_name ' => 'getCustomName ' ];
138143
139144 /**
140145 * Array of attributes where the key is the local name,
@@ -200,6 +205,7 @@ public function __construct(array $data = null)
200205 $ this ->container ['default_duration ' ] = isset ($ data ['default_duration ' ]) ? $ data ['default_duration ' ] : null ;
201206 $ this ->container ['is_visible ' ] = isset ($ data ['is_visible ' ]) ? $ data ['is_visible ' ] : null ;
202207 $ this ->container ['allowed_patients ' ] = isset ($ data ['allowed_patients ' ]) ? $ data ['allowed_patients ' ] : null ;
208+ $ this ->container ['custom_name ' ] = isset ($ data ['custom_name ' ]) ? $ data ['custom_name ' ] : null ;
203209 }
204210
205211 /**
@@ -369,6 +375,30 @@ public function setAllowedPatients($allowed_patients)
369375
370376 return $ this ;
371377 }
378+
379+ /**
380+ * Gets custom_name
381+ *
382+ * @return string
383+ */
384+ public function getCustomName ()
385+ {
386+ return $ this ->container ['custom_name ' ];
387+ }
388+
389+ /**
390+ * Sets custom_name
391+ *
392+ * @param string $custom_name A custom display name for the service. Cannot be an empty string. Send null to clear the custom name.
393+ *
394+ * @return $this
395+ */
396+ public function setCustomName ($ custom_name )
397+ {
398+ $ this ->container ['custom_name ' ] = $ custom_name ;
399+
400+ return $ this ;
401+ }
372402 /**
373403 * Returns true if offset exists. False otherwise.
374404 *
0 commit comments