/// <summary>
 /// Initializes a new instance of the <see cref="AgentPoolDto" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="href">href.</param>
 /// <param name="maxAgents">maxAgents.</param>
 /// <param name="ownerProject">ownerProject.</param>
 /// <param name="projects">projects.</param>
 /// <param name="agents">agents.</param>
 /// <param name="locator">locator.</param>
 public AgentPoolDto(int?id = default(int?), string name = default(string), string href = default(string), int?maxAgents = default(int?), ProjectDto ownerProject = default(ProjectDto), ProjectsDto projects = default(ProjectsDto), AgentsDto agents = default(AgentsDto), string locator = default(string))
 {
     this.Id           = id;
     this.Name         = name;
     this.Href         = href;
     this.MaxAgents    = maxAgents;
     this.OwnerProject = ownerProject;
     this.Projects     = projects;
     this.Agents       = agents;
     this.Locator      = locator;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectDto" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="internalId">internalId.</param>
 /// <param name="uuid">uuid.</param>
 /// <param name="name">name.</param>
 /// <param name="parentProjectId">parentProjectId.</param>
 /// <param name="parentProjectInternalId">parentProjectInternalId.</param>
 /// <param name="parentProjectName">parentProjectName.</param>
 /// <param name="archived">archived.</param>
 /// <param name="description">description.</param>
 /// <param name="href">href.</param>
 /// <param name="webUrl">webUrl.</param>
 /// <param name="links">links.</param>
 /// <param name="parentProject">parentProject.</param>
 /// <param name="readOnlyUI">readOnlyUI.</param>
 /// <param name="defaultTemplate">defaultTemplate.</param>
 /// <param name="buildTypes">buildTypes.</param>
 /// <param name="templates">templates.</param>
 /// <param name="parameters">parameters.</param>
 /// <param name="vcsRoots">vcsRoots.</param>
 /// <param name="projectFeatures">projectFeatures.</param>
 /// <param name="projects">projects.</param>
 /// <param name="cloudProfiles">cloudProfiles.</param>
 /// <param name="locator">locator.</param>
 public ProjectDto(string id = default(string), string internalId = default(string), string uuid = default(string), string name = default(string), string parentProjectId = default(string), string parentProjectInternalId = default(string), string parentProjectName = default(string), bool?archived = default(bool?), string description = default(string), string href = default(string), string webUrl = default(string), LinksDto links = default(LinksDto), ProjectDto parentProject = default(ProjectDto), StateFieldDto readOnlyUI = default(StateFieldDto), BuildTypeDto defaultTemplate = default(BuildTypeDto), BuildTypesDto buildTypes = default(BuildTypesDto), BuildTypesDto templates = default(BuildTypesDto), PropertiesDto parameters = default(PropertiesDto), VcsRootsDto vcsRoots = default(VcsRootsDto), ProjectFeaturesDto projectFeatures = default(ProjectFeaturesDto), ProjectsDto projects = default(ProjectsDto), CloudProfilesDto cloudProfiles = default(CloudProfilesDto), string locator = default(string))
 {
     this.Id                      = id;
     this.InternalId              = internalId;
     this.Uuid                    = uuid;
     this.Name                    = name;
     this.ParentProjectId         = parentProjectId;
     this.ParentProjectInternalId = parentProjectInternalId;
     this.ParentProjectName       = parentProjectName;
     this.Archived                = archived;
     this.Description             = description;
     this.Href                    = href;
     this.WebUrl                  = webUrl;
     this.Links                   = links;
     this.ParentProject           = parentProject;
     this.ReadOnlyUI              = readOnlyUI;
     this.DefaultTemplate         = defaultTemplate;
     this.BuildTypes              = buildTypes;
     this.Templates               = templates;
     this.Parameters              = parameters;
     this.VcsRoots                = vcsRoots;
     this.ProjectFeatures         = projectFeatures;
     this.Projects                = projects;
     this.CloudProfiles           = cloudProfiles;
     this.Locator                 = locator;
 }