@@ -86,7 +86,11 @@ class PrimaveraTaskProperties implements ArrayAccess
8686 'budgeted_labor_cost ' => 'float ' ,
8787 'budgeted_nonlabor_cost ' => 'float ' ,
8888 'budgeted_material_cost ' => 'float ' ,
89- 'budgeted_expense_cost ' => 'float '
89+ 'budgeted_expense_cost ' => 'float ' ,
90+ 'primary_constraint_type ' => '\Aspose\Tasks\Model\PrimaveraConstraintType ' ,
91+ 'primary_constraint_date ' => '\DateTime ' ,
92+ 'secondary_constraint_type ' => '\Aspose\Tasks\Model\PrimaveraConstraintType ' ,
93+ 'secondary_constraint_date ' => '\DateTime '
9094 ];
9195
9296 /*
@@ -125,7 +129,11 @@ class PrimaveraTaskProperties implements ArrayAccess
125129 'budgeted_labor_cost ' => 'decimal ' ,
126130 'budgeted_nonlabor_cost ' => 'decimal ' ,
127131 'budgeted_material_cost ' => 'decimal ' ,
128- 'budgeted_expense_cost ' => 'decimal '
132+ 'budgeted_expense_cost ' => 'decimal ' ,
133+ 'primary_constraint_type ' => null ,
134+ 'primary_constraint_date ' => 'date-time ' ,
135+ 'secondary_constraint_type ' => null ,
136+ 'secondary_constraint_date ' => 'date-time '
129137 ];
130138
131139 /*
@@ -185,7 +193,11 @@ public static function swaggerFormats()
185193 'budgeted_labor_cost ' => 'budgetedLaborCost ' ,
186194 'budgeted_nonlabor_cost ' => 'budgetedNonlaborCost ' ,
187195 'budgeted_material_cost ' => 'budgetedMaterialCost ' ,
188- 'budgeted_expense_cost ' => 'budgetedExpenseCost '
196+ 'budgeted_expense_cost ' => 'budgetedExpenseCost ' ,
197+ 'primary_constraint_type ' => 'primaryConstraintType ' ,
198+ 'primary_constraint_date ' => 'primaryConstraintDate ' ,
199+ 'secondary_constraint_type ' => 'secondaryConstraintType ' ,
200+ 'secondary_constraint_date ' => 'secondaryConstraintDate '
189201 ];
190202
191203 /*
@@ -224,7 +236,11 @@ public static function swaggerFormats()
224236 'budgeted_labor_cost ' => 'setBudgetedLaborCost ' ,
225237 'budgeted_nonlabor_cost ' => 'setBudgetedNonlaborCost ' ,
226238 'budgeted_material_cost ' => 'setBudgetedMaterialCost ' ,
227- 'budgeted_expense_cost ' => 'setBudgetedExpenseCost '
239+ 'budgeted_expense_cost ' => 'setBudgetedExpenseCost ' ,
240+ 'primary_constraint_type ' => 'setPrimaryConstraintType ' ,
241+ 'primary_constraint_date ' => 'setPrimaryConstraintDate ' ,
242+ 'secondary_constraint_type ' => 'setSecondaryConstraintType ' ,
243+ 'secondary_constraint_date ' => 'setSecondaryConstraintDate '
228244 ];
229245
230246 /*
@@ -263,7 +279,11 @@ public static function swaggerFormats()
263279 'budgeted_labor_cost ' => 'getBudgetedLaborCost ' ,
264280 'budgeted_nonlabor_cost ' => 'getBudgetedNonlaborCost ' ,
265281 'budgeted_material_cost ' => 'getBudgetedMaterialCost ' ,
266- 'budgeted_expense_cost ' => 'getBudgetedExpenseCost '
282+ 'budgeted_expense_cost ' => 'getBudgetedExpenseCost ' ,
283+ 'primary_constraint_type ' => 'getPrimaryConstraintType ' ,
284+ 'primary_constraint_date ' => 'getPrimaryConstraintDate ' ,
285+ 'secondary_constraint_type ' => 'getSecondaryConstraintType ' ,
286+ 'secondary_constraint_date ' => 'getSecondaryConstraintDate '
267287 ];
268288
269289 /*
@@ -357,6 +377,10 @@ public function __construct(array $data = null)
357377 $ this ->container ['budgeted_nonlabor_cost ' ] = isset ($ data ['budgeted_nonlabor_cost ' ]) ? $ data ['budgeted_nonlabor_cost ' ] : null ;
358378 $ this ->container ['budgeted_material_cost ' ] = isset ($ data ['budgeted_material_cost ' ]) ? $ data ['budgeted_material_cost ' ] : null ;
359379 $ this ->container ['budgeted_expense_cost ' ] = isset ($ data ['budgeted_expense_cost ' ]) ? $ data ['budgeted_expense_cost ' ] : null ;
380+ $ this ->container ['primary_constraint_type ' ] = isset ($ data ['primary_constraint_type ' ]) ? $ data ['primary_constraint_type ' ] : null ;
381+ $ this ->container ['primary_constraint_date ' ] = isset ($ data ['primary_constraint_date ' ]) ? $ data ['primary_constraint_date ' ] : null ;
382+ $ this ->container ['secondary_constraint_type ' ] = isset ($ data ['secondary_constraint_type ' ]) ? $ data ['secondary_constraint_type ' ] : null ;
383+ $ this ->container ['secondary_constraint_date ' ] = isset ($ data ['secondary_constraint_date ' ]) ? $ data ['secondary_constraint_date ' ] : null ;
360384 }
361385
362386 /*
@@ -446,6 +470,18 @@ public function listInvalidProperties()
446470 if ($ this ->container ['budgeted_expense_cost ' ] === null ) {
447471 $ invalidProperties [] = "'budgeted_expense_cost' can't be null " ;
448472 }
473+ if ($ this ->container ['primary_constraint_type ' ] === null ) {
474+ $ invalidProperties [] = "'primary_constraint_type' can't be null " ;
475+ }
476+ if ($ this ->container ['primary_constraint_date ' ] === null ) {
477+ $ invalidProperties [] = "'primary_constraint_date' can't be null " ;
478+ }
479+ if ($ this ->container ['secondary_constraint_type ' ] === null ) {
480+ $ invalidProperties [] = "'secondary_constraint_type' can't be null " ;
481+ }
482+ if ($ this ->container ['secondary_constraint_date ' ] === null ) {
483+ $ invalidProperties [] = "'secondary_constraint_date' can't be null " ;
484+ }
449485 return $ invalidProperties ;
450486 }
451487
@@ -536,6 +572,18 @@ public function valid()
536572 if ($ this ->container ['budgeted_expense_cost ' ] === null ) {
537573 return false ;
538574 }
575+ if ($ this ->container ['primary_constraint_type ' ] === null ) {
576+ return false ;
577+ }
578+ if ($ this ->container ['primary_constraint_date ' ] === null ) {
579+ return false ;
580+ }
581+ if ($ this ->container ['secondary_constraint_type ' ] === null ) {
582+ return false ;
583+ }
584+ if ($ this ->container ['secondary_constraint_date ' ] === null ) {
585+ return false ;
586+ }
539587 return true ;
540588 }
541589
@@ -1283,6 +1331,102 @@ public function setBudgetedExpenseCost($budgeted_expense_cost)
12831331
12841332 return $ this ;
12851333 }
1334+
1335+ /*
1336+ * Gets primary_constraint_type
1337+ *
1338+ * @return \Aspose\Tasks\Model\PrimaveraConstraintType
1339+ */
1340+ public function getPrimaryConstraintType ()
1341+ {
1342+ return $ this ->container ['primary_constraint_type ' ];
1343+ }
1344+
1345+ /*
1346+ * Sets primary_constraint_type
1347+ *
1348+ * @param \Aspose\Tasks\Model\PrimaveraConstraintType $primary_constraint_type Gets a type of primary constraint.
1349+ *
1350+ * @return $this
1351+ */
1352+ public function setPrimaryConstraintType ($ primary_constraint_type )
1353+ {
1354+ $ this ->container ['primary_constraint_type ' ] = $ primary_constraint_type ;
1355+
1356+ return $ this ;
1357+ }
1358+
1359+ /*
1360+ * Gets primary_constraint_date
1361+ *
1362+ * @return \DateTime
1363+ */
1364+ public function getPrimaryConstraintDate ()
1365+ {
1366+ return $ this ->container ['primary_constraint_date ' ];
1367+ }
1368+
1369+ /*
1370+ * Sets primary_constraint_date
1371+ *
1372+ * @param \DateTime $primary_constraint_date Gets the date of primary constraint.
1373+ *
1374+ * @return $this
1375+ */
1376+ public function setPrimaryConstraintDate ($ primary_constraint_date )
1377+ {
1378+ $ this ->container ['primary_constraint_date ' ] = $ primary_constraint_date ;
1379+
1380+ return $ this ;
1381+ }
1382+
1383+ /*
1384+ * Gets secondary_constraint_type
1385+ *
1386+ * @return \Aspose\Tasks\Model\PrimaveraConstraintType
1387+ */
1388+ public function getSecondaryConstraintType ()
1389+ {
1390+ return $ this ->container ['secondary_constraint_type ' ];
1391+ }
1392+
1393+ /*
1394+ * Sets secondary_constraint_type
1395+ *
1396+ * @param \Aspose\Tasks\Model\PrimaveraConstraintType $secondary_constraint_type Gets a type of secondary constraint.
1397+ *
1398+ * @return $this
1399+ */
1400+ public function setSecondaryConstraintType ($ secondary_constraint_type )
1401+ {
1402+ $ this ->container ['secondary_constraint_type ' ] = $ secondary_constraint_type ;
1403+
1404+ return $ this ;
1405+ }
1406+
1407+ /*
1408+ * Gets secondary_constraint_date
1409+ *
1410+ * @return \DateTime
1411+ */
1412+ public function getSecondaryConstraintDate ()
1413+ {
1414+ return $ this ->container ['secondary_constraint_date ' ];
1415+ }
1416+
1417+ /*
1418+ * Sets secondary_constraint_date
1419+ *
1420+ * @param \DateTime $secondary_constraint_date Gets the date of secondary constraint.
1421+ *
1422+ * @return $this
1423+ */
1424+ public function setSecondaryConstraintDate ($ secondary_constraint_date )
1425+ {
1426+ $ this ->container ['secondary_constraint_date ' ] = $ secondary_constraint_date ;
1427+
1428+ return $ this ;
1429+ }
12861430 /*
12871431 * Returns true if offset exists. False otherwise.
12881432 *
0 commit comments