/// <summary>
 /// Initializes a new instance of the PublishedProcess class.
 /// </summary>
 public PublishedProcess(string activationKey = default(string), string processName = default(string), System.Guid?processKey = default(System.Guid?), string packageId = default(string), string packageVersion = default(string), long?folderId = default(long?), string folderName = default(string), ProcessSettingsDto processSettings = default(ProcessSettingsDto), string folderFullyQualifiedName = default(string))
 {
     ActivationKey            = activationKey;
     ProcessName              = processName;
     ProcessKey               = processKey;
     PackageId                = packageId;
     PackageVersion           = packageVersion;
     FolderId                 = folderId;
     FolderName               = folderName;
     ProcessSettings          = processSettings;
     FolderFullyQualifiedName = folderFullyQualifiedName;
     CustomInit();
 }
예제 #2
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="environment">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="currentVersion">The release version associated with
 /// the current release.</param>
 /// <param name="releaseVersions">The collection of release versions
 /// that current release had over time.</param>
 /// <param name="arguments">Input/Output arguments consumed/produced by
 /// the release</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), ReleaseVersionDto currentVersion = default(ReleaseVersionDto), IList <ReleaseVersionDto> releaseVersions = default(IList <ReleaseVersionDto>), ArgumentMetadata arguments = default(ArgumentMetadata), ProcessSettingsDto processSettings = default(ProcessSettingsDto), bool?autoUpdate = default(bool?), 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;
     CurrentVersion   = currentVersion;
     ReleaseVersions  = releaseVersions;
     Arguments        = arguments;
     ProcessSettings  = processSettings;
     AutoUpdate       = autoUpdate;
     Id = id;
     CustomInit();
 }