/// <summary> /// Initializes a new instance of the ReleaseDto 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 ReleaseDto(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(); }