mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 11:40:42 +00:00
Added TarballUrl, ZipballUrl and Assets to Release model, added Uploader to ReleaseAsset model
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Octokit
|
||||
{
|
||||
public ReleaseAsset() { }
|
||||
|
||||
public ReleaseAsset(string url, int id, string name, string label, string state, string contentType, int size, int downloadCount, DateTimeOffset createdAt, DateTimeOffset updatedAt, string browserDownloadUrl)
|
||||
public ReleaseAsset(string url, int id, string name, string label, string state, string contentType, int size, int downloadCount, DateTimeOffset createdAt, DateTimeOffset updatedAt, string browserDownloadUrl, Author uploader)
|
||||
{
|
||||
Url = url;
|
||||
Id = id;
|
||||
@@ -22,6 +22,7 @@ namespace Octokit
|
||||
CreatedAt = createdAt;
|
||||
UpdatedAt = updatedAt;
|
||||
BrowserDownloadUrl = browserDownloadUrl;
|
||||
Uploader = uploader;
|
||||
}
|
||||
|
||||
public string Url { get; protected set; }
|
||||
@@ -46,6 +47,8 @@ namespace Octokit
|
||||
|
||||
public string BrowserDownloadUrl { get; protected set; }
|
||||
|
||||
public Author Uploader { get; set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get { return String.Format(CultureInfo.InvariantCulture, "Name: {0} CreatedAt: {1}", Name, CreatedAt); }
|
||||
|
||||
Reference in New Issue
Block a user