-
Notifications
You must be signed in to change notification settings - Fork 954
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1aea046
commit 5815819
Showing
9 changed files
with
250 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace GitHub.DistributedTask.WebApi | ||
{ | ||
[DataContract] | ||
public class ActionDownloadInfo | ||
{ | ||
[DataMember(EmitDefaultValue = false)] | ||
public ActionDownloadAuthentication Authentication { get; set; } | ||
|
||
[DataMember(EmitDefaultValue = false)] | ||
public string NameWithOwner { get; set; } | ||
|
||
[DataMember(EmitDefaultValue = false)] | ||
public string ResolvedNameWithOwner { get; set; } | ||
|
||
[DataMember(EmitDefaultValue = false)] | ||
public string ResolvedSha { get; set; } | ||
|
||
[DataMember(EmitDefaultValue = false)] | ||
public string TarballUrl { get; set; } | ||
|
||
[DataMember(EmitDefaultValue = false)] | ||
public string Ref { get; set; } | ||
|
||
[DataMember(EmitDefaultValue = false)] | ||
public string ZipballUrl { get; set; } | ||
} | ||
|
||
[DataContract] | ||
public class ActionDownloadAuthentication | ||
{ | ||
[DataMember(EmitDefaultValue = false)] | ||
public DateTime ExpiresAt { get; set; } | ||
|
||
[DataMember(EmitDefaultValue = false)] | ||
public string Token { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace GitHub.DistributedTask.WebApi | ||
{ | ||
[DataContract] | ||
public class ActionDownloadInfoCollection | ||
{ | ||
[DataMember] | ||
public IDictionary<string, ActionDownloadInfo> Actions | ||
{ | ||
get; | ||
set; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Runtime.Serialization; | ||
|
||
namespace GitHub.DistributedTask.WebApi | ||
{ | ||
[DataContract] | ||
public class ActionReference | ||
{ | ||
[DataMember] | ||
public string NameWithOwner | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
[DataMember] | ||
public string Ref | ||
{ | ||
get; | ||
set; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
|
||
namespace GitHub.DistributedTask.WebApi | ||
{ | ||
[DataContract] | ||
public class ActionReferenceList | ||
{ | ||
[DataMember] | ||
public IList<ActionReference> Actions | ||
{ | ||
get; | ||
set; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters