Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
426 changes: 119 additions & 307 deletions CLAUDE.md

Large diffs are not rendered by default.

242,957 changes: 242,957 additions & 0 deletions Resources/ptc-25-02-30.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions SySML2.NET.REST/RestClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public async Task<IEnumerable<IElement>> RequestRootElements(Guid project, Guid
}

/// <summary>
/// Requests an <see cref="IEnumerable{IData}"/> from the SysML2 model server REST API
/// Requests an <see cref="IEnumerable{IIdentified}"/> from the SysML2 model server REST API
/// </summary>
/// <param name="requestUri">
/// The request <see cref="Uri"/> including the query parameters
Expand All @@ -394,7 +394,7 @@ public async Task<IEnumerable<IElement>> RequestRootElements(Guid project, Guid
/// The <see cref="CancellationToken"/> used to cancel the operation
/// </param>
/// <returns></returns>
private async Task<IEnumerable<IData>> RequestData(Uri requestUri, CancellationToken cancellationToken)
private async Task<IEnumerable<IIdentified>> RequestData(Uri requestUri, CancellationToken cancellationToken)
{
this.logger.LogDebug("request data from: {0}", requestUri);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="Branch.cs" company="Starion Group S.A.">
//
// Copyright (C) 2022-2026 Starion Group S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------

namespace SysML2.NET.PSM.DTO
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;

using SysML2.NET.PSM.Enumerations;

/// <summary>
/// Data transfer object that represents the Branch schema of the Systems Modeling API and Services
/// </summary>
[GeneratedCode("SysML2.NET", "latest")]
public partial class Branch : IResponse, SysML2.NET.Common.IIdentified
{
/// <summary>
/// The value of the type discriminator of the Branch schema
/// </summary>
public const string Type = "Branch";

/// <summary>
/// Gets or sets the unique identifier of the Branch
/// </summary>
public Guid Id { get; set; }

/// <summary>
/// Gets or sets the alias of the Branch
/// </summary>
public List<string> Alias { get; set; } = [];

/// <summary>
/// Gets or sets the created of the Branch
/// </summary>
public DateTime Created { get; set; }

/// <summary>
/// Gets or sets the deleted of the Branch
/// </summary>
public DateTime? Deleted { get; set; }

/// <summary>
/// Gets or sets the description of the Branch
/// </summary>
public string Description { get; set; }

/// <summary>
/// Gets or sets the unique identifier of the referenced Commit
/// </summary>
public Guid? Head { get; set; }

/// <summary>
/// Gets or sets the name of the Branch
/// </summary>
public string Name { get; set; }

/// <summary>
/// Gets or sets the unique identifier of the referenced Project
/// </summary>
public Guid OwningProject { get; set; }

/// <summary>
/// Gets or sets the unique identifier of the referenced Commit
/// </summary>
public Guid ReferencedCommit { get; set; }
}
}

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="Commit.cs" company="Starion Group S.A.">
//
// Copyright (C) 2022-2026 Starion Group S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------

namespace SysML2.NET.PSM.DTO
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;

using SysML2.NET.PSM.Enumerations;

/// <summary>
/// Data transfer object that represents the Commit schema of the Systems Modeling API and Services
/// </summary>
[GeneratedCode("SysML2.NET", "latest")]
public partial class Commit : IResponse, SysML2.NET.Common.IIdentified
{
/// <summary>
/// The value of the type discriminator of the Commit schema
/// </summary>
public const string Type = "Commit";

/// <summary>
/// Gets or sets the unique identifier of the Commit
/// </summary>
public Guid Id { get; set; }

/// <summary>
/// Gets or sets the alias of the Commit
/// </summary>
public List<string> Alias { get; set; } = [];

/// <summary>
/// Gets or sets the created of the Commit
/// </summary>
public DateTime Created { get; set; }

/// <summary>
/// Gets or sets the description of the Commit
/// </summary>
public string Description { get; set; }

/// <summary>
/// Gets or sets the name of the Commit
/// </summary>
public string Name { get; set; }

/// <summary>
/// Gets or sets the unique identifier of the referenced Branch
/// </summary>
public Guid OwningProject { get; set; }

/// <summary>
/// Gets or sets the unique identifiers of the referenced Commit instances
/// </summary>
public List<Guid> PreviousCommit { get; set; } = [];
}
}

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="CommitRequest.cs" company="Starion Group S.A.">
//
// Copyright (C) 2022-2026 Starion Group S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------

namespace SysML2.NET.PSM.DTO
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;

using SysML2.NET.PSM.Enumerations;

/// <summary>
/// Data transfer object that represents the CommitRequest schema of the Systems Modeling API and Services
/// </summary>
[GeneratedCode("SysML2.NET", "latest")]
public partial class CommitRequest : IRequest
{
/// <summary>
/// The value of the type discriminator of the CommitRequest schema
/// </summary>
public const string Type = "Commit";

/// <summary>
/// Gets or sets the alias of the CommitRequest
/// </summary>
public List<string> Alias { get; set; } = [];

/// <summary>
/// Gets or sets the change of the CommitRequest
/// </summary>
public List<DataVersionRequest> Change { get; set; } = [];

/// <summary>
/// Gets or sets the description of the CommitRequest
/// </summary>
public string Description { get; set; }

/// <summary>
/// Gets or sets the name of the CommitRequest
/// </summary>
public string Name { get; set; }
}
}

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="CompositeConstraint.cs" company="Starion Group S.A.">
//
// Copyright (C) 2022-2026 Starion Group S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// </copyright>
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------

namespace SysML2.NET.PSM.DTO
{
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;

using SysML2.NET.PSM.Enumerations;

/// <summary>
/// Data transfer object that represents the CompositeConstraint schema of the Systems Modeling API and Services
/// </summary>
[GeneratedCode("SysML2.NET", "latest")]
public partial class CompositeConstraint : IConstraint, IResponse
{
/// <summary>
/// The value of the type discriminator of the CompositeConstraint schema
/// </summary>
public const string Type = "CompositeConstraint";

/// <summary>
/// Gets or sets the constraint of the CompositeConstraint
/// </summary>
public List<IConstraint> Constraint { get; set; } = [];

/// <summary>
/// Gets or sets the operator of the CompositeConstraint
/// </summary>
public CompositeConstraintOperator Operator { get; set; }
}
}

// ------------------------------------------------------------------------------------------------
// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!--------
// ------------------------------------------------------------------------------------------------
Loading
Loading