Skip to content

Commit 2789370

Browse files
[TASKSCLOUD-646] - Deployed new 22.7 version.
1 parent f22459a commit 2789370

File tree

7 files changed

+171
-20
lines changed

7 files changed

+171
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Add this dependency to your project's POM:
7171
<dependency>
7272
<groupId>com.aspose</groupId>
7373
<artifactId>aspose-tasks-cloud</artifactId>
74-
<version>21.10.0</version>
74+
<version>22.7.0</version>
7575
</dependency>
7676
</dependencies>
7777
```

aspose-tasks-cloud-21.10.0.pom renamed to aspose-tasks-cloud-22.7.0.pom

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
<artifactId>aspose-tasks-cloud</artifactId>
55
<packaging>jar</packaging>
66
<name>aspose-tasks-cloud</name>
7-
<version>21.10.0</version>
7+
<version>22.7.0</version>
88
<url>https://www.aspose.cloud/</url>
99
<description>Aspose Tasks Cloud Java SDK</description>
1010
<scm>
1111
<url>https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-java</url>
1212
<tag>HEAD</tag>
1313
</scm>
1414

15-
<distributionManagement>
16-
<repository>
17-
<id>aspose</id>
18-
<url>http://repository.aspose.cloud/repo/</url>
19-
</repository>
20-
</distributionManagement>
15+
<distributionManagement>
16+
<repository>
17+
<id>aspose-cloud-s3-repo-ci</id>
18+
<url>s3://data.repository.aspose.cloud/repo/</url>
19+
</repository>
20+
</distributionManagement>
2121

2222
<licenses>
2323
<license>
@@ -36,7 +36,14 @@
3636
</developer>
3737
</developers>
3838

39-
<build>
39+
<build>
40+
<extensions>
41+
<extension>
42+
<groupId>com.github.seahen</groupId>
43+
<artifactId>maven-s3-wagon</artifactId>
44+
<version>1.3.3</version>
45+
</extension>
46+
</extensions>
4047
<pluginManagement>
4148
<plugins>
4249
<plugin>

pom.xml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
<artifactId>aspose-tasks-cloud</artifactId>
55
<packaging>jar</packaging>
66
<name>aspose-tasks-cloud</name>
7-
<version>21.10.0</version>
7+
<version>22.7.0</version>
88
<url>https://www.aspose.cloud/</url>
99
<description>Aspose Tasks Cloud Java SDK</description>
1010
<scm>
1111
<url>https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-java</url>
1212
<tag>HEAD</tag>
1313
</scm>
1414

15-
<distributionManagement>
16-
<repository>
17-
<id>aspose</id>
18-
<url>http://repository.aspose.cloud/repo/</url>
19-
</repository>
20-
</distributionManagement>
15+
<distributionManagement>
16+
<repository>
17+
<id>aspose-cloud-s3-repo-ci</id>
18+
<url>s3://data.repository.aspose.cloud/repo/</url>
19+
</repository>
20+
</distributionManagement>
2121

2222
<licenses>
2323
<license>
@@ -37,6 +37,13 @@
3737
</developers>
3838

3939
<build>
40+
<extensions>
41+
<extension>
42+
<groupId>com.github.seahen</groupId>
43+
<artifactId>maven-s3-wagon</artifactId>
44+
<version>1.3.3</version>
45+
</extension>
46+
</extensions>
4047
<pluginManagement>
4148
<plugins>
4249
<plugin>

src/main/java/com/aspose/tasks/cloud/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class ApiClient {
6969
private String apiVersion = "v3.0";
7070
private String baseUrl = "https://api.aspose.cloud";
7171
private String basePath = baseUrl + "/" + apiVersion;
72-
private String clientVersion = "21.10.0";
72+
private String clientVersion = "22.7.0";
7373
private boolean debugging = false;
7474
private Map<String, String> defaultHeaderMap = new HashMap<String, String>();
7575
private String tempFolderPath = null;

src/main/java/com/aspose/tasks/cloud/model/ExtendedAttributeDefinition.java

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import com.aspose.tasks.cloud.model.CustomFieldType;
3434
import com.aspose.tasks.cloud.model.ElementType;
3535
import com.aspose.tasks.cloud.model.RollupType;
36+
import com.aspose.tasks.cloud.model.SummaryRowsCalculationType;
3637
import com.aspose.tasks.cloud.model.Value;
3738
import com.google.gson.TypeAdapter;
3839
import com.google.gson.annotations.JsonAdapter;
@@ -96,6 +97,9 @@ public class ExtendedAttributeDefinition {
9697
@SerializedName("CalculationType")
9798
private CalculationType calculationType = null;
9899

100+
@SerializedName("SummaryRowsCalculationType")
101+
private SummaryRowsCalculationType summaryRowsCalculationType = null;
102+
99103
@SerializedName("Formula")
100104
private String formula = null;
101105

@@ -387,6 +391,24 @@ public void setCalculationType(CalculationType calculationType) {
387391
this.calculationType = calculationType;
388392
}
389393

394+
public ExtendedAttributeDefinition summaryRowsCalculationType(SummaryRowsCalculationType summaryRowsCalculationType) {
395+
this.summaryRowsCalculationType = summaryRowsCalculationType;
396+
return this;
397+
}
398+
399+
/**
400+
* Gets or sets the type of calculation of the custom attribute&#39;s value for summary rows.
401+
* @return summaryRowsCalculationType
402+
**/
403+
@ApiModelProperty(required = true, value = "Gets or sets the type of calculation of the custom attribute's value for summary rows.")
404+
public SummaryRowsCalculationType getSummaryRowsCalculationType() {
405+
return summaryRowsCalculationType;
406+
}
407+
408+
public void setSummaryRowsCalculationType(SummaryRowsCalculationType summaryRowsCalculationType) {
409+
this.summaryRowsCalculationType = summaryRowsCalculationType;
410+
}
411+
390412
public ExtendedAttributeDefinition formula(String formula) {
391413
this.formula = formula;
392414
return this;
@@ -546,6 +568,7 @@ public boolean equals(java.lang.Object o) {
546568
Objects.equals(this.phoneticsAlias, extendedAttributeDefinition.phoneticsAlias) &&
547569
Objects.equals(this.rollupType, extendedAttributeDefinition.rollupType) &&
548570
Objects.equals(this.calculationType, extendedAttributeDefinition.calculationType) &&
571+
Objects.equals(this.summaryRowsCalculationType, extendedAttributeDefinition.summaryRowsCalculationType) &&
549572
Objects.equals(this.formula, extendedAttributeDefinition.formula) &&
550573
Objects.equals(this.restrictValues, extendedAttributeDefinition.restrictValues) &&
551574
Objects.equals(this.valuelistSortOrder, extendedAttributeDefinition.valuelistSortOrder) &&
@@ -557,7 +580,7 @@ public boolean equals(java.lang.Object o) {
557580

558581
@Override
559582
public int hashCode() {
560-
return Objects.hash(fieldId, fieldName, cfType, guid, elementType, maxMultiValues, userDef, alias, secondaryPid, autoRollDown, defaultGuid, lookupUid, phoneticsAlias, rollupType, calculationType, formula, restrictValues, valuelistSortOrder, appendNewValues, _default, valueList, secondaryGuid);
583+
return Objects.hash(fieldId, fieldName, cfType, guid, elementType, maxMultiValues, userDef, alias, secondaryPid, autoRollDown, defaultGuid, lookupUid, phoneticsAlias, rollupType, calculationType, summaryRowsCalculationType, formula, restrictValues, valuelistSortOrder, appendNewValues, _default, valueList, secondaryGuid);
561584
}
562585

563586

@@ -581,6 +604,7 @@ public String toString() {
581604
sb.append(" phoneticsAlias: ").append(toIndentedString(phoneticsAlias)).append("\n");
582605
sb.append(" rollupType: ").append(toIndentedString(rollupType)).append("\n");
583606
sb.append(" calculationType: ").append(toIndentedString(calculationType)).append("\n");
607+
sb.append(" summaryRowsCalculationType: ").append(toIndentedString(summaryRowsCalculationType)).append("\n");
584608
sb.append(" formula: ").append(toIndentedString(formula)).append("\n");
585609
sb.append(" restrictValues: ").append(toIndentedString(restrictValues)).append("\n");
586610
sb.append(" valuelistSortOrder: ").append(toIndentedString(valuelistSortOrder)).append("\n");

src/main/java/com/aspose/tasks/cloud/model/Resource.java

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
@ApiModel(description = "Represents a project resource.")
5757

5858
public class Resource {
59+
@SerializedName("IsRoot")
60+
private Boolean isRoot = null;
61+
5962
@SerializedName("Name")
6063
private String name = null;
6164

@@ -284,6 +287,24 @@ public class Resource {
284287
@SerializedName("OutlineCodes")
285288
private List<OutlineCode> outlineCodes = null;
286289

290+
public Resource isRoot(Boolean isRoot) {
291+
this.isRoot = isRoot;
292+
return this;
293+
}
294+
295+
/**
296+
* 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.
297+
* @return isRoot
298+
**/
299+
@ApiModelProperty(required = true, value = " 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. ")
300+
public Boolean isIsRoot() {
301+
return isRoot;
302+
}
303+
304+
public void setIsRoot(Boolean isRoot) {
305+
this.isRoot = isRoot;
306+
}
307+
287308
public Resource name(String name) {
288309
this.name = name;
289310
return this;
@@ -1686,7 +1707,8 @@ public boolean equals(java.lang.Object o) {
16861707
return false;
16871708
}
16881709
Resource resource = (Resource) o;
1689-
return Objects.equals(this.name, resource.name) &&
1710+
return Objects.equals(this.isRoot, resource.isRoot) &&
1711+
Objects.equals(this.name, resource.name) &&
16901712
Objects.equals(this.uid, resource.uid) &&
16911713
Objects.equals(this.id, resource.id) &&
16921714
Objects.equals(this.guid, resource.guid) &&
@@ -1766,7 +1788,7 @@ public boolean equals(java.lang.Object o) {
17661788

17671789
@Override
17681790
public int hashCode() {
1769-
return Objects.hash(name, uid, id, guid, type, isNull, initials, phonetics, ntAccount, windowsUserAccount, workgroup, materialLabel, code, group, emailAddress, hyperlink, hyperlinkAddress, hyperlinkSubAddress, maxUnits, peakUnits, overAllocated, availableFrom, availableTo, start, finish, canLevel, accrueAt, work, regularWork, overtimeWork, actualWork, remainingWork, actualOvertimeWork, remainingOvertimeWork, percentWorkComplete, standardRate, standardRateFormat, cost, overtimeRateFormat, overtimeCost, costPerUse, actualCost, actualOvertimeCost, remainingCost, remainingOvertimeCost, workVariance, costVariance, sv, cv, acwp, calendarUid, notesText, notes, notesRTF, bcws, bcwp, isGeneric, isInactive, isEnterprise, bookingType, actualWorkProtected, actualOvertimeWorkProtected, activeDirectoryGuid, creationDate, costCenter, isCostResource, teamAssignmentPool, assignmentOwner, assignmentOwnerGuid, isBudget, budgetWork, budgetCost, overtimeRate, baselines, extendedAttributes, outlineCodes);
1791+
return Objects.hash(isRoot, name, uid, id, guid, type, isNull, initials, phonetics, ntAccount, windowsUserAccount, workgroup, materialLabel, code, group, emailAddress, hyperlink, hyperlinkAddress, hyperlinkSubAddress, maxUnits, peakUnits, overAllocated, availableFrom, availableTo, start, finish, canLevel, accrueAt, work, regularWork, overtimeWork, actualWork, remainingWork, actualOvertimeWork, remainingOvertimeWork, percentWorkComplete, standardRate, standardRateFormat, cost, overtimeRateFormat, overtimeCost, costPerUse, actualCost, actualOvertimeCost, remainingCost, remainingOvertimeCost, workVariance, costVariance, sv, cv, acwp, calendarUid, notesText, notes, notesRTF, bcws, bcwp, isGeneric, isInactive, isEnterprise, bookingType, actualWorkProtected, actualOvertimeWorkProtected, activeDirectoryGuid, creationDate, costCenter, isCostResource, teamAssignmentPool, assignmentOwner, assignmentOwnerGuid, isBudget, budgetWork, budgetCost, overtimeRate, baselines, extendedAttributes, outlineCodes);
17701792
}
17711793

17721794

@@ -1775,6 +1797,7 @@ public String toString() {
17751797
StringBuilder sb = new StringBuilder();
17761798
sb.append("class Resource {\n");
17771799

1800+
sb.append(" isRoot: ").append(toIndentedString(isRoot)).append("\n");
17781801
sb.append(" name: ").append(toIndentedString(name)).append("\n");
17791802
sb.append(" uid: ").append(toIndentedString(uid)).append("\n");
17801803
sb.append(" id: ").append(toIndentedString(id)).append("\n");
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* --------------------------------------------------------------------------------
3+
* <copyright company="Aspose">
4+
* Copyright (c) 2021 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 com.aspose.tasks.cloud.model;
29+
30+
import java.util.Objects;
31+
import java.util.Arrays;
32+
import io.swagger.annotations.ApiModel;
33+
import com.google.gson.annotations.SerializedName;
34+
35+
import java.io.IOException;
36+
import com.google.gson.TypeAdapter;
37+
import com.google.gson.annotations.JsonAdapter;
38+
import com.google.gson.stream.JsonReader;
39+
import com.google.gson.stream.JsonWriter;
40+
41+
/**
42+
* Specifies the type of a calculation of the custom attribute&#39;s value for summary rows.
43+
*/
44+
@JsonAdapter(SummaryRowsCalculationType.Adapter.class)
45+
public enum SummaryRowsCalculationType {
46+
47+
NONE("None"),
48+
49+
ROLLUP("Rollup"),
50+
51+
USEFORMULA("UseFormula");
52+
53+
private String value;
54+
55+
SummaryRowsCalculationType(String value) {
56+
this.value = value;
57+
}
58+
59+
public String getValue() {
60+
return value;
61+
}
62+
63+
@Override
64+
public String toString() {
65+
return String.valueOf(value);
66+
}
67+
68+
public static SummaryRowsCalculationType fromValue(String text) {
69+
for (SummaryRowsCalculationType b : SummaryRowsCalculationType.values()) {
70+
if (String.valueOf(b.value).equals(text)) {
71+
return b;
72+
}
73+
}
74+
return null;
75+
}
76+
77+
public static class Adapter extends TypeAdapter<SummaryRowsCalculationType> {
78+
@Override
79+
public void write(final JsonWriter jsonWriter, final SummaryRowsCalculationType enumeration) throws IOException {
80+
jsonWriter.value(enumeration.getValue());
81+
}
82+
83+
@Override
84+
public SummaryRowsCalculationType read(final JsonReader jsonReader) throws IOException {
85+
String value = jsonReader.nextString();
86+
return SummaryRowsCalculationType.fromValue(String.valueOf(value));
87+
}
88+
}
89+
}
90+

0 commit comments

Comments
 (0)