Skip to content

Commit d25885e

Browse files
[TASKSCLOUD-904] - Deployed new 25.4 version
1 parent 317ae1d commit d25885e

File tree

6 files changed

+154
-16
lines changed

6 files changed

+154
-16
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/t
3434
XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG
3535

3636

37+
## Enhancements in Version 25.4
38+
- Enhanced Task model.
39+
- Enhanced TaskLink model.
40+
- Enhanced ProjectRecalculationResult model.
41+
3742
## Enhancements in Version 24.11
3843
- Enhanced reading data from Primavera-specific task's properties.
3944

src/Aspose/Tasks/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class Configuration
135135
* Version of Aspose.Tasks Cloud API
136136
*
137137
*/
138-
protected $clientVersion = '24.11';
138+
protected $clientVersion = '25.4';
139139

140140
/*
141141
* Constructor

src/Aspose/Tasks/Model/ProjectRecalculationResult.php

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ class ProjectRecalculationResult implements ArrayAccess
5757
*/
5858
protected static $swaggerTypes = [
5959
'validation_state' => '\Aspose\Tasks\Model\ProjectValidationState',
60-
'validation_error_message' => 'string'
60+
'validation_error_message' => 'string',
61+
'failed_task_uid' => 'int'
6162
];
6263

6364
/*
@@ -67,7 +68,8 @@ class ProjectRecalculationResult implements ArrayAccess
6768
*/
6869
protected static $swaggerFormats = [
6970
'validation_state' => null,
70-
'validation_error_message' => null
71+
'validation_error_message' => null,
72+
'failed_task_uid' => 'int32'
7173
];
7274

7375
/*
@@ -98,7 +100,8 @@ public static function swaggerFormats()
98100
*/
99101
protected static $attributeMap = [
100102
'validation_state' => 'validationState',
101-
'validation_error_message' => 'validationErrorMessage'
103+
'validation_error_message' => 'validationErrorMessage',
104+
'failed_task_uid' => 'failedTaskUid'
102105
];
103106

104107
/*
@@ -108,7 +111,8 @@ public static function swaggerFormats()
108111
*/
109112
protected static $setters = [
110113
'validation_state' => 'setValidationState',
111-
'validation_error_message' => 'setValidationErrorMessage'
114+
'validation_error_message' => 'setValidationErrorMessage',
115+
'failed_task_uid' => 'setFailedTaskUid'
112116
];
113117

114118
/*
@@ -118,7 +122,8 @@ public static function swaggerFormats()
118122
*/
119123
protected static $getters = [
120124
'validation_state' => 'getValidationState',
121-
'validation_error_message' => 'getValidationErrorMessage'
125+
'validation_error_message' => 'getValidationErrorMessage',
126+
'failed_task_uid' => 'getFailedTaskUid'
122127
];
123128

124129
/*
@@ -183,6 +188,7 @@ public function __construct(array $data = null)
183188
{
184189
$this->container['validation_state'] = isset($data['validation_state']) ? $data['validation_state'] : null;
185190
$this->container['validation_error_message'] = isset($data['validation_error_message']) ? $data['validation_error_message'] : null;
191+
$this->container['failed_task_uid'] = isset($data['failed_task_uid']) ? $data['failed_task_uid'] : null;
186192
}
187193

188194
/*
@@ -263,6 +269,30 @@ public function setValidationErrorMessage($validation_error_message)
263269

264270
return $this;
265271
}
272+
273+
/*
274+
* Gets failed_task_uid
275+
*
276+
* @return int
277+
*/
278+
public function getFailedTaskUid()
279+
{
280+
return $this->container['failed_task_uid'];
281+
}
282+
283+
/*
284+
* Sets failed_task_uid
285+
*
286+
* @param int $failed_task_uid Gets the task uid which caused the validation error.
287+
*
288+
* @return $this
289+
*/
290+
public function setFailedTaskUid($failed_task_uid)
291+
{
292+
$this->container['failed_task_uid'] = $failed_task_uid;
293+
294+
return $this;
295+
}
266296
/*
267297
* Returns true if offset exists. False otherwise.
268298
*

src/Aspose/Tasks/Model/Task.php

Lines changed: 71 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class Task implements ArrayAccess
8282
'constraint_type' => '\Aspose\Tasks\Model\ConstraintType',
8383
'contact' => 'string',
8484
'cost' => 'float',
85+
'outline_number' => 'string',
8586
'cv' => 'double',
8687
'deadline' => '\DateTime',
8788
'duration_variance' => 'string',
@@ -170,7 +171,8 @@ class Task implements ArrayAccess
170171
'extended_attributes' => '\Aspose\Tasks\Model\ExtendedAttribute[]',
171172
'outline_codes' => '\Aspose\Tasks\Model\OutlineCode[]',
172173
'warning' => 'bool',
173-
'activity_id' => 'string'
174+
'activity_id' => 'string',
175+
'external_uid' => 'int'
174176
];
175177

176178
/*
@@ -205,6 +207,7 @@ class Task implements ArrayAccess
205207
'constraint_type' => null,
206208
'contact' => null,
207209
'cost' => 'decimal',
210+
'outline_number' => null,
208211
'cv' => 'double',
209212
'deadline' => 'date-time',
210213
'duration_variance' => 'time-span',
@@ -293,7 +296,8 @@ class Task implements ArrayAccess
293296
'extended_attributes' => null,
294297
'outline_codes' => null,
295298
'warning' => null,
296-
'activity_id' => null
299+
'activity_id' => null,
300+
'external_uid' => 'int32'
297301
];
298302

299303
/*
@@ -349,6 +353,7 @@ public static function swaggerFormats()
349353
'constraint_type' => 'constraintType',
350354
'contact' => 'contact',
351355
'cost' => 'cost',
356+
'outline_number' => 'outlineNumber',
352357
'cv' => 'cv',
353358
'deadline' => 'deadline',
354359
'duration_variance' => 'durationVariance',
@@ -437,7 +442,8 @@ public static function swaggerFormats()
437442
'extended_attributes' => 'extendedAttributes',
438443
'outline_codes' => 'outlineCodes',
439444
'warning' => 'warning',
440-
'activity_id' => 'activityId'
445+
'activity_id' => 'activityId',
446+
'external_uid' => 'externalUid'
441447
];
442448

443449
/*
@@ -472,6 +478,7 @@ public static function swaggerFormats()
472478
'constraint_type' => 'setConstraintType',
473479
'contact' => 'setContact',
474480
'cost' => 'setCost',
481+
'outline_number' => 'setOutlineNumber',
475482
'cv' => 'setCv',
476483
'deadline' => 'setDeadline',
477484
'duration_variance' => 'setDurationVariance',
@@ -560,7 +567,8 @@ public static function swaggerFormats()
560567
'extended_attributes' => 'setExtendedAttributes',
561568
'outline_codes' => 'setOutlineCodes',
562569
'warning' => 'setWarning',
563-
'activity_id' => 'setActivityId'
570+
'activity_id' => 'setActivityId',
571+
'external_uid' => 'setExternalUid'
564572
];
565573

566574
/*
@@ -595,6 +603,7 @@ public static function swaggerFormats()
595603
'constraint_type' => 'getConstraintType',
596604
'contact' => 'getContact',
597605
'cost' => 'getCost',
606+
'outline_number' => 'getOutlineNumber',
598607
'cv' => 'getCv',
599608
'deadline' => 'getDeadline',
600609
'duration_variance' => 'getDurationVariance',
@@ -683,7 +692,8 @@ public static function swaggerFormats()
683692
'extended_attributes' => 'getExtendedAttributes',
684693
'outline_codes' => 'getOutlineCodes',
685694
'warning' => 'getWarning',
686-
'activity_id' => 'getActivityId'
695+
'activity_id' => 'getActivityId',
696+
'external_uid' => 'getExternalUid'
687697
];
688698

689699
/*
@@ -772,6 +782,7 @@ public function __construct(array $data = null)
772782
$this->container['constraint_type'] = isset($data['constraint_type']) ? $data['constraint_type'] : null;
773783
$this->container['contact'] = isset($data['contact']) ? $data['contact'] : null;
774784
$this->container['cost'] = isset($data['cost']) ? $data['cost'] : null;
785+
$this->container['outline_number'] = isset($data['outline_number']) ? $data['outline_number'] : null;
775786
$this->container['cv'] = isset($data['cv']) ? $data['cv'] : null;
776787
$this->container['deadline'] = isset($data['deadline']) ? $data['deadline'] : null;
777788
$this->container['duration_variance'] = isset($data['duration_variance']) ? $data['duration_variance'] : null;
@@ -861,6 +872,7 @@ public function __construct(array $data = null)
861872
$this->container['outline_codes'] = isset($data['outline_codes']) ? $data['outline_codes'] : array();
862873
$this->container['warning'] = isset($data['warning']) ? $data['warning'] : false;
863874
$this->container['activity_id'] = isset($data['activity_id']) ? $data['activity_id'] : null;
875+
$this->container['external_uid'] = isset($data['external_uid']) ? $data['external_uid'] : null;
864876
}
865877

866878
/*
@@ -1148,6 +1160,9 @@ public function listInvalidProperties()
11481160
if ($this->container['warning'] === null) {
11491161
$invalidProperties[] = "'warning' can't be null";
11501162
}
1163+
if ($this->container['external_uid'] === null) {
1164+
$invalidProperties[] = "'external_uid' can't be null";
1165+
}
11511166
return $invalidProperties;
11521167
}
11531168

@@ -1436,6 +1451,9 @@ public function valid()
14361451
if ($this->container['warning'] === null) {
14371452
return false;
14381453
}
1454+
if ($this->container['external_uid'] === null) {
1455+
return false;
1456+
}
14391457
return true;
14401458
}
14411459

@@ -2064,6 +2082,30 @@ public function setCost($cost)
20642082
return $this;
20652083
}
20662084

2085+
/*
2086+
* Gets outline_number
2087+
*
2088+
* @return string
2089+
*/
2090+
public function getOutlineNumber()
2091+
{
2092+
return $this->container['outline_number'];
2093+
}
2094+
2095+
/*
2096+
* Sets outline_number
2097+
*
2098+
* @param string $outline_number Gets or sets a value of OutlineNumber.
2099+
*
2100+
* @return $this
2101+
*/
2102+
public function setOutlineNumber($outline_number)
2103+
{
2104+
$this->container['outline_number'] = $outline_number;
2105+
2106+
return $this;
2107+
}
2108+
20672109
/*
20682110
* Gets cv
20692111
*
@@ -4199,6 +4241,30 @@ public function setActivityId($activity_id)
41994241

42004242
return $this;
42014243
}
4244+
4245+
/*
4246+
* Gets external_uid
4247+
*
4248+
* @return int
4249+
*/
4250+
public function getExternalUid()
4251+
{
4252+
return $this->container['external_uid'];
4253+
}
4254+
4255+
/*
4256+
* Sets external_uid
4257+
*
4258+
* @param int $external_uid Contains the external task's Unique identifier when the task is external.
4259+
*
4260+
* @return $this
4261+
*/
4262+
public function setExternalUid($external_uid)
4263+
{
4264+
$this->container['external_uid'] = $external_uid;
4265+
4266+
return $this;
4267+
}
42024268
/*
42034269
* Returns true if offset exists. False otherwise.
42044270
*

0 commit comments

Comments
 (0)