Skip to content

Instantly share code, notes, and snippets.

Created August 27, 2014 23:20
Show Gist options
  • Save anonymous/575d06be7a6b645e94e7 to your computer and use it in GitHub Desktop.
Save anonymous/575d06be7a6b645e94e7 to your computer and use it in GitHub Desktop.
Strong Typed Classes for StackOverFlow
public class Action
{
}
public class Caus
{
public string shortDescription { get; set; }
public string userId { get; set; }
public string userName { get; set; }
}
public class Branch
{
public string SHA1 { get; set; }
public string name { get; set; }
}
public class Marked
{
public string SHA1 { get; set; }
public IEnumerable<Branch> branch { get; set; }
}
public class Revision
{
public string SHA1 { get; set; }
public IEnumerable<Branch> branch { get; set; }
}
public class OriginMaster
{
public int buildNumber { get; set; }
public object buildResult { get; set; }
public Marked marked { get; set; }
public Revision revision { get; set; }
}
public class BuildsByBranchName
{
public OriginMaster OriginMaster { get; set; }
}
public class LastBuiltRevision
{
public string SHA1 { get; set; }
public IEnumerable<Branch> branch { get; set; }
}
public class ChangeSet
{
public IEnumerable<object> items { get; set; }
public string kind { get; set; }
}
public class MavenArtifacts
{
}
public class Build
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<Artifact> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public object timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class Artifact
{
public string displayPath { get; set; }
public string fileName { get; set; }
public string relativePath { get; set; }
}
public class FirstBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<Artifact> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<object> culprits { get; set; }
public object mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class HealthReport
{
public string description { get; set; }
public string iconUrl { get; set; }
public int score { get; set; }
}
public class Author
{
public string absoluteUrl { get; set; }
public string fullName { get; set; }
}
public class Path
{
public string editType { get; set; }
public string file { get; set; }
}
public class Item
{
public IEnumerable<string> affectedPaths { get; set; }
public string commitId { get; set; }
public int timestamp { get; set; }
public Author author { get; set; }
public string comment { get; set; }
public string date { get; set; }
public string id { get; set; }
public string msg { get; set; }
public IEnumerable<Path> paths { get; set; }
}
public class Culprit
{
public string absoluteUrl { get; set; }
public string fullName { get; set; }
}
public class LastBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<Artifact> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class LastCompletedBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<Artifact> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class LastFailedBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<object> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class LastStableBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<Artifact> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class LastSuccessfulBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<Artifact> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class LastUnstableBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<Artifact> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class LastUnsuccessfulBuild
{
public IEnumerable<Action> actions { get; set; }
public IEnumerable<object> artifacts { get; set; }
public bool building { get; set; }
public object description { get; set; }
public int duration { get; set; }
public int estimatedDuration { get; set; }
public object executor { get; set; }
public string fullDisplayName { get; set; }
public string id { get; set; }
public bool keepLog { get; set; }
public int number { get; set; }
public string result { get; set; }
public long timestamp { get; set; }
public string url { get; set; }
public string builtOn { get; set; }
public ChangeSet changeSet { get; set; }
public IEnumerable<Culprit> culprits { get; set; }
public MavenArtifacts mavenArtifacts { get; set; }
public string mavenVersionUsed { get; set; }
}
public class Property
{
}
public class MergeOptions
{
public string mergeStrategy { get; set; }
public object mergeTarget { get; set; }
public object remoteBranchName { get; set; }
}
public class UserRemoteConfig
{
}
public class Scm
{
public object browser { get; set; }
public string type { get; set; }
public IEnumerable<Branch> branches { get; set; }
public MergeOptions mergeOptions { get; set; }
public IEnumerable<UserRemoteConfig> userRemoteConfigs { get; set; }
}
public class Module
{
public IEnumerable<Action> actions { get; set; }
public object description { get; set; }
public object displayNameOrNull { get; set; }
public string name { get; set; }
public string url { get; set; }
public bool buildable { get; set; }
public IEnumerable<Build> builds { get; set; }
public string color { get; set; }
public FirstBuild firstBuild { get; set; }
public IEnumerable<HealthReport> healthReport { get; set; }
public bool inQueue { get; set; }
public bool keepDependencies { get; set; }
public LastBuild lastBuild { get; set; }
public LastCompletedBuild lastCompletedBuild { get; set; }
public LastFailedBuild lastFailedBuild { get; set; }
public LastStableBuild lastStableBuild { get; set; }
public LastSuccessfulBuild lastSuccessfulBuild { get; set; }
public LastUnstableBuild lastUnstableBuild { get; set; }
public LastUnsuccessfulBuild lastUnsuccessfulBuild { get; set; }
public int nextBuildNumber { get; set; }
public IEnumerable<object> property { get; set; }
public object queueItem { get; set; }
public bool concurrentBuild { get; set; }
public IEnumerable<object> downstreamProjects { get; set; }
public Scm scm { get; set; }
public IEnumerable<object> upstreamProjects { get; set; }
public string displayName { get; set; }
}
public class RootObject
{
public IEnumerable<Action> actions { get; set; }
public string description { get; set; }
public string displayName { get; set; }
public object displayNameOrNull { get; set; }
public string name { get; set; }
public string url { get; set; }
public bool buildable { get; set; }
public IEnumerable<Build> builds { get; set; }
public string color { get; set; }
public FirstBuild firstBuild { get; set; }
public IEnumerable<HealthReport> healthReport { get; set; }
public bool inQueue { get; set; }
public bool keepDependencies { get; set; }
public LastBuild lastBuild { get; set; }
public LastCompletedBuild lastCompletedBuild { get; set; }
public LastFailedBuild lastFailedBuild { get; set; }
public LastStableBuild lastStableBuild { get; set; }
public LastSuccessfulBuild lastSuccessfulBuild { get; set; }
public LastUnstableBuild lastUnstableBuild { get; set; }
public LastUnsuccessfulBuild lastUnsuccessfulBuild { get; set; }
public int nextBuildNumber { get; set; }
public IEnumerable<Property> property { get; set; }
public object queueItem { get; set; }
public bool concurrentBuild { get; set; }
public IEnumerable<object> downstreamProjects { get; set; }
public Scm scm { get; set; }
public IEnumerable<object> upstreamProjects { get; set; }
public IEnumerable<Module> modules { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment