You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Model/Boardingv1registrationsOrganizationInformationBusinessInformation.php
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -436,13 +436,13 @@ public function listInvalidProperties()
436
436
if ($this->container['name'] === null) {
437
437
$invalid_properties[] = "'name' can't be null";
438
438
}
439
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
440
-
$invalid_properties[] = "invalid value for 'name', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
441
-
}
439
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
440
+
// $invalid_properties[] = "invalid value for 'name', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
441
+
// }
442
442
443
-
if (!is_null($this->container['doingBusinessAs']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
444
-
$invalid_properties[] = "invalid value for 'doingBusinessAs', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
445
-
}
443
+
// if (!is_null($this->container['doingBusinessAs']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
444
+
// $invalid_properties[] = "invalid value for 'doingBusinessAs', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
445
+
// }
446
446
447
447
if (!is_null($this->container['description']) && !preg_match("/[À-ÖØ-öø-ǿÀ-ÖØ-öø-ǿ\\n\\ra-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$/", $this->container['description'])) {
448
448
$invalid_properties[] = "invalid value for 'description', must be conform to the pattern /[À-ÖØ-öø-ǿÀ-ÖØ-öø-ǿ\\n\\ra-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$/.";
@@ -495,12 +495,12 @@ public function valid()
495
495
if ($this->container['name'] === null) {
496
496
returnfalse;
497
497
}
498
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
499
-
returnfalse;
500
-
}
501
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
502
-
returnfalse;
503
-
}
498
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
499
+
// return false;
500
+
// }
501
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
502
+
// return false;
503
+
// }
504
504
if (!preg_match("/[À-ÖØ-öø-ǿÀ-ÖØ-öø-ǿ\\n\\ra-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$/", $this->container['description'])) {
505
505
returnfalse;
506
506
}
@@ -544,9 +544,9 @@ public function getName()
544
544
*/
545
545
publicfunctionsetName($name)
546
546
{
547
-
if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $name))) {
548
-
thrownew \InvalidArgumentException("invalid value for $name when calling Boardingv1registrationsOrganizationInformationBusinessInformation., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
549
-
}
547
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $name))) {
548
+
// throw new \InvalidArgumentException("invalid value for $name when calling Boardingv1registrationsOrganizationInformationBusinessInformation., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
549
+
// }
550
550
$this->container['name'] = $name;
551
551
552
552
return$this;
@@ -568,9 +568,9 @@ public function getDoingBusinessAs()
if (!is_null($doingBusinessAs) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $doingBusinessAs))) {
572
-
thrownew \InvalidArgumentException("invalid value for $doingBusinessAs when calling Boardingv1registrationsOrganizationInformationBusinessInformation., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
573
-
}
571
+
// if (!is_null($doingBusinessAs) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $doingBusinessAs))) {
572
+
// throw new \InvalidArgumentException("invalid value for $doingBusinessAs when calling Boardingv1registrationsOrganizationInformationBusinessInformation., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
Copy file name to clipboardExpand all lines: lib/Model/Boardingv1registrationsOrganizationInformationBusinessInformationAddress.php
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -194,13 +194,13 @@ public function listInvalidProperties()
194
194
if ($this->container['locality'] === null) {
195
195
$invalid_properties[] = "'locality' can't be null";
196
196
}
197
-
if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
198
-
$invalid_properties[] = "invalid value for 'locality', must be conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.";
199
-
}
197
+
// if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
198
+
// $invalid_properties[] = "invalid value for 'locality', must be conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.";
199
+
// }
200
200
201
-
if (!is_null($this->container['administrativeArea']) && !preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
202
-
$invalid_properties[] = "invalid value for 'administrativeArea', must be conform to the pattern /^[0-9a-zA-Z¡- ]*$/.";
203
-
}
201
+
// if (!is_null($this->container['administrativeArea']) && !preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
202
+
// $invalid_properties[] = "invalid value for 'administrativeArea', must be conform to the pattern /^[0-9a-zA-Z¡- ]*$/.";
203
+
// }
204
204
205
205
if (!is_null($this->container['postalCode']) && !preg_match("/^[0-9a-zA-Z ]*$/", $this->container['postalCode'])) {
206
206
$invalid_properties[] = "invalid value for 'postalCode', must be conform to the pattern /^[0-9a-zA-Z ]*$/.";
@@ -236,12 +236,12 @@ public function valid()
236
236
if ($this->container['locality'] === null) {
237
237
returnfalse;
238
238
}
239
-
if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
240
-
returnfalse;
241
-
}
242
-
if (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
243
-
returnfalse;
244
-
}
239
+
// if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
240
+
// return false;
241
+
// }
242
+
// if (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
243
+
// return false;
244
+
// }
245
245
if (!preg_match("/^[0-9a-zA-Z ]*$/", $this->container['postalCode'])) {
246
246
returnfalse;
247
247
}
@@ -337,9 +337,9 @@ public function getLocality()
337
337
*/
338
338
publicfunctionsetLocality($locality)
339
339
{
340
-
if ((!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $locality))) {
341
-
thrownew \InvalidArgumentException("invalid value for $locality when calling Boardingv1registrationsOrganizationInformationBusinessInformationAddress., must conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.");
342
-
}
340
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $locality))) {
341
+
// throw new \InvalidArgumentException("invalid value for $locality when calling Boardingv1registrationsOrganizationInformationBusinessInformationAddress., must conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.");
342
+
// }
343
343
$this->container['locality'] = $locality;
344
344
345
345
return$this;
@@ -361,9 +361,9 @@ public function getAdministrativeArea()
if (!is_null($administrativeArea) && (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $administrativeArea))) {
365
-
thrownew \InvalidArgumentException("invalid value for $administrativeArea when calling Boardingv1registrationsOrganizationInformationBusinessInformationAddress., must conform to the pattern /^[0-9a-zA-Z¡- ]*$/.");
366
-
}
364
+
// if (!is_null($administrativeArea) && (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $administrativeArea))) {
365
+
// throw new \InvalidArgumentException("invalid value for $administrativeArea when calling Boardingv1registrationsOrganizationInformationBusinessInformationAddress., must conform to the pattern /^[0-9a-zA-Z¡- ]*$/.");
Copy file name to clipboardExpand all lines: lib/Model/Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact.php
+27-27Lines changed: 27 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -170,20 +170,20 @@ public function listInvalidProperties()
170
170
if ($this->container['firstName'] === null) {
171
171
$invalid_properties[] = "'firstName' can't be null";
172
172
}
173
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
174
-
$invalid_properties[] = "invalid value for 'firstName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
175
-
}
173
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
174
+
// $invalid_properties[] = "invalid value for 'firstName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
175
+
// }
176
176
177
-
if (!is_null($this->container['middleName']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
178
-
$invalid_properties[] = "invalid value for 'middleName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
179
-
}
177
+
// if (!is_null($this->container['middleName']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
178
+
// $invalid_properties[] = "invalid value for 'middleName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
179
+
// }
180
180
181
181
if ($this->container['lastName'] === null) {
182
182
$invalid_properties[] = "'lastName' can't be null";
183
183
}
184
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
185
-
$invalid_properties[] = "invalid value for 'lastName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
186
-
}
184
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
185
+
// $invalid_properties[] = "invalid value for 'lastName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
186
+
// }
187
187
188
188
if ($this->container['phoneNumber'] === null) {
189
189
$invalid_properties[] = "'phoneNumber' can't be null";
@@ -214,18 +214,18 @@ public function valid()
214
214
if ($this->container['firstName'] === null) {
215
215
returnfalse;
216
216
}
217
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
218
-
returnfalse;
219
-
}
220
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
221
-
returnfalse;
222
-
}
217
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
218
+
// return false;
219
+
// }
220
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
221
+
// return false;
222
+
// }
223
223
if ($this->container['lastName'] === null) {
224
224
returnfalse;
225
225
}
226
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
227
-
returnfalse;
228
-
}
226
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
227
+
// return false;
228
+
// }
229
229
if ($this->container['phoneNumber'] === null) {
230
230
returnfalse;
231
231
}
@@ -258,9 +258,9 @@ public function getFirstName()
258
258
*/
259
259
publicfunctionsetFirstName($firstName)
260
260
{
261
-
if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $firstName))) {
262
-
thrownew \InvalidArgumentException("invalid value for $firstName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
263
-
}
261
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $firstName))) {
262
+
// throw new \InvalidArgumentException("invalid value for $firstName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
263
+
// }
264
264
$this->container['firstName'] = $firstName;
265
265
266
266
return$this;
@@ -282,9 +282,9 @@ public function getMiddleName()
282
282
*/
283
283
publicfunctionsetMiddleName($middleName)
284
284
{
285
-
if (!is_null($middleName) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $middleName))) {
286
-
thrownew \InvalidArgumentException("invalid value for $middleName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
287
-
}
285
+
// if (!is_null($middleName) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $middleName))) {
286
+
// throw new \InvalidArgumentException("invalid value for $middleName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
287
+
// }
288
288
$this->container['middleName'] = $middleName;
289
289
290
290
return$this;
@@ -306,9 +306,9 @@ public function getLastName()
306
306
*/
307
307
publicfunctionsetLastName($lastName)
308
308
{
309
-
if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $lastName))) {
310
-
thrownew \InvalidArgumentException("invalid value for $lastName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
311
-
}
309
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $lastName))) {
310
+
// throw new \InvalidArgumentException("invalid value for $lastName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
0 commit comments