Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentDto" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="name">name.</param>
 /// <param name="typeId">typeId.</param>
 /// <param name="connected">connected.</param>
 /// <param name="enabled">enabled.</param>
 /// <param name="authorized">authorized.</param>
 /// <param name="uptodate">uptodate.</param>
 /// <param name="outdated">outdated.</param>
 /// <param name="pluginsOutdated">pluginsOutdated.</param>
 /// <param name="javaOutdated">javaOutdated.</param>
 /// <param name="ip">ip.</param>
 /// <param name="protocol">protocol.</param>
 /// <param name="version">version.</param>
 /// <param name="currentAgentVersion">currentAgentVersion.</param>
 /// <param name="lastActivityTime">lastActivityTime.</param>
 /// <param name="idleSinceTime">idleSinceTime.</param>
 /// <param name="disconnectionComment">disconnectionComment.</param>
 /// <param name="registrationTimestamp">registrationTimestamp.</param>
 /// <param name="host">host.</param>
 /// <param name="cpuRank">cpuRank.</param>
 /// <param name="port">port.</param>
 /// <param name="href">href.</param>
 /// <param name="webUrl">webUrl.</param>
 /// <param name="build">build.</param>
 /// <param name="links">links.</param>
 /// <param name="enabledInfo">enabledInfo.</param>
 /// <param name="authorizedInfo">authorizedInfo.</param>
 /// <param name="properties">properties.</param>
 /// <param name="cloudInstance">cloudInstance.</param>
 /// <param name="cloudImage">cloudImage.</param>
 /// <param name="environment">environment.</param>
 /// <param name="pool">pool.</param>
 /// <param name="compatibilityPolicy">compatibilityPolicy.</param>
 /// <param name="compatibleBuildTypes">compatibleBuildTypes.</param>
 /// <param name="incompatibleBuildTypes">incompatibleBuildTypes.</param>
 /// <param name="builds">builds.</param>
 /// <param name="locator">locator.</param>
 public AgentDto(int?id = default(int?), string name = default(string), int?typeId = default(int?), bool?connected = default(bool?), bool?enabled = default(bool?), bool?authorized = default(bool?), bool?uptodate = default(bool?), bool?outdated = default(bool?), bool?pluginsOutdated = default(bool?), bool?javaOutdated = default(bool?), string ip = default(string), string protocol = default(string), string version = default(string), string currentAgentVersion = default(string), string lastActivityTime = default(string), string idleSinceTime = default(string), string disconnectionComment = default(string), string registrationTimestamp = default(string), string host = default(string), int?cpuRank = default(int?), int?port = default(int?), string href = default(string), string webUrl = default(string), BuildDto build = default(BuildDto), LinksDto links = default(LinksDto), EnabledInfoDto enabledInfo = default(EnabledInfoDto), AuthorizedInfoDto authorizedInfo = default(AuthorizedInfoDto), PropertiesDto properties = default(PropertiesDto), CloudInstanceDto cloudInstance = default(CloudInstanceDto), CloudImageDto cloudImage = default(CloudImageDto), EnvironmentDto environment = default(EnvironmentDto), AgentPoolDto pool = default(AgentPoolDto), CompatibilityPolicyDto compatibilityPolicy = default(CompatibilityPolicyDto), BuildTypesDto compatibleBuildTypes = default(BuildTypesDto), CompatibilitiesDto incompatibleBuildTypes = default(CompatibilitiesDto), BuildsDto builds = default(BuildsDto), string locator = default(string))
 {
     this.Id                     = id;
     this.Name                   = name;
     this.TypeId                 = typeId;
     this.Connected              = connected;
     this.Enabled                = enabled;
     this.Authorized             = authorized;
     this.Uptodate               = uptodate;
     this.Outdated               = outdated;
     this.PluginsOutdated        = pluginsOutdated;
     this.JavaOutdated           = javaOutdated;
     this.Ip                     = ip;
     this.Protocol               = protocol;
     this.Version                = version;
     this.CurrentAgentVersion    = currentAgentVersion;
     this.LastActivityTime       = lastActivityTime;
     this.IdleSinceTime          = idleSinceTime;
     this.DisconnectionComment   = disconnectionComment;
     this.RegistrationTimestamp  = registrationTimestamp;
     this.Host                   = host;
     this.CpuRank                = cpuRank;
     this.Port                   = port;
     this.Href                   = href;
     this.WebUrl                 = webUrl;
     this.Build                  = build;
     this.Links                  = links;
     this.EnabledInfo            = enabledInfo;
     this.AuthorizedInfo         = authorizedInfo;
     this.Properties             = properties;
     this.CloudInstance          = cloudInstance;
     this.CloudImage             = cloudImage;
     this.Environment            = environment;
     this.Pool                   = pool;
     this.CompatibilityPolicy    = compatibilityPolicy;
     this.CompatibleBuildTypes   = compatibleBuildTypes;
     this.IncompatibleBuildTypes = incompatibleBuildTypes;
     this.Builds                 = builds;
     this.Locator                = locator;
 }
 /// <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;
 }