예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompatibilityDto" /> class.
 /// </summary>
 /// <param name="compatible">compatible.</param>
 /// <param name="agent">agent.</param>
 /// <param name="buildType">buildType.</param>
 /// <param name="unmetRequirements">unmetRequirements.</param>
 public CompatibilityDto(bool?compatible = default(bool?), AgentDto agent = default(AgentDto), BuildTypeDto buildType = default(BuildTypeDto), RequirementsDto unmetRequirements = default(RequirementsDto))
 {
     this.Compatible        = compatible;
     this.Agent             = agent;
     this.BuildType         = buildType;
     this.UnmetRequirements = unmetRequirements;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CloudInstanceDto" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="state">state.</param>
 /// <param name="startDate">startDate.</param>
 /// <param name="networkAddress">networkAddress.</param>
 /// <param name="href">href.</param>
 /// <param name="image">image.</param>
 /// <param name="agent">agent.</param>
 /// <param name="errorMessage">errorMessage.</param>
 public CloudInstanceDto(string id = default(string), string name = default(string), string state = default(string), string startDate = default(string), string networkAddress = default(string), string href = default(string), CloudImageDto image = default(CloudImageDto), AgentDto agent = default(AgentDto), string errorMessage = default(string))
 {
     this.Id             = id;
     this.Name           = name;
     this.State          = state;
     this.StartDate      = startDate;
     this.NetworkAddress = networkAddress;
     this.Href           = href;
     this.Image          = image;
     this.Agent          = agent;
     this.ErrorMessage   = errorMessage;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RelatedEntityDto" /> class.
 /// </summary>
 /// <param name="type">type.</param>
 /// <param name="unknown">unknown.</param>
 /// <param name="internalId">internalId.</param>
 /// <param name="text">text.</param>
 /// <param name="build">build.</param>
 /// <param name="buildType">buildType.</param>
 /// <param name="project">project.</param>
 /// <param name="user">user.</param>
 /// <param name="group">group.</param>
 /// <param name="test">test.</param>
 /// <param name="problem">problem.</param>
 /// <param name="agent">agent.</param>
 /// <param name="vcsRoot">vcsRoot.</param>
 /// <param name="change">change.</param>
 /// <param name="agentPool">agentPool.</param>
 public RelatedEntityDto(string type = default(string), bool?unknown = default(bool?), string internalId = default(string), string text = default(string), BuildDto build = default(BuildDto), BuildTypeDto buildType = default(BuildTypeDto), ProjectDto project = default(ProjectDto), UserDto user = default(UserDto), GroupDto group = default(GroupDto), TestDto test = default(TestDto), ProblemDto problem = default(ProblemDto), AgentDto agent = default(AgentDto), VcsRootDto vcsRoot = default(VcsRootDto), ChangeDto change = default(ChangeDto), AgentPoolDto agentPool = default(AgentPoolDto))
 {
     this.Type       = type;
     this.Unknown    = unknown;
     this.InternalId = internalId;
     this.Text       = text;
     this.Build      = build;
     this.BuildType  = buildType;
     this.Project    = project;
     this.User       = user;
     this.Group      = group;
     this.Test       = test;
     this.Problem    = problem;
     this.Agent      = agent;
     this.VcsRoot    = vcsRoot;
     this.Change     = change;
     this.AgentPool  = agentPool;
 }