Skip to content

Commit

Permalink
[TASKSCLOUD-865] - Deployed new 24.11 version
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanAndreychikov committed Nov 1, 2024
1 parent 2913e06 commit 317ae1d
Show file tree
Hide file tree
Showing 10 changed files with 1,006 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/t
XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG


## Enhancements in Version 24.11
- Enhanced reading data from Primavera-specific task's properties.

## Enhancements in Version 24.4
- Added new ability to get views information.
- Possibility to modify table text styles for Gantt Chart views.
Expand Down
2 changes: 1 addition & 1 deletion src/Aspose/Tasks/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Configuration
* Version of Aspose.Tasks Cloud API
*
*/
protected $clientVersion = '24.4';
protected $clientVersion = '24.11';

/*
* Constructor
Expand Down
30 changes: 30 additions & 0 deletions src/Aspose/Tasks/Model/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class Calendar implements ArrayAccess
* @var string[]
*/
protected static $swaggerTypes = [
'guid' => 'string',
'name' => 'string',
'uid' => 'int',
'days' => '\Aspose\Tasks\Model\WeekDay[]',
Expand All @@ -70,6 +71,7 @@ class Calendar implements ArrayAccess
* @var string[]
*/
protected static $swaggerFormats = [
'guid' => null,
'name' => null,
'uid' => 'int32',
'days' => null,
Expand Down Expand Up @@ -105,6 +107,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $attributeMap = [
'guid' => 'guid',
'name' => 'name',
'uid' => 'uid',
'days' => 'days',
Expand All @@ -119,6 +122,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $setters = [
'guid' => 'setGuid',
'name' => 'setName',
'uid' => 'setUid',
'days' => 'setDays',
Expand All @@ -133,6 +137,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $getters = [
'guid' => 'getGuid',
'name' => 'getName',
'uid' => 'getUid',
'days' => 'getDays',
Expand Down Expand Up @@ -201,6 +206,7 @@ public function getModelName()
*/
public function __construct(array $data = null)
{
$this->container['guid'] = isset($data['guid']) ? $data['guid'] : null;
$this->container['name'] = isset($data['name']) ? $data['name'] : null;
$this->container['uid'] = isset($data['uid']) ? $data['uid'] : null;
$this->container['days'] = isset($data['days']) ? $data['days'] : array();
Expand Down Expand Up @@ -252,6 +258,30 @@ public function valid()
}


/*
* Gets guid
*
* @return string
*/
public function getGuid()
{
return $this->container['guid'];
}

/*
* Sets guid
*
* @param string $guid Gets calendar's Guid.
*
* @return $this
*/
public function setGuid($guid)
{
$this->container['guid'] = $guid;

return $this;
}

/*
* Gets name
*
Expand Down
71 changes: 71 additions & 0 deletions src/Aspose/Tasks/Model/PrimaveraActivityType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?php
/**
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="PrimaveraActivityType.php">
* Copyright (c) 2021 Aspose.Tasks Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* </summary>
* --------------------------------------------------------------------------------------------------------------------
*/
/*
* PrimaveraActivityType
*/

namespace Aspose\Tasks\Model;
use \Aspose\Tasks\ObjectSerializer;

/*
* PrimaveraActivityType
*
* @description Specifies type of Primavera activity.
*/
class PrimaveraActivityType
{
/*
* Possible values of this enum
*/
const NONE = 'None';
const START_MILESTONE = 'StartMilestone';
const FINISH_MILESTONE = 'FinishMilestone';
const TASK_DEPENDENT = 'TaskDependent';
const RESOURCE_DEPENDENT = 'ResourceDependent';
const LEVEL_OF_EFFORT = 'LevelOfEffort';
const WBS_SUMMARY = 'WbsSummary';

/*
* Gets allowable values of the enum
* @return string[]
*/
public static function getAllowableEnumValues()
{
return [
self::NONE,
self::START_MILESTONE,
self::FINISH_MILESTONE,
self::TASK_DEPENDENT,
self::RESOURCE_DEPENDENT,
self::LEVEL_OF_EFFORT,
self::WBS_SUMMARY,
];
}
}


67 changes: 67 additions & 0 deletions src/Aspose/Tasks/Model/PrimaveraDurationType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php
/**
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="PrimaveraDurationType.php">
* Copyright (c) 2021 Aspose.Tasks Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* </summary>
* --------------------------------------------------------------------------------------------------------------------
*/
/*
* PrimaveraDurationType
*/

namespace Aspose\Tasks\Model;
use \Aspose\Tasks\ObjectSerializer;

/*
* PrimaveraDurationType
*
* @description Specifies duration type of Primavera activity.
*/
class PrimaveraDurationType
{
/*
* Possible values of this enum
*/
const NONE = 'None';
const FIXED_DURATION_UNITS = 'FixedDurationUnits';
const FIXED_DURATION_UNITS_TIME = 'FixedDurationUnitsTime';
const FIXED_UNITS = 'FixedUnits';
const FIXED_UNITS_TIME = 'FixedUnitsTime';

/*
* Gets allowable values of the enum
* @return string[]
*/
public static function getAllowableEnumValues()
{
return [
self::NONE,
self::FIXED_DURATION_UNITS,
self::FIXED_DURATION_UNITS_TIME,
self::FIXED_UNITS,
self::FIXED_UNITS_TIME,
];
}
}


65 changes: 65 additions & 0 deletions src/Aspose/Tasks/Model/PrimaveraPercentCompleteType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?php
/**
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="PrimaveraPercentCompleteType.php">
* Copyright (c) 2021 Aspose.Tasks Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* </summary>
* --------------------------------------------------------------------------------------------------------------------
*/
/*
* PrimaveraPercentCompleteType
*/

namespace Aspose\Tasks\Model;
use \Aspose\Tasks\ObjectSerializer;

/*
* PrimaveraPercentCompleteType
*
* @description Specifies value of &#39;% Complete Type&#39; field for Primavera activities.
*/
class PrimaveraPercentCompleteType
{
/*
* Possible values of this enum
*/
const NONE = 'None';
const DURATION = 'Duration';
const PHYSICAL = 'Physical';
const UNITS = 'Units';

/*
* Gets allowable values of the enum
* @return string[]
*/
public static function getAllowableEnumValues()
{
return [
self::NONE,
self::DURATION,
self::PHYSICAL,
self::UNITS,
];
}
}


Loading

0 comments on commit 317ae1d

Please sign in to comment.