示例#1
0
 /// <summary>
 /// Initializes a new instance of the SimpleReleaseDto class.
 /// </summary>
 /// <param name="processKey">The unique identifier of the process
 /// associated with the release.</param>
 /// <param name="processVersion">The version of the process associated
 /// with the release.</param>
 /// <param name="name">A custom name of the release. The default name
 /// format is ProcessName_EnvironmentName.</param>
 /// <param name="key">A unique identifier associated to each
 /// release.</param>
 /// <param name="isLatestVersion">States whether the version of process
 /// associated with the release is latest or not.</param>
 /// <param name="isProcessDeleted">States whether the process
 /// associated with the release is deleted or not.</param>
 /// <param name="description">Used to add additional information about
 /// a release in order to better identify it.</param>
 /// <param name="environmentId">The Id of the environment associated
 /// with the release.</param>
 /// <param name="environmentName">The name of the environment
 /// associated with the release.</param>
 /// <param name="inputArguments">Input parameters in JSON format to be
 /// passed as default values to job execution.</param>
 /// <param name="processType">Possible values include: 'Process',
 /// 'TestAutomationProcess'</param>
 /// <param name="releaseVersions">The collection of release versions
 /// that current release had over time.</param>
 /// <param name="jobPriority">The execution priority. If null, it
 /// defaults to Normal. Possible values include: 'Low', 'Normal',
 /// 'High'</param>
 /// <param name="creationTime">Creation time of this release.</param>
 /// <param name="organizationUnitId">Id of the folder this release is
 /// part of.</param>
 /// <param name="organizationUnitFullyQualifiedName">Fully qualified
 /// name of the folder this release is part of.</param>
 public SimpleReleaseDto(string processKey, string processVersion, string name, string key = default(string), bool?isLatestVersion = default(bool?), bool?isProcessDeleted = default(bool?), string description = default(string), long?environmentId = default(long?), string environmentName = default(string), EnvironmentDto environment = default(EnvironmentDto), string inputArguments = default(string), ReleaseDtoProcessType?processType = default(ReleaseDtoProcessType?), bool?supportsMultipleEntryPoints = default(bool?), bool?requiresUserInteraction = default(bool?), ReleaseVersionDto currentVersion = default(ReleaseVersionDto), IList <ReleaseVersionDto> releaseVersions = default(IList <ReleaseVersionDto>), ArgumentMetadata arguments = default(ArgumentMetadata), ProcessSettingsDto processSettings = default(ProcessSettingsDto), bool?autoUpdate = default(bool?), System.Guid?feedId = default(System.Guid?), ReleaseDtoJobPriority?jobPriority = default(ReleaseDtoJobPriority?), System.DateTime?creationTime = default(System.DateTime?), long?organizationUnitId = default(long?), string organizationUnitFullyQualifiedName = default(string), long?id = default(long?))
 {
     Key                                = key;
     ProcessKey                         = processKey;
     ProcessVersion                     = processVersion;
     IsLatestVersion                    = isLatestVersion;
     IsProcessDeleted                   = isProcessDeleted;
     Description                        = description;
     Name                               = name;
     EnvironmentId                      = environmentId;
     EnvironmentName                    = environmentName;
     Environment                        = environment;
     InputArguments                     = inputArguments;
     ProcessType                        = processType;
     SupportsMultipleEntryPoints        = supportsMultipleEntryPoints;
     RequiresUserInteraction            = requiresUserInteraction;
     CurrentVersion                     = currentVersion;
     ReleaseVersions                    = releaseVersions;
     Arguments                          = arguments;
     ProcessSettings                    = processSettings;
     AutoUpdate                         = autoUpdate;
     FeedId                             = feedId;
     JobPriority                        = jobPriority;
     CreationTime                       = creationTime;
     OrganizationUnitId                 = organizationUnitId;
     OrganizationUnitFullyQualifiedName = organizationUnitFullyQualifiedName;
     Id = id;
     CustomInit();
 }