Skip to content

Commit

Permalink
Release 115 (#17)
Browse files Browse the repository at this point in the history
# Patch notes for 115.0.4328

These patch notes summarize the changes from version 114.0.4169.

Changes to data models:
* NotificationDto: Added new field `id`
* NotificationDto: Removed field `notificationId`
* NotificationDto: Removed field `businessId`
* NotificationDto: Removed field `userId`
* ResourcesCreateDto: Added new field `projectIds`
* RiskExportSettingsDto: Added new field `timeZoneOffset`
* RiskExportSettingsDto: Added new field `dueDateFilter`
* RiskExportSettingsDto: Added new field `priorityFilter`
* RiskExportSettingsDto: Added new field `progressFilter`
* RiskExportSettingsDto: Added new field `assignees`
* RiskExportSettingsDto: Added new field `tags`
* TaskDto: Added new field `theme`
  • Loading branch information
tspence authored Aug 19, 2024
1 parent bbe8dcd commit ce14dc3
Show file tree
Hide file tree
Showing 11 changed files with 401 additions and 39 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.projectmanager</groupId>
<artifactId>projectmanagersdk</artifactId>
<version>114.0.4169</version>
<version>115.0.4328</version>

<name>ProjectManagerSDK</name>
<description>Software development kit for the ProjectManager.com API. for Java</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/projectmanager/BlobRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void AddBody(Object body) {
}

request.addHeader("SdkName", "Java");
request.addHeader("SdkVersion", "114.0.4169.0");
request.addHeader("SdkVersion", "115.0.4328.0");

String applicationName = this.client.getAppName();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/projectmanager/ProjectManagerClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @author ProjectManager.com <[email protected]>
*
* @copyright 2023-2024 ProjectManager.com, Inc.
* @version 114.0.4169
* @version 115.0.4328
* @link https://github.com/projectmgr/projectmanager-sdk-java
*/

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/projectmanager/RestRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void AddBody(Object body) {
}

request.addHeader("SdkName", "Java");
request.addHeader("SdkVersion", "114.0.4169.0");
request.addHeader("SdkVersion", "115.0.4328.0");

String applicationName = this.client.getAppName();

Expand Down
105 changes: 105 additions & 0 deletions src/main/java/com/projectmanager/models/ExportDueDateFilterDto.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@

/**
* ProjectManager API for Java
*
* (c) 2023-2024 ProjectManager.com, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author ProjectManager.com <[email protected]>
* @copyright 2023-2024 ProjectManager.com, Inc.
* @link https://github.com/projectmgr/projectmanager-sdk-java
*/


package com.projectmanager.models;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
* Due Date Filter Settings
*/
public class ExportDueDateFilterDto
{
private @Nullable Boolean includeNoDueDate;
private @Nullable Boolean includeOverdue;
private @Nullable Boolean includeToday;
private @Nullable Boolean includeThisWeek;
private @Nullable Boolean includeNextWeek;
private @Nullable Boolean includeLater;

/**
* Include items without a due date
*
* @return The field includeNoDueDate
*/
public @Nullable Boolean getIncludeNoDueDate() { return this.includeNoDueDate; }
/**
* Include items without a due date
*
* @param value The new value for includeNoDueDate
*/
public void setIncludeNoDueDate(@Nullable Boolean value) { this.includeNoDueDate = value; }
/**
* Include items with a due date in the past
*
* @return The field includeOverdue
*/
public @Nullable Boolean getIncludeOverdue() { return this.includeOverdue; }
/**
* Include items with a due date in the past
*
* @param value The new value for includeOverdue
*/
public void setIncludeOverdue(@Nullable Boolean value) { this.includeOverdue = value; }
/**
* Include items with a due date of today
*
* @return The field includeToday
*/
public @Nullable Boolean getIncludeToday() { return this.includeToday; }
/**
* Include items with a due date of today
*
* @param value The new value for includeToday
*/
public void setIncludeToday(@Nullable Boolean value) { this.includeToday = value; }
/**
* Include items due within the current week
*
* @return The field includeThisWeek
*/
public @Nullable Boolean getIncludeThisWeek() { return this.includeThisWeek; }
/**
* Include items due within the current week
*
* @param value The new value for includeThisWeek
*/
public void setIncludeThisWeek(@Nullable Boolean value) { this.includeThisWeek = value; }
/**
* Include items due within the next week
*
* @return The field includeNextWeek
*/
public @Nullable Boolean getIncludeNextWeek() { return this.includeNextWeek; }
/**
* Include items due within the next week
*
* @param value The new value for includeNextWeek
*/
public void setIncludeNextWeek(@Nullable Boolean value) { this.includeNextWeek = value; }
/**
* Include items due later
*
* @return The field includeLater
*/
public @Nullable Boolean getIncludeLater() { return this.includeLater; }
/**
* Include items due later
*
* @param value The new value for includeLater
*/
public void setIncludeLater(@Nullable Boolean value) { this.includeLater = value; }
};
118 changes: 118 additions & 0 deletions src/main/java/com/projectmanager/models/ExportPriorityFilterDto.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@

/**
* ProjectManager API for Java
*
* (c) 2023-2024 ProjectManager.com, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author ProjectManager.com <[email protected]>
* @copyright 2023-2024 ProjectManager.com, Inc.
* @link https://github.com/projectmgr/projectmanager-sdk-java
*/


package com.projectmanager.models;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
* Priority filter settings
*/
public class ExportPriorityFilterDto
{
private @Nullable Boolean isNone;
private @Nullable Boolean isVeryLow;
private @Nullable Boolean isLow;
private @Nullable Boolean isMedium;
private @Nullable Boolean isHigh;
private @Nullable Boolean isVeryHigh;
private @Nullable Boolean isCritical;

/**
* Include items with no priority
*
* @return The field isNone
*/
public @Nullable Boolean getIsNone() { return this.isNone; }
/**
* Include items with no priority
*
* @param value The new value for isNone
*/
public void setIsNone(@Nullable Boolean value) { this.isNone = value; }
/**
* Include items with very low priority
*
* @return The field isVeryLow
*/
public @Nullable Boolean getIsVeryLow() { return this.isVeryLow; }
/**
* Include items with very low priority
*
* @param value The new value for isVeryLow
*/
public void setIsVeryLow(@Nullable Boolean value) { this.isVeryLow = value; }
/**
* Include items with low priority
*
* @return The field isLow
*/
public @Nullable Boolean getIsLow() { return this.isLow; }
/**
* Include items with low priority
*
* @param value The new value for isLow
*/
public void setIsLow(@Nullable Boolean value) { this.isLow = value; }
/**
* Include items with medium priority
*
* @return The field isMedium
*/
public @Nullable Boolean getIsMedium() { return this.isMedium; }
/**
* Include items with medium priority
*
* @param value The new value for isMedium
*/
public void setIsMedium(@Nullable Boolean value) { this.isMedium = value; }
/**
* Include items with high priority
*
* @return The field isHigh
*/
public @Nullable Boolean getIsHigh() { return this.isHigh; }
/**
* Include items with high priority
*
* @param value The new value for isHigh
*/
public void setIsHigh(@Nullable Boolean value) { this.isHigh = value; }
/**
* Include items with very high priority
*
* @return The field isVeryHigh
*/
public @Nullable Boolean getIsVeryHigh() { return this.isVeryHigh; }
/**
* Include items with very high priority
*
* @param value The new value for isVeryHigh
*/
public void setIsVeryHigh(@Nullable Boolean value) { this.isVeryHigh = value; }
/**
* Include items with critical priority
*
* @return The field isCritical
*/
public @Nullable Boolean getIsCritical() { return this.isCritical; }
/**
* Include items with critical priority
*
* @param value The new value for isCritical
*/
public void setIsCritical(@Nullable Boolean value) { this.isCritical = value; }
};
36 changes: 5 additions & 31 deletions src/main/java/com/projectmanager/models/NotificationDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
*/
public class NotificationDto
{
private @NotNull String notificationId;
private @NotNull String businessId;
private @NotNull String userId;
private @NotNull String id;
private @NotNull String senderId;
private @Nullable NotificationDto[] children;
private @Nullable String notificationType;
Expand All @@ -40,39 +38,15 @@ public class NotificationDto
/**
* The unique identifier of this notification
*
* @return The field notificationId
* @return The field id
*/
public @NotNull String getNotificationId() { return this.notificationId; }
public @NotNull String getId() { return this.id; }
/**
* The unique identifier of this notification
*
* @param value The new value for notificationId
* @param value The new value for id
*/
public void setNotificationId(@NotNull String value) { this.notificationId = value; }
/**
* The unique identifier of the workspace for this notification
*
* @return The field businessId
*/
public @NotNull String getBusinessId() { return this.businessId; }
/**
* The unique identifier of the workspace for this notification
*
* @param value The new value for businessId
*/
public void setBusinessId(@NotNull String value) { this.businessId = value; }
/**
* The unique identifier of the recipient of this notification
*
* @return The field userId
*/
public @NotNull String getUserId() { return this.userId; }
/**
* The unique identifier of the recipient of this notification
*
* @param value The new value for userId
*/
public void setUserId(@NotNull String value) { this.userId = value; }
public void setId(@NotNull String value) { this.id = value; }
/**
* The unique identifier of the sender of this notification
*
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/com/projectmanager/models/ResourcesCreateDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,21 @@
*/
public class ResourcesCreateDto
{
private @Nullable String[] projectIds;
private @Nullable ResourceCreateDto[] users;

/**
* When creating a user they will also be added to the projectIds specified. If null or empty the user will be invited but no access will be given to any projects.
*
* @return The field projectIds
*/
public @Nullable String[] getProjectIds() { return this.projectIds; }
/**
* When creating a user they will also be added to the projectIds specified. If null or empty the user will be invited but no access will be given to any projects.
*
* @param value The new value for projectIds
*/
public void setProjectIds(@Nullable String[] value) { this.projectIds = value; }
/**
*
* @return The field users
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

/**
* ProjectManager API for Java
*
* (c) 2023-2024 ProjectManager.com, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author ProjectManager.com <[email protected]>
* @copyright 2023-2024 ProjectManager.com, Inc.
* @link https://github.com/projectmgr/projectmanager-sdk-java
*/


package com.projectmanager.models;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
* Risk Progress Filter Settings
*/
public class RiskExportProgressFilterDto
{
private @Nullable Boolean isOpen;
private @Nullable Boolean isClosed;

/**
* Include risks that are open
*
* @return The field isOpen
*/
public @Nullable Boolean getIsOpen() { return this.isOpen; }
/**
* Include risks that are open
*
* @param value The new value for isOpen
*/
public void setIsOpen(@Nullable Boolean value) { this.isOpen = value; }
/**
* Include risks that are closed
*
* @return The field isClosed
*/
public @Nullable Boolean getIsClosed() { return this.isClosed; }
/**
* Include risks that are closed
*
* @param value The new value for isClosed
*/
public void setIsClosed(@Nullable Boolean value) { this.isClosed = value; }
};
Loading

0 comments on commit ce14dc3

Please sign in to comment.