/// <summary> /// Initializes a new instance of the <see cref="RunbookDefinition"/> class. /// </summary> /// <param name="runbookVersion"> /// The runbook version. /// </param> /// <param name="content"> /// The content. /// </param> public RunbookDefinition(AutomationManagement.Models.RunbookVersion runbookVersion, byte[] content) { this.RunbookVersion = new RunbookVersion(runbookVersion); this.Content = System.Text.Encoding.UTF8.GetString(content); }
public JobParameter(AutomationManagement.Models.JobParameter jobParameter) { this.Name = jobParameter.Name; this.Value = jobParameter.Value; this.Type = jobParameter.Type; }