/// <summary>
 /// Initializes a new instance of the CreateRun class.
 /// </summary>
 /// <param name="runId">The identifier for the run. Run IDs must be
 /// less than 256 characters and contain only alphanumeric characters
 /// with dashes and underscores.</param>
 /// <param name="parentRunId">The parent of the run if the run is
 /// hierarchical; otherwise, Null.</param>
 /// <param name="status">The status of the run. The Status string value
 /// maps to the RunStatus Enum.</param>
 /// <param name="startTimeUtc">The start time of the run in
 /// UTC.</param>
 /// <param name="endTimeUtc">The end time of the run in UTC.</param>
 public CreateRun(string runId = default(string), string parentRunId = default(string), string status = default(string), System.DateTime?startTimeUtc = default(System.DateTime?), System.DateTime?endTimeUtc = default(System.DateTime?), bool?heartbeatEnabled = default(bool?), RunOptions options = default(RunOptions), string name = default(string), string dataContainerId = default(string), string description = default(string), bool?hidden = default(bool?), string runType = default(string), IDictionary <string, string> properties = default(IDictionary <string, string>), string scriptName = default(string), string target = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), object runDefinition = default(object), CreatedFrom createdFrom = default(CreatedFrom), string cancelUri = default(string), string diagnosticsUri = default(string))
 {
     RunId            = runId;
     ParentRunId      = parentRunId;
     Status           = status;
     StartTimeUtc     = startTimeUtc;
     EndTimeUtc       = endTimeUtc;
     HeartbeatEnabled = heartbeatEnabled;
     Options          = options;
     Name             = name;
     DataContainerId  = dataContainerId;
     Description      = description;
     Hidden           = hidden;
     RunType          = runType;
     Properties       = properties;
     ScriptName       = scriptName;
     Target           = target;
     Tags             = tags;
     RunDefinition    = runDefinition;
     CreatedFrom      = createdFrom;
     CancelUri        = cancelUri;
     DiagnosticsUri   = diagnosticsUri;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the Run class.
 /// </summary>
 /// <param name="experimentId">The Id of the experiment that created
 /// this run.</param>
 /// <param name="createdUtc">The time the run was created in
 /// UTC.</param>
 /// <param name="createdBy">The details of the user who created the
 /// run.</param>
 /// <param name="userId">The Id of the user that created the
 /// run.</param>
 /// <param name="token">A token used for authenticating a run.</param>
 /// <param name="tokenExpiryTimeUtc">The Token expiration time in
 /// UTC.</param>
 /// <param name="error">If an error occurred during the run, this will
 /// be populated.</param>
 /// <param name="warnings">A list of warnings that occurred during the
 /// run.</param>
 /// <param name="runId">The identifier for the run. Run IDs must be
 /// less than 256 characters and contain only alphanumeric characters
 /// with dashes and underscores.</param>
 /// <param name="parentRunId">The parent of the run if the run is
 /// hierarchical; otherwise, Null.</param>
 /// <param name="status">The status of the run. The Status string value
 /// maps to the RunStatus Enum.</param>
 /// <param name="startTimeUtc">The start time of the run in
 /// UTC.</param>
 /// <param name="endTimeUtc">The end time of the run in UTC.</param>
 public Run(int?runNumber = default(int?), string rootRunId = default(string), string experimentId = default(string), System.DateTime?createdUtc = default(System.DateTime?), CreatedBy createdBy = default(CreatedBy), string userId = default(string), string token = default(string), System.DateTime?tokenExpiryTimeUtc = default(System.DateTime?), ErrorResponse error = default(ErrorResponse), IList <RunDetailsWarning> warnings = default(IList <RunDetailsWarning>), int?revision = default(int?), string runId = default(string), string parentRunId = default(string), string status = default(string), System.DateTime?startTimeUtc = default(System.DateTime?), System.DateTime?endTimeUtc = default(System.DateTime?), bool?heartbeatEnabled = default(bool?), RunOptions options = default(RunOptions), string name = default(string), string dataContainerId = default(string), string description = default(string), bool?hidden = default(bool?), string runType = default(string), IDictionary <string, string> properties = default(IDictionary <string, string>), string scriptName = default(string), string target = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), object runDefinition = default(object), CreatedFrom createdFrom = default(CreatedFrom), string cancelUri = default(string), string diagnosticsUri = default(string))
 {
     RunNumber          = runNumber;
     RootRunId          = rootRunId;
     ExperimentId       = experimentId;
     CreatedUtc         = createdUtc;
     CreatedBy          = createdBy;
     UserId             = userId;
     Token              = token;
     TokenExpiryTimeUtc = tokenExpiryTimeUtc;
     Error              = error;
     Warnings           = warnings;
     Revision           = revision;
     RunId              = runId;
     ParentRunId        = parentRunId;
     Status             = status;
     StartTimeUtc       = startTimeUtc;
     EndTimeUtc         = endTimeUtc;
     HeartbeatEnabled   = heartbeatEnabled;
     Options            = options;
     Name            = name;
     DataContainerId = dataContainerId;
     Description     = description;
     Hidden          = hidden;
     RunType         = runType;
     Properties      = properties;
     ScriptName      = scriptName;
     Target          = target;
     Tags            = tags;
     RunDefinition   = runDefinition;
     CreatedFrom     = createdFrom;
     CancelUri       = cancelUri;
     DiagnosticsUri  = diagnosticsUri;
     CustomInit();
 }