Skip to content

Conversation

@tylerwarner33
Copy link

Reason

  • Match pull request made to APS .NET SDK: #208, #211.
  • Match pull request made to APS Node SDK: #142.

Changes

  • Added 'PathInProject' property to the ItemAttributes class.
    • 'PathInProject' property exists in the response documentation.
    • 'PathInProject' property exists in the response data (sample data from Postman request).
      {
        "jsonapi": { },
        "links": { },
        "data": {
          "type": "items",
          "id": "urn:adsk.wipprod:dm.lineage:123ABC",
          "attributes": {
            "displayName": "TestFile.xlsx",
            "createTime": "2025-05-08T00:00:00.0000000Z",
            "createUserId": "456DEF",
            "createUserName": "Sample User",
            "lastModifiedTime": "2025-05-08T00:00:00.0000000Z",
            "lastModifiedUserId": "456DEF",
            "lastModifiedUserName": "Sample User",
            "hidden": false,
            "reserved": false,
            "extension": { },
            "pathInProject": "/Project Files/Test Folder"
          },
          "links": { },
          "relationships": { }
        },
        "included": [ ]
      }

Reference Methods:

Copilot AI review requested due to automatic review settings November 26, 2025 11:36
Copilot finished reviewing on behalf of tylerwarner33 November 26, 2025 11:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the pathInProject property to the ItemAttributes class in the Data Management SDK to align with similar changes made to the APS .NET SDK (PRs #208, #211) and Node SDK (PR #142). The property represents the relative path of an item starting from the root folder of a project and is documented in the APS API reference.

Key Changes:

  • Added pathInProject string property with appropriate getter/setter methods and fluent builder pattern
  • Updated equals(), hashCode(), and toString() methods to include the new property
  • Added property to @JsonPropertyOrder annotation for proper JSON serialization ordering

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant