Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Octokit/Models/Response/ReleaseAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class ReleaseAsset
{
public ReleaseAsset() { }

public ReleaseAsset(string url, int id, string nodeId, string name, string label, string state, string contentType, int size, int downloadCount, DateTimeOffset createdAt, DateTimeOffset updatedAt, string browserDownloadUrl, Author uploader)
public ReleaseAsset(string url, int id, string nodeId, string name, string label, string state, string contentType, int size, string digest, int downloadCount, DateTimeOffset createdAt, DateTimeOffset updatedAt, string browserDownloadUrl, Author uploader)
{
Url = url;
Id = id;
Expand All @@ -19,6 +19,7 @@ public ReleaseAsset(string url, int id, string nodeId, string name, string label
State = state;
ContentType = contentType;
Size = size;
Digest = digest;
DownloadCount = downloadCount;
CreatedAt = createdAt;
UpdatedAt = updatedAt;
Expand All @@ -45,6 +46,8 @@ public ReleaseAsset(string url, int id, string nodeId, string name, string label

public int Size { get; private set; }

public string Digest { get; private set; }

public int DownloadCount { get; private set; }

public DateTimeOffset CreatedAt { get; private set; }
Expand Down