public static BuildField WithFields(bool id = false, bool number = false, bool status = false, bool buildTypeId = false, bool href = false, bool webUrl = false, bool statusText = false, bool startDate = false, bool finishDate = false, bool queuedDate = false, bool state = false, bool personal = false, BuildTypeField buildType = null, AgentField agent = null, TagsField tags = null, LastChangesField lastChanges = null, ChangesField changes = null, TriggeredField triggered = null, RevisionsField revisions = null, PropertiesField properties = null, BuildSnapshotDepenciesField snapshotDepencies = null, BuildArtifactDependenciesField artifactDependencies = null, ArtifactsField artifacts = null, RelatedIssuesField relatedIssues = null, StatisticsField statistics = null) { return(new BuildField { Id = id, Number = number, Status = status, BuildTypeId = buildTypeId, Href = href, WebUrl = webUrl, StatusText = statusText, StartDate = startDate, FinishDate = finishDate, QueuedDate = queuedDate, State = state, Personal = personal, BuildType = buildType, Agent = agent, Tags = tags, LastChanges = lastChanges, Changes = changes, Triggered = triggered, Revisions = revisions, Properties = properties, SnapshotDependencies = snapshotDepencies, ArtifactDependencies = artifactDependencies, Artifacts = artifacts, RelatedIssues = relatedIssues, Statistics = statistics }); }
public static BuildField WithFields(bool id = false, bool number = false, bool status = false, bool buildTypeId = false, bool href = false, bool webUrl = false, bool statusText = false, bool startDate = false, bool finishDate = false, bool state = false, BuildTypeField buildType = null, AgentField agent = null, /* ChangeWrapperField Changes = null, */ PropertiesField properties = null, BuildSnapshotDepenciesField snapshotDepencies = null, BuildArtifactDependenciesField artifactDependencies = null) { return(new BuildField { Id = id, Number = number, Status = status, BuildTypeId = buildTypeId, Href = href, WebUrl = webUrl, StatusText = statusText, StartDate = startDate, FinishDate = finishDate, State = state, BuildType = buildType, Agent = agent, //Changes = changes, Properties = properties, SnapshotDependencies = snapshotDepencies, ArtifactDependencies = artifactDependencies }); }