-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASKSCLOUD-861] - Deployed new 24.10 version.
- Loading branch information
1 parent
38b6ba0
commit 57259fd
Showing
12 changed files
with
811 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
src/main/java/com/aspose/tasks/cloud/model/PrimaveraActivityType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/* | ||
* -------------------------------------------------------------------------------- | ||
* <copyright company="Aspose"> | ||
* 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 com.aspose.tasks.cloud.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import io.swagger.annotations.ApiModel; | ||
import com.google.gson.annotations.SerializedName; | ||
|
||
import java.io.IOException; | ||
import com.google.gson.TypeAdapter; | ||
import com.google.gson.annotations.JsonAdapter; | ||
import com.google.gson.stream.JsonReader; | ||
import com.google.gson.stream.JsonWriter; | ||
|
||
/** | ||
* Specifies type of Primavera activity. | ||
*/ | ||
@JsonAdapter(PrimaveraActivityType.Adapter.class) | ||
public enum PrimaveraActivityType { | ||
|
||
NONE("None"), | ||
|
||
STARTMILESTONE("StartMilestone"), | ||
|
||
FINISHMILESTONE("FinishMilestone"), | ||
|
||
TASKDEPENDENT("TaskDependent"), | ||
|
||
RESOURCEDEPENDENT("ResourceDependent"), | ||
|
||
LEVELOFEFFORT("LevelOfEffort"), | ||
|
||
WBSSUMMARY("WbsSummary"); | ||
|
||
private String value; | ||
|
||
PrimaveraActivityType(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return String.valueOf(value); | ||
} | ||
|
||
public static PrimaveraActivityType fromValue(String text) { | ||
for (PrimaveraActivityType b : PrimaveraActivityType.values()) { | ||
if (String.valueOf(b.value).equals(text)) { | ||
return b; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
public static class Adapter extends TypeAdapter<PrimaveraActivityType> { | ||
@Override | ||
public void write(final JsonWriter jsonWriter, final PrimaveraActivityType enumeration) throws IOException { | ||
jsonWriter.value(enumeration.getValue()); | ||
} | ||
|
||
@Override | ||
public PrimaveraActivityType read(final JsonReader jsonReader) throws IOException { | ||
String value = jsonReader.nextString(); | ||
return PrimaveraActivityType.fromValue(String.valueOf(value)); | ||
} | ||
} | ||
} | ||
|
94 changes: 94 additions & 0 deletions
94
src/main/java/com/aspose/tasks/cloud/model/PrimaveraDurationType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/* | ||
* -------------------------------------------------------------------------------- | ||
* <copyright company="Aspose"> | ||
* 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 com.aspose.tasks.cloud.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import io.swagger.annotations.ApiModel; | ||
import com.google.gson.annotations.SerializedName; | ||
|
||
import java.io.IOException; | ||
import com.google.gson.TypeAdapter; | ||
import com.google.gson.annotations.JsonAdapter; | ||
import com.google.gson.stream.JsonReader; | ||
import com.google.gson.stream.JsonWriter; | ||
|
||
/** | ||
* Specifies duration type of Primavera activity. | ||
*/ | ||
@JsonAdapter(PrimaveraDurationType.Adapter.class) | ||
public enum PrimaveraDurationType { | ||
|
||
NONE("None"), | ||
|
||
FIXEDDURATIONUNITS("FixedDurationUnits"), | ||
|
||
FIXEDDURATIONUNITSTIME("FixedDurationUnitsTime"), | ||
|
||
FIXEDUNITS("FixedUnits"), | ||
|
||
FIXEDUNITSTIME("FixedUnitsTime"); | ||
|
||
private String value; | ||
|
||
PrimaveraDurationType(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return String.valueOf(value); | ||
} | ||
|
||
public static PrimaveraDurationType fromValue(String text) { | ||
for (PrimaveraDurationType b : PrimaveraDurationType.values()) { | ||
if (String.valueOf(b.value).equals(text)) { | ||
return b; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
public static class Adapter extends TypeAdapter<PrimaveraDurationType> { | ||
@Override | ||
public void write(final JsonWriter jsonWriter, final PrimaveraDurationType enumeration) throws IOException { | ||
jsonWriter.value(enumeration.getValue()); | ||
} | ||
|
||
@Override | ||
public PrimaveraDurationType read(final JsonReader jsonReader) throws IOException { | ||
String value = jsonReader.nextString(); | ||
return PrimaveraDurationType.fromValue(String.valueOf(value)); | ||
} | ||
} | ||
} | ||
|
92 changes: 92 additions & 0 deletions
92
src/main/java/com/aspose/tasks/cloud/model/PrimaveraPercentCompleteType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/* | ||
* -------------------------------------------------------------------------------- | ||
* <copyright company="Aspose"> | ||
* 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 com.aspose.tasks.cloud.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import io.swagger.annotations.ApiModel; | ||
import com.google.gson.annotations.SerializedName; | ||
|
||
import java.io.IOException; | ||
import com.google.gson.TypeAdapter; | ||
import com.google.gson.annotations.JsonAdapter; | ||
import com.google.gson.stream.JsonReader; | ||
import com.google.gson.stream.JsonWriter; | ||
|
||
/** | ||
* Specifies value of '% Complete Type' field for Primavera activities. | ||
*/ | ||
@JsonAdapter(PrimaveraPercentCompleteType.Adapter.class) | ||
public enum PrimaveraPercentCompleteType { | ||
|
||
NONE("None"), | ||
|
||
DURATION("Duration"), | ||
|
||
PHYSICAL("Physical"), | ||
|
||
UNITS("Units"); | ||
|
||
private String value; | ||
|
||
PrimaveraPercentCompleteType(String value) { | ||
this.value = value; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return String.valueOf(value); | ||
} | ||
|
||
public static PrimaveraPercentCompleteType fromValue(String text) { | ||
for (PrimaveraPercentCompleteType b : PrimaveraPercentCompleteType.values()) { | ||
if (String.valueOf(b.value).equals(text)) { | ||
return b; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
public static class Adapter extends TypeAdapter<PrimaveraPercentCompleteType> { | ||
@Override | ||
public void write(final JsonWriter jsonWriter, final PrimaveraPercentCompleteType enumeration) throws IOException { | ||
jsonWriter.value(enumeration.getValue()); | ||
} | ||
|
||
@Override | ||
public PrimaveraPercentCompleteType read(final JsonReader jsonReader) throws IOException { | ||
String value = jsonReader.nextString(); | ||
return PrimaveraPercentCompleteType.fromValue(String.valueOf(value)); | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.