-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bert Cotton
authored and
Bert Cotton
committed
Aug 4, 2017
1 parent
4c8e674
commit b6a56eb
Showing
8 changed files
with
117 additions
and
1 deletion.
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
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,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TFSAdvanced.Updater.Models.Releases | ||
{ | ||
public class Artifact | ||
{ | ||
public string sourceId { get; set; } | ||
|
||
public string type { get; set; } | ||
|
||
public string alias { get; set; } | ||
|
||
public DefinitionReference definitionReference { get; set; } | ||
|
||
public bool isPrimary { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/TfsAdvanced.Updater/Models/Releases/DefinitionReference.cs
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,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TFSAdvanced.Updater.Models.Releases | ||
{ | ||
public class DefinitionReference | ||
{ | ||
public IdNameReference artifactSourceDefinitionUrl { get; set; } | ||
|
||
public IdNameReference definition { get; set; } | ||
|
||
public IdNameReference project { get; set; } | ||
|
||
public IdNameReference defaultVersionType { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/TfsAdvanced.Updater/Models/Releases/IdNameReference.cs
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,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TFSAdvanced.Updater.Models.Releases | ||
{ | ||
public class IdNameReference | ||
{ | ||
public string id { get; set; } | ||
|
||
public string name { get; set; } | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
src/TfsAdvanced.Updater/Models/Releases/ReleaseDefinition.cs
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,34 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TFSAdvanced.Updater.Models.Releases | ||
{ | ||
public class ReleaseDefinition | ||
{ | ||
|
||
public int id { get; set; } | ||
|
||
public string source { get; set; } | ||
|
||
public int revision { get; set; } | ||
|
||
public string name { get; set; } | ||
|
||
public User createdBy { get; set; } | ||
|
||
public DateTime createdOn { get; set; } | ||
|
||
public User modifiedBy { get; set; } | ||
|
||
public DateTime modifiedOn { get; set; } | ||
|
||
public Artifact[] artifacts { get; set; } | ||
|
||
public string releaseNameFormat { get; set; } | ||
|
||
public ReleaseLink _links { get; set; } | ||
|
||
public string url { 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,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using TfsAdvanced.Models; | ||
|
||
namespace TFSAdvanced.Updater.Models.Releases | ||
{ | ||
public class ReleaseLink | ||
{ | ||
public HrefLink self { get; set; } | ||
|
||
public HrefLink web { 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,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TFSAdvanced.Updater.Models.Releases | ||
{ | ||
public class User | ||
{ | ||
public string id { get; set; } | ||
|
||
public string displayName { get; set; } | ||
|
||
public string uniqueuName { get; set; } | ||
|
||
public string imageUrl { 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