Skip to content

Commit 317ae1d

Browse files
[TASKSCLOUD-865] - Deployed new 24.11 version
1 parent 2913e06 commit 317ae1d

10 files changed

+1006
-7
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ 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 24.11
38+
- Enhanced reading data from Primavera-specific task's properties.
39+
3740
## Enhancements in Version 24.4
3841
- Added new ability to get views information.
3942
- Possibility to modify table text styles for Gantt Chart views.

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.4';
138+
protected $clientVersion = '24.11';
139139

140140
/*
141141
* Constructor

src/Aspose/Tasks/Model/Calendar.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class Calendar implements ArrayAccess
5656
* @var string[]
5757
*/
5858
protected static $swaggerTypes = [
59+
'guid' => 'string',
5960
'name' => 'string',
6061
'uid' => 'int',
6162
'days' => '\Aspose\Tasks\Model\WeekDay[]',
@@ -70,6 +71,7 @@ class Calendar implements ArrayAccess
7071
* @var string[]
7172
*/
7273
protected static $swaggerFormats = [
74+
'guid' => null,
7375
'name' => null,
7476
'uid' => 'int32',
7577
'days' => null,
@@ -105,6 +107,7 @@ public static function swaggerFormats()
105107
* @var string[]
106108
*/
107109
protected static $attributeMap = [
110+
'guid' => 'guid',
108111
'name' => 'name',
109112
'uid' => 'uid',
110113
'days' => 'days',
@@ -119,6 +122,7 @@ public static function swaggerFormats()
119122
* @var string[]
120123
*/
121124
protected static $setters = [
125+
'guid' => 'setGuid',
122126
'name' => 'setName',
123127
'uid' => 'setUid',
124128
'days' => 'setDays',
@@ -133,6 +137,7 @@ public static function swaggerFormats()
133137
* @var string[]
134138
*/
135139
protected static $getters = [
140+
'guid' => 'getGuid',
136141
'name' => 'getName',
137142
'uid' => 'getUid',
138143
'days' => 'getDays',
@@ -201,6 +206,7 @@ public function getModelName()
201206
*/
202207
public function __construct(array $data = null)
203208
{
209+
$this->container['guid'] = isset($data['guid']) ? $data['guid'] : null;
204210
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
205211
$this->container['uid'] = isset($data['uid']) ? $data['uid'] : null;
206212
$this->container['days'] = isset($data['days']) ? $data['days'] : array();
@@ -252,6 +258,30 @@ public function valid()
252258
}
253259

254260

261+
/*
262+
* Gets guid
263+
*
264+
* @return string
265+
*/
266+
public function getGuid()
267+
{
268+
return $this->container['guid'];
269+
}
270+
271+
/*
272+
* Sets guid
273+
*
274+
* @param string $guid Gets calendar's Guid.
275+
*
276+
* @return $this
277+
*/
278+
public function setGuid($guid)
279+
{
280+
$this->container['guid'] = $guid;
281+
282+
return $this;
283+
}
284+
255285
/*
256286
* Gets name
257287
*
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?php
2+
/**
3+
* --------------------------------------------------------------------------------------------------------------------
4+
* <copyright company="Aspose" file="PrimaveraActivityType.php">
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
6+
* </copyright>
7+
* <summary>
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in all
16+
* copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
* SOFTWARE.
25+
* </summary>
26+
* --------------------------------------------------------------------------------------------------------------------
27+
*/
28+
/*
29+
* PrimaveraActivityType
30+
*/
31+
32+
namespace Aspose\Tasks\Model;
33+
use \Aspose\Tasks\ObjectSerializer;
34+
35+
/*
36+
* PrimaveraActivityType
37+
*
38+
* @description Specifies type of Primavera activity.
39+
*/
40+
class PrimaveraActivityType
41+
{
42+
/*
43+
* Possible values of this enum
44+
*/
45+
const NONE = 'None';
46+
const START_MILESTONE = 'StartMilestone';
47+
const FINISH_MILESTONE = 'FinishMilestone';
48+
const TASK_DEPENDENT = 'TaskDependent';
49+
const RESOURCE_DEPENDENT = 'ResourceDependent';
50+
const LEVEL_OF_EFFORT = 'LevelOfEffort';
51+
const WBS_SUMMARY = 'WbsSummary';
52+
53+
/*
54+
* Gets allowable values of the enum
55+
* @return string[]
56+
*/
57+
public static function getAllowableEnumValues()
58+
{
59+
return [
60+
self::NONE,
61+
self::START_MILESTONE,
62+
self::FINISH_MILESTONE,
63+
self::TASK_DEPENDENT,
64+
self::RESOURCE_DEPENDENT,
65+
self::LEVEL_OF_EFFORT,
66+
self::WBS_SUMMARY,
67+
];
68+
}
69+
}
70+
71+
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?php
2+
/**
3+
* --------------------------------------------------------------------------------------------------------------------
4+
* <copyright company="Aspose" file="PrimaveraDurationType.php">
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
6+
* </copyright>
7+
* <summary>
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in all
16+
* copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
* SOFTWARE.
25+
* </summary>
26+
* --------------------------------------------------------------------------------------------------------------------
27+
*/
28+
/*
29+
* PrimaveraDurationType
30+
*/
31+
32+
namespace Aspose\Tasks\Model;
33+
use \Aspose\Tasks\ObjectSerializer;
34+
35+
/*
36+
* PrimaveraDurationType
37+
*
38+
* @description Specifies duration type of Primavera activity.
39+
*/
40+
class PrimaveraDurationType
41+
{
42+
/*
43+
* Possible values of this enum
44+
*/
45+
const NONE = 'None';
46+
const FIXED_DURATION_UNITS = 'FixedDurationUnits';
47+
const FIXED_DURATION_UNITS_TIME = 'FixedDurationUnitsTime';
48+
const FIXED_UNITS = 'FixedUnits';
49+
const FIXED_UNITS_TIME = 'FixedUnitsTime';
50+
51+
/*
52+
* Gets allowable values of the enum
53+
* @return string[]
54+
*/
55+
public static function getAllowableEnumValues()
56+
{
57+
return [
58+
self::NONE,
59+
self::FIXED_DURATION_UNITS,
60+
self::FIXED_DURATION_UNITS_TIME,
61+
self::FIXED_UNITS,
62+
self::FIXED_UNITS_TIME,
63+
];
64+
}
65+
}
66+
67+
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?php
2+
/**
3+
* --------------------------------------------------------------------------------------------------------------------
4+
* <copyright company="Aspose" file="PrimaveraPercentCompleteType.php">
5+
* Copyright (c) 2021 Aspose.Tasks Cloud
6+
* </copyright>
7+
* <summary>
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in all
16+
* copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
* SOFTWARE.
25+
* </summary>
26+
* --------------------------------------------------------------------------------------------------------------------
27+
*/
28+
/*
29+
* PrimaveraPercentCompleteType
30+
*/
31+
32+
namespace Aspose\Tasks\Model;
33+
use \Aspose\Tasks\ObjectSerializer;
34+
35+
/*
36+
* PrimaveraPercentCompleteType
37+
*
38+
* @description Specifies value of &#39;% Complete Type&#39; field for Primavera activities.
39+
*/
40+
class PrimaveraPercentCompleteType
41+
{
42+
/*
43+
* Possible values of this enum
44+
*/
45+
const NONE = 'None';
46+
const DURATION = 'Duration';
47+
const PHYSICAL = 'Physical';
48+
const UNITS = 'Units';
49+
50+
/*
51+
* Gets allowable values of the enum
52+
* @return string[]
53+
*/
54+
public static function getAllowableEnumValues()
55+
{
56+
return [
57+
self::NONE,
58+
self::DURATION,
59+
self::PHYSICAL,
60+
self::UNITS,
61+
];
62+
}
63+
}
64+
65+

0 commit comments

Comments
 (0)