Skip to content

Commit

Permalink
[TASKSCLOUD-645] - Deployed new 22.7 version.
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanAndreychikov committed Aug 4, 2022
1 parent 92a209a commit bf9cd45
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/models/configuration.go
Expand Up @@ -91,7 +91,7 @@ func NewConfiguration(configFilePath string) (pConfig *Configuration, err error)
cfg := Configuration{
BaseUrl: "https://api.aspose.cloud",
DebugMode: false,
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "21.10"},
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "22.7"},
}
err = json.Unmarshal(data, &cfg)

Expand Down
2 changes: 2 additions & 0 deletions api/models/extended_attribute_definition.go
Expand Up @@ -59,6 +59,8 @@ type ExtendedAttributeDefinition struct {
RollupType *RollupType `json:"rollupType"`
// Determines whether rollups are calculated for a task and group summary rows.
CalculationType *CalculationType `json:"calculationType"`
// Gets or sets the type of calculation of the custom attribute's value for summary rows.
SummaryRowsCalculationType *SummaryRowsCalculationType `json:"summaryRowsCalculationType"`
// The formula that Microsoft Project uses to populate a custom task field.
Formula string `json:"formula,omitempty"`
// Determines whether only values in the list are allowed in a file.
Expand Down
2 changes: 2 additions & 0 deletions api/models/resource.go
Expand Up @@ -33,6 +33,8 @@ import (

// Represents a project resource.
type Resource struct {
// Gets the flag indicating whether resource is a root resource. Root resource is a special resource which is intended to support internals of MS Project's formats and is not intended to be used directly from the user's code.
IsRoot bool `json:"isRoot"`
// The name of a resource.
Name string `json:"name,omitempty"`
// The unique identifier of a resource.
Expand Down
37 changes: 37 additions & 0 deletions api/models/summary_rows_calculation_type.go
@@ -0,0 +1,37 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="summary_rows_calculation_type.go">
* 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>
* --------------------------------------------------------------------------------
*/

package models
// SummaryRowsCalculationType : Specifies the type of a calculation of the custom attribute's value for summary rows.
type SummaryRowsCalculationType string

// List of SummaryRowsCalculationType
const (
NONE_SummaryRowsCalculationType SummaryRowsCalculationType = "None"
ROLLUP_SummaryRowsCalculationType SummaryRowsCalculationType = "Rollup"
USE_FORMULA_SummaryRowsCalculationType SummaryRowsCalculationType = "UseFormula"
)
1 change: 1 addition & 0 deletions docs/ExtendedAttributeDefinition.md
Expand Up @@ -18,6 +18,7 @@ Name | Type | Description | Notes
**PhoneticsAlias** | **string** | The phonetic pronunciation of the alias of a custom field. | [optional] [default to null]
**RollupType** | [***RollupType**](RollupType.md) | The way rollups are calculated. | [default to null]
**CalculationType** | [***CalculationType**](CalculationType.md) | Determines whether rollups are calculated for a task and group summary rows. | [default to null]
**SummaryRowsCalculationType** | [***SummaryRowsCalculationType**](SummaryRowsCalculationType.md) | Gets or sets the type of calculation of the custom attribute&#39;s value for summary rows. | [default to null]
**Formula** | **string** | The formula that Microsoft Project uses to populate a custom task field. | [optional] [default to null]
**RestrictValues** | **bool** | Determines whether only values in the list are allowed in a file. | [default to null]
**ValuelistSortOrder** | **int32** | The way value lists are sorted. Values are: 0&#x3D;Descending, 1&#x3D;Ascending. | [default to null]
Expand Down
1 change: 1 addition & 0 deletions docs/Resource.md
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**IsRoot** | **bool** | Gets the flag indicating whether resource is a root resource. Root resource is a special resource which is intended to support internals of MS Project&#39;s formats and is not intended to be used directly from the user&#39;s code. | [default to null]
**Name** | **string** | The name of a resource. | [optional] [default to null]
**Uid** | **int32** | The unique identifier of a resource. | [default to null]
**Id** | **int32** | The position identifier of a resource within the list of resources. | [default to null]
Expand Down
9 changes: 9 additions & 0 deletions docs/SummaryRowsCalculationType.md
@@ -0,0 +1,9 @@
# SummaryRowsCalculationType

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

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


0 comments on commit bf9cd45

Please sign in to comment.