Skip to content

Commit

Permalink
Change Note schema (#40)
Browse files Browse the repository at this point in the history
* wip

* Update GitLabApiClient.csproj
  • Loading branch information
snirburkush authored Oct 16, 2024
1 parent c40c95e commit 9201f76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/GitLabApiClient/GitLabApiClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<LangVersion>10</LangVersion>
<PackageId>Apiiro.GitLabApiClient</PackageId>
<Version>0.1.39</Version>
<Version>0.1.40</Version>
<Authors>Apiiro</Authors>
<Company>Apiiro</Company>
<PackageDescription>GitLabApiClient</PackageDescription>
Expand Down
4 changes: 2 additions & 2 deletions src/GitLabApiClient/Models/ModifiableObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ public class ModifiableObject
internal ModifiableObject() { }

[JsonProperty("iid")]
public int Iid { get; set; }
public long Iid { get; set; }

[JsonProperty("id")]
public int Id { get; set; }
public long Id { get; set; }

[JsonProperty("created_at")]
public DateTime CreatedAt { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/GitLabApiClient/Models/Notes/Responses/Note.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ namespace GitLabApiClient.Models.Notes.Responses
public sealed class Note : ModifiableObject
{
[JsonProperty("noteable_id")]
public int NoteableId { get; set; }
public long NoteableId { get; set; }

[JsonProperty("noteable_iid")]
public int NoteableIid { get; set; }
public long NoteableIid { get; set; }

[JsonProperty("noteable_type")]
public string NoteableType { get; set; }
Expand Down

0 comments on commit 9201f76

Please sign in to comment.