/// <summary>
 /// Initializes a new instance of the EncodedTaskRunRequest class.
 /// </summary>
 /// <param name="encodedTaskContent">Base64 encoded value of the
 /// template/definition file content.</param>
 /// <param name="platform">The platform properties against which the
 /// run has to happen.</param>
 /// <param name="isArchiveEnabled">The value that indicates whether
 /// archiving is enabled for the run or not.</param>
 /// <param name="encodedValuesContent">Base64 encoded value of the
 /// parameters/values file content.</param>
 /// <param name="values">The collection of overridable values that can
 /// be passed when running a task.</param>
 /// <param name="timeout">Run timeout in seconds.</param>
 /// <param name="agentConfiguration">The machine configuration of the
 /// run agent.</param>
 /// <param name="sourceLocation">The URL(absolute or relative) of the
 /// source context. It can be an URL to a tar or git repoistory.
 /// If it is relative URL, the relative path should be obtained from
 /// calling listBuildSourceUploadUrl API.</param>
 public EncodedTaskRunRequest(string encodedTaskContent, PlatformProperties platform, bool?isArchiveEnabled = default(bool?), string encodedValuesContent = default(string), IList <SetValue> values = default(IList <SetValue>), int?timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string))
     : base(isArchiveEnabled)
 {
     EncodedTaskContent   = encodedTaskContent;
     EncodedValuesContent = encodedValuesContent;
     Values             = values;
     Timeout            = timeout;
     Platform           = platform;
     AgentConfiguration = agentConfiguration;
     SourceLocation     = sourceLocation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the FileTaskRunRequest class.
 /// </summary>
 /// <param name="taskFilePath">The template/definition file path
 /// relative to the source.</param>
 /// <param name="platform">The platform properties against which the
 /// run has to happen.</param>
 /// <param name="isArchiveEnabled">The value that indicates whether
 /// archiving is enabled for the run or not.</param>
 /// <param name="valuesFilePath">The values/parameters file path
 /// relative to the source.</param>
 /// <param name="values">The collection of overridable values that can
 /// be passed when running a task.</param>
 /// <param name="timeout">Run timeout in seconds.</param>
 /// <param name="agentConfiguration">The machine configuration of the
 /// run agent.</param>
 /// <param name="sourceLocation">The URL(absolute or relative) of the
 /// source context. It can be an URL to a tar or git repoistory.
 /// If it is relative URL, the relative path should be obtained from
 /// calling listBuildSourceUploadUrl API.</param>
 public FileTaskRunRequest(string taskFilePath, PlatformProperties platform, bool?isArchiveEnabled = default(bool?), string valuesFilePath = default(string), IList <SetValue> values = default(IList <SetValue>), int?timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string))
     : base(isArchiveEnabled)
 {
     TaskFilePath       = taskFilePath;
     ValuesFilePath     = valuesFilePath;
     Values             = values;
     Timeout            = timeout;
     Platform           = platform;
     AgentConfiguration = agentConfiguration;
     SourceLocation     = sourceLocation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TaskInner class.
 /// </summary>
 /// <param name="platform">The platform properties against which the
 /// run has to happen.</param>
 /// <param name="step">The properties of a task step.</param>
 /// <param name="provisioningState">The provisioning state of the task.
 /// Possible values include: 'Creating', 'Updating', 'Deleting',
 /// 'Succeeded', 'Failed', 'Canceled'</param>
 /// <param name="creationDate">The creation date of task.</param>
 /// <param name="status">The current status of task. Possible values
 /// include: 'Disabled', 'Enabled'</param>
 /// <param name="agentConfiguration">The machine configuration of the
 /// run agent.</param>
 /// <param name="timeout">Run timeout in seconds.</param>
 /// <param name="trigger">The properties that describe all triggers for
 /// the task.</param>
 public TaskInner(PlatformProperties platform, TaskStepProperties step, string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), System.DateTime?creationDate = default(System.DateTime?), string status = default(string), AgentProperties agentConfiguration = default(AgentProperties), int?timeout = default(int?), TriggerProperties trigger = default(TriggerProperties))
     : base(location, id, name, type, tags)
 {
     ProvisioningState  = provisioningState;
     CreationDate       = creationDate;
     Status             = status;
     Platform           = platform;
     AgentConfiguration = agentConfiguration;
     Timeout            = timeout;
     Step    = step;
     Trigger = trigger;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DockerBuildRequest class.
 /// </summary>
 /// <param name="dockerFilePath">The Docker file path relative to the
 /// source location.</param>
 /// <param name="platform">The platform properties against which the
 /// run has to happen.</param>
 /// <param name="isArchiveEnabled">The value that indicates whether
 /// archiving is enabled for the run or not.</param>
 /// <param name="imageNames">The fully qualified image names including
 /// the repository and tag.</param>
 /// <param name="isPushEnabled">The value of this property indicates
 /// whether the image built should be pushed to the registry or
 /// not.</param>
 /// <param name="noCache">The value of this property indicates whether
 /// the image cache is enabled or not.</param>
 /// <param name="arguments">The collection of override arguments to be
 /// used when executing the run.</param>
 /// <param name="timeout">Run timeout in seconds.</param>
 /// <param name="agentConfiguration">The machine configuration of the
 /// run agent.</param>
 /// <param name="sourceLocation">The URL(absolute or relative) of the
 /// source context. It can be an URL to a tar or git repoistory.
 /// If it is relative URL, the relative path should be obtained from
 /// calling listBuildSourceUploadUrl API.</param>
 public DockerBuildRequest(string dockerFilePath, PlatformProperties platform, bool?isArchiveEnabled = default(bool?), IList <string> imageNames = default(IList <string>), bool?isPushEnabled = default(bool?), bool?noCache = default(bool?), IList <Argument> arguments = default(IList <Argument>), int?timeout = default(int?), AgentProperties agentConfiguration = default(AgentProperties), string sourceLocation = default(string))
     : base(isArchiveEnabled)
 {
     ImageNames         = imageNames;
     IsPushEnabled      = isPushEnabled;
     NoCache            = noCache;
     DockerFilePath     = dockerFilePath;
     Arguments          = arguments;
     Timeout            = timeout;
     Platform           = platform;
     AgentConfiguration = agentConfiguration;
     SourceLocation     = sourceLocation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the RunInner class.
 /// </summary>
 /// <param name="id">The resource ID.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="runId">The unique identifier for the run.</param>
 /// <param name="status">The current status of the run. Possible values
 /// include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed',
 /// 'Canceled', 'Error', 'Timeout'</param>
 /// <param name="lastUpdatedTime">The last updated time for the
 /// run.</param>
 /// <param name="runType">The type of run. Possible values include:
 /// 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'</param>
 /// <param name="createTime">The time the run was scheduled.</param>
 /// <param name="startTime">The time the run started.</param>
 /// <param name="finishTime">The time the run finished.</param>
 /// <param name="outputImages">The list of all images that were
 /// generated from the run. This is applicable if the run generates
 /// base image dependencies.</param>
 /// <param name="task">The task against which run was
 /// scheduled.</param>
 /// <param name="imageUpdateTrigger">The image update trigger that
 /// caused the run. This is applicable if the task has base image
 /// trigger configured.</param>
 /// <param name="sourceTrigger">The source trigger that caused the
 /// run.</param>
 /// <param name="isArchiveEnabled">The value that indicates whether
 /// archiving is enabled or not.</param>
 /// <param name="platform">The platform properties against which the
 /// run will happen.</param>
 /// <param name="agentConfiguration">The machine configuration of the
 /// run agent.</param>
 /// <param name="provisioningState">The provisioning state of a run.
 /// Possible values include: 'Creating', 'Updating', 'Deleting',
 /// 'Succeeded', 'Failed', 'Canceled'</param>
 public RunInner(string id = default(string), string name = default(string), string type = default(string), string runId = default(string), string status = default(string), System.DateTime?lastUpdatedTime = default(System.DateTime?), string runType = default(string), System.DateTime?createTime = default(System.DateTime?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?finishTime = default(System.DateTime?), IList <ImageDescriptor> outputImages = default(IList <ImageDescriptor>), string task = default(string), ImageUpdateTrigger imageUpdateTrigger = default(ImageUpdateTrigger), SourceTriggerDescriptor sourceTrigger = default(SourceTriggerDescriptor), bool?isArchiveEnabled = default(bool?), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string provisioningState = default(string))
     : base(id, name, type)
 {
     RunId              = runId;
     Status             = status;
     LastUpdatedTime    = lastUpdatedTime;
     RunType            = runType;
     CreateTime         = createTime;
     StartTime          = startTime;
     FinishTime         = finishTime;
     OutputImages       = outputImages;
     Task               = task;
     ImageUpdateTrigger = imageUpdateTrigger;
     SourceTrigger      = sourceTrigger;
     IsArchiveEnabled   = isArchiveEnabled;
     Platform           = platform;
     AgentConfiguration = agentConfiguration;
     ProvisioningState  = provisioningState;
     CustomInit();
 }