Skip to content

Instantly share code, notes, and snippets.

@thiagoloureiro
Created May 12, 2018 19:01
Show Gist options
  • Save thiagoloureiro/3285d36a2dc36f487bf2f60add430cbb to your computer and use it in GitHub Desktop.
Save thiagoloureiro/3285d36a2dc36f487bf2f60add430cbb to your computer and use it in GitHub Desktop.
public class RootObject
{
public string eventName { get; set; }
public EventData eventData { get; set; }
}
public class Artifact
{
public string permalink { get; set; }
public string fileName { get; set; }
public string name { get; set; }
public string type { get; set; }
public int size { get; set; }
public string url { get; set; }
}
public class CompilationMessage
{
public string category { get; set; }
public string message { get; set; }
public string details { get; set; }
public string fileName { get; set; }
public int line { get; set; }
public int column { get; set; }
public string projectName { get; set; }
public string projectFileName { get; set; }
public DateTime created { get; set; }
}
public class EventData
{
public bool passed { get; set; }
public bool failed { get; set; }
public string status { get; set; }
public string started { get; set; }
public string finished { get; set; }
public string duration { get; set; }
public int projectId { get; set; }
public string projectName { get; set; }
public int buildId { get; set; }
public int buildNumber { get; set; }
public string buildVersion { get; set; }
public string repositoryProvider { get; set; }
public string repositoryScm { get; set; }
public string repositoryName { get; set; }
public string branch { get; set; }
public string commitId { get; set; }
public string commitAuthor { get; set; }
public string commitAuthorEmail { get; set; }
public string commitDate { get; set; }
public string commitMessage { get; set; }
public string commitMessageExtended { get; set; }
public string committerName { get; set; }
public string committerEmail { get; set; }
public bool isPullRequest { get; set; }
public int pullRequestId { get; set; }
public string buildUrl { get; set; }
public string notificationSettingsUrl { get; set; }
public List<object> messages { get; set; }
public List<Job> jobs { get; set; }
}
public class Job
{
public string id { get; set; }
public string name { get; set; }
public bool passed { get; set; }
public bool failed { get; set; }
public string status { get; set; }
public string started { get; set; }
public string finished { get; set; }
public string duration { get; set; }
public List<object> messages { get; set; }
public List<CompilationMessage> compilationMessages { get; set; }
public List<Artifact> artifacts { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment