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
@@ -437,13 +437,13 @@ public function listInvalidProperties()
437
437
if ($this->container['name'] === null) {
438
438
$invalid_properties[] = "'name' can't be null";
439
439
}
440
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
441
-
$invalid_properties[] = "invalid value for 'name', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
442
-
}
440
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
441
+
// $invalid_properties[] = "invalid value for 'name', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
442
+
// }
443
443
444
-
if (!is_null($this->container['doingBusinessAs']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
445
-
$invalid_properties[] = "invalid value for 'doingBusinessAs', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
446
-
}
444
+
// if (!is_null($this->container['doingBusinessAs']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
445
+
// $invalid_properties[] = "invalid value for 'doingBusinessAs', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
446
+
// }
447
447
448
448
if (!is_null($this->container['description']) && !preg_match("/[À-ÖØ-öø-ǿÀ-ÖØ-öø-ǿ\\n\\ra-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$/", $this->container['description'])) {
449
449
$invalid_properties[] = "invalid value for 'description', must be conform to the pattern /[À-ÖØ-öø-ǿÀ-ÖØ-öø-ǿ\\n\\ra-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$/.";
@@ -496,12 +496,12 @@ public function valid()
496
496
if ($this->container['name'] === null) {
497
497
returnfalse;
498
498
}
499
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
500
-
returnfalse;
501
-
}
502
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
503
-
returnfalse;
504
-
}
499
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['name'])) {
500
+
// return false;
501
+
// }
502
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['doingBusinessAs'])) {
503
+
// return false;
504
+
// }
505
505
if (!preg_match("/[À-ÖØ-öø-ǿÀ-ÖØ-öø-ǿ\\n\\ra-zA-Z0-9().\\-_#,;\/\\\\@$:&!?%«»€₣«»€₣ ]{1,}$/", $this->container['description'])) {
506
506
returnfalse;
507
507
}
@@ -545,9 +545,9 @@ public function getName()
545
545
*/
546
546
publicfunctionsetName($name)
547
547
{
548
-
if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $name))) {
549
-
thrownew \InvalidArgumentException("invalid value for $name when calling Boardingv1registrationsOrganizationInformationBusinessInformation., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
550
-
}
548
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $name))) {
549
+
// throw new \InvalidArgumentException("invalid value for $name when calling Boardingv1registrationsOrganizationInformationBusinessInformation., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
550
+
// }
551
551
$this->container['name'] = $name;
552
552
553
553
return$this;
@@ -569,9 +569,9 @@ public function getDoingBusinessAs()
if (!is_null($doingBusinessAs) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $doingBusinessAs))) {
573
-
thrownew \InvalidArgumentException("invalid value for $doingBusinessAs when calling Boardingv1registrationsOrganizationInformationBusinessInformation., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
574
-
}
572
+
// if (!is_null($doingBusinessAs) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $doingBusinessAs))) {
573
+
// 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
@@ -195,13 +195,13 @@ public function listInvalidProperties()
195
195
if ($this->container['locality'] === null) {
196
196
$invalid_properties[] = "'locality' can't be null";
197
197
}
198
-
if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
199
-
$invalid_properties[] = "invalid value for 'locality', must be conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.";
200
-
}
198
+
// if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
199
+
// $invalid_properties[] = "invalid value for 'locality', must be conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.";
200
+
// }
201
201
202
-
if (!is_null($this->container['administrativeArea']) && !preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
203
-
$invalid_properties[] = "invalid value for 'administrativeArea', must be conform to the pattern /^[0-9a-zA-Z¡- ]*$/.";
204
-
}
202
+
// if (!is_null($this->container['administrativeArea']) && !preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
203
+
// $invalid_properties[] = "invalid value for 'administrativeArea', must be conform to the pattern /^[0-9a-zA-Z¡- ]*$/.";
204
+
// }
205
205
206
206
if (!is_null($this->container['postalCode']) && !preg_match("/^[0-9a-zA-Z ]*$/", $this->container['postalCode'])) {
207
207
$invalid_properties[] = "invalid value for 'postalCode', must be conform to the pattern /^[0-9a-zA-Z ]*$/.";
@@ -237,12 +237,12 @@ public function valid()
237
237
if ($this->container['locality'] === null) {
238
238
returnfalse;
239
239
}
240
-
if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
241
-
returnfalse;
242
-
}
243
-
if (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
244
-
returnfalse;
245
-
}
240
+
// if (!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $this->container['locality'])) {
241
+
// return false;
242
+
// }
243
+
// if (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $this->container['administrativeArea'])) {
244
+
// return false;
245
+
// }
246
246
if (!preg_match("/^[0-9a-zA-Z ]*$/", $this->container['postalCode'])) {
247
247
returnfalse;
248
248
}
@@ -338,9 +338,9 @@ public function getLocality()
338
338
*/
339
339
publicfunctionsetLocality($locality)
340
340
{
341
-
if ((!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $locality))) {
342
-
thrownew \InvalidArgumentException("invalid value for $locality when calling Boardingv1registrationsOrganizationInformationBusinessInformationAddress., must conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.");
343
-
}
341
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-¡-]+$/", $locality))) {
342
+
// throw new \InvalidArgumentException("invalid value for $locality when calling Boardingv1registrationsOrganizationInformationBusinessInformationAddress., must conform to the pattern /^[0-9a-zA-Z _\\-¡-]+$/.");
343
+
// }
344
344
$this->container['locality'] = $locality;
345
345
346
346
return$this;
@@ -362,9 +362,9 @@ public function getAdministrativeArea()
if (!is_null($administrativeArea) && (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $administrativeArea))) {
366
-
thrownew \InvalidArgumentException("invalid value for $administrativeArea when calling Boardingv1registrationsOrganizationInformationBusinessInformationAddress., must conform to the pattern /^[0-9a-zA-Z¡- ]*$/.");
367
-
}
365
+
// if (!is_null($administrativeArea) && (!preg_match("/^[0-9a-zA-Z¡- ]*$/", $administrativeArea))) {
366
+
// 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
@@ -171,20 +171,20 @@ public function listInvalidProperties()
171
171
if ($this->container['firstName'] === null) {
172
172
$invalid_properties[] = "'firstName' can't be null";
173
173
}
174
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
175
-
$invalid_properties[] = "invalid value for 'firstName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
176
-
}
174
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
175
+
// $invalid_properties[] = "invalid value for 'firstName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
176
+
// }
177
177
178
-
if (!is_null($this->container['middleName']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
179
-
$invalid_properties[] = "invalid value for 'middleName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
180
-
}
178
+
// if (!is_null($this->container['middleName']) && !preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
179
+
// $invalid_properties[] = "invalid value for 'middleName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
180
+
// }
181
181
182
182
if ($this->container['lastName'] === null) {
183
183
$invalid_properties[] = "'lastName' can't be null";
184
184
}
185
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
186
-
$invalid_properties[] = "invalid value for 'lastName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
187
-
}
185
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
186
+
// $invalid_properties[] = "invalid value for 'lastName', must be conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.";
187
+
// }
188
188
189
189
if ($this->container['phoneNumber'] === null) {
190
190
$invalid_properties[] = "'phoneNumber' can't be null";
@@ -215,18 +215,18 @@ public function valid()
215
215
if ($this->container['firstName'] === null) {
216
216
returnfalse;
217
217
}
218
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
219
-
returnfalse;
220
-
}
221
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
222
-
returnfalse;
223
-
}
218
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['firstName'])) {
219
+
// return false;
220
+
// }
221
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['middleName'])) {
222
+
// return false;
223
+
// }
224
224
if ($this->container['lastName'] === null) {
225
225
returnfalse;
226
226
}
227
-
if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
228
-
returnfalse;
229
-
}
227
+
// if (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $this->container['lastName'])) {
228
+
// return false;
229
+
// }
230
230
if ($this->container['phoneNumber'] === null) {
231
231
returnfalse;
232
232
}
@@ -259,9 +259,9 @@ public function getFirstName()
259
259
*/
260
260
publicfunctionsetFirstName($firstName)
261
261
{
262
-
if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $firstName))) {
263
-
thrownew \InvalidArgumentException("invalid value for $firstName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
264
-
}
262
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $firstName))) {
263
+
// throw new \InvalidArgumentException("invalid value for $firstName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
264
+
// }
265
265
$this->container['firstName'] = $firstName;
266
266
267
267
return$this;
@@ -283,9 +283,9 @@ public function getMiddleName()
283
283
*/
284
284
publicfunctionsetMiddleName($middleName)
285
285
{
286
-
if (!is_null($middleName) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $middleName))) {
287
-
thrownew \InvalidArgumentException("invalid value for $middleName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
288
-
}
286
+
// if (!is_null($middleName) && (!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $middleName))) {
287
+
// throw new \InvalidArgumentException("invalid value for $middleName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
288
+
// }
289
289
$this->container['middleName'] = $middleName;
290
290
291
291
return$this;
@@ -307,9 +307,9 @@ public function getLastName()
307
307
*/
308
308
publicfunctionsetLastName($lastName)
309
309
{
310
-
if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $lastName))) {
311
-
thrownew \InvalidArgumentException("invalid value for $lastName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
312
-
}
310
+
// if ((!preg_match("/^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/", $lastName))) {
311
+
// throw new \InvalidArgumentException("invalid value for $lastName when calling Boardingv1registrationsOrganizationInformationBusinessInformationBusinessContact., must conform to the pattern /^[0-9a-zA-Z _\\-\\+\\.\\*\\\"\/'&\\,\\(\\)!$;:?@\\#¡-]+$/.");
0 commit comments