Skip to content

Commit 9b5590e

Browse files
[TASKSCLOUD-963] - Deployed new 25.11 version.
1 parent 412b638 commit 9b5590e

File tree

6 files changed

+70
-1
lines changed

6 files changed

+70
-1
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 25.11
38+
- Enhanced reading data from Primavera-specific task's properties.
39+
3740
## Enhancements in Version 25.8
3841
- Added new ability to level tasks for the resources.
3942
- Provided the ability to clear leveling delay that was previously added to the tasks during resource leveling.

api/models/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func NewConfiguration(configFilePath string) (pConfig *Configuration, err error)
9292
cfg := Configuration{
9393
BaseUrl: "https://api.aspose.cloud",
9494
DebugMode: false,
95-
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "25.8"},
95+
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "25.11"},
9696
}
9797
err = json.Unmarshal(data, &cfg)
9898

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose" file="primavera_constraint_type.go">
4+
* Copyright (c) 2025 Aspose.Tasks Cloud
5+
* </copyright>
6+
* <summary>
7+
* Permission is hereby granted, free of charge, to any person obtaining a copy
8+
* of this software and associated documentation files (the "Software"), to deal
9+
* in the Software without restriction, including without limitation the rights
10+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
* copies of the Software, and to permit persons to whom the Software is
12+
* furnished to do so, subject to the following conditions:
13+
*
14+
* The above copyright notice and this permission notice shall be included in all
15+
* copies or substantial portions of the Software.
16+
*
17+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
* SOFTWARE.
24+
* </summary>
25+
* --------------------------------------------------------------------------------
26+
*/
27+
28+
package models
29+
30+
// PrimaveraConstraintType : Specifies a type of activity's constraint.
31+
type PrimaveraConstraintType string
32+
33+
// List of PrimaveraConstraintType
34+
const (
35+
NONE_PrimaveraConstraintType PrimaveraConstraintType = "None"
36+
FINISH_ON_PrimaveraConstraintType PrimaveraConstraintType = "FinishOn"
37+
FINISH_ON_OR_AFTER_PrimaveraConstraintType PrimaveraConstraintType = "FinishOnOrAfter"
38+
FINISH_ON_OR_BEFORE_PrimaveraConstraintType PrimaveraConstraintType = "FinishOnOrBefore"
39+
MANDATORY_FINISH_PrimaveraConstraintType PrimaveraConstraintType = "MandatoryFinish"
40+
MANDATORY_START_PrimaveraConstraintType PrimaveraConstraintType = "MandatoryStart"
41+
START_ON_PrimaveraConstraintType PrimaveraConstraintType = "StartOn"
42+
START_ON_OR_AFTER_PrimaveraConstraintType PrimaveraConstraintType = "StartOnOrAfter"
43+
START_ON_OR_BEFORE_PrimaveraConstraintType PrimaveraConstraintType = "StartOnOrBefore"
44+
AS_LATE_AS_POSSIBLE_PrimaveraConstraintType PrimaveraConstraintType = "AsLateAsPossible"
45+
)

api/models/primavera_task_properties.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,12 @@ type PrimaveraTaskProperties struct {
9595
BudgetedMaterialCost float32 `json:"budgetedMaterialCost"`
9696
// Gets the value of budgeted (or planned) expense cost.
9797
BudgetedExpenseCost float32 `json:"budgetedExpenseCost"`
98+
// Gets a type of primary constraint.
99+
PrimaryConstraintType *PrimaveraConstraintType `json:"primaryConstraintType"`
100+
// Gets the date of primary constraint.
101+
PrimaryConstraintDate custom.TimeWithoutTZ `json:"primaryConstraintDate"`
102+
// Gets a type of secondary constraint.
103+
SecondaryConstraintType *PrimaveraConstraintType `json:"secondaryConstraintType"`
104+
// Gets the date of secondary constraint.
105+
SecondaryConstraintDate custom.TimeWithoutTZ `json:"secondaryConstraintDate"`
98106
}

docs/PrimaveraConstraintType.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# PrimaveraConstraintType
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
8+
9+

docs/PrimaveraTaskProperties.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Name | Type | Description | Notes
3434
**BudgetedNonlaborCost** | **float32** | Gets the value of budgeted (or planned) non labor cost. | [default to null]
3535
**BudgetedMaterialCost** | **float32** | Gets the value of of budgeted (or planned) material cost. | [default to null]
3636
**BudgetedExpenseCost** | **float32** | Gets the value of budgeted (or planned) expense cost. | [default to null]
37+
**PrimaryConstraintType** | [***PrimaveraConstraintType**](PrimaveraConstraintType.md) | Gets a type of primary constraint. | [default to null]
38+
**PrimaryConstraintDate** | [**time.Time**](time.Time.md) | Gets the date of primary constraint. | [default to null]
39+
**SecondaryConstraintType** | [***PrimaveraConstraintType**](PrimaveraConstraintType.md) | Gets a type of secondary constraint. | [default to null]
40+
**SecondaryConstraintDate** | [**time.Time**](time.Time.md) | Gets the date of secondary constraint. | [default to null]
3741

3842
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3943

0 commit comments

Comments
 (0)