/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the codepipeline-2015-07-09.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CodePipeline.Model { /// /// Summary information about a pipeline execution. /// public partial class PipelineExecutionSummary { private DateTime? _lastUpdateTime; private string _pipelineExecutionId; private List _sourceRevisions = new List(); private DateTime? _startTime; private PipelineExecutionStatus _status; private StopExecutionTrigger _stopTrigger; private ExecutionTrigger _trigger; /// /// Gets and sets the property LastUpdateTime. /// /// The date and time of the last change to the pipeline execution, in timestamp format. /// /// public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// /// Gets and sets the property PipelineExecutionId. /// /// The ID of the pipeline execution. /// /// public string PipelineExecutionId { get { return this._pipelineExecutionId; } set { this._pipelineExecutionId = value; } } // Check to see if PipelineExecutionId property is set internal bool IsSetPipelineExecutionId() { return this._pipelineExecutionId != null; } /// /// Gets and sets the property SourceRevisions. /// /// A list of the source artifact revisions that initiated a pipeline execution. /// /// public List SourceRevisions { get { return this._sourceRevisions; } set { this._sourceRevisions = value; } } // Check to see if SourceRevisions property is set internal bool IsSetSourceRevisions() { return this._sourceRevisions != null && this._sourceRevisions.Count > 0; } /// /// Gets and sets the property StartTime. /// /// The date and time when the pipeline execution began, in timestamp format. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// /// Gets and sets the property Status. /// /// The status of the pipeline execution. /// ///
  • /// /// InProgress: The pipeline execution is currently running. /// ///
  • /// /// Stopped: The pipeline execution was manually stopped. For more information, see Stopped /// Executions. /// ///
  • /// /// Stopping: The pipeline execution received a request to be manually stopped. Depending /// on the selected stop mode, the execution is either completing or abandoning in-progress /// actions. For more information, see Stopped /// Executions. /// ///
  • /// /// Succeeded: The pipeline execution was completed successfully. /// ///
  • /// /// Superseded: While this pipeline execution was waiting for the next stage to be completed, /// a newer pipeline execution advanced and continued through the pipeline instead. For /// more information, see Superseded /// Executions. /// ///
  • /// /// Failed: The pipeline execution was not completed successfully. /// ///
///
public PipelineExecutionStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StopTrigger. /// /// The interaction that stopped a pipeline execution. /// /// public StopExecutionTrigger StopTrigger { get { return this._stopTrigger; } set { this._stopTrigger = value; } } // Check to see if StopTrigger property is set internal bool IsSetStopTrigger() { return this._stopTrigger != null; } /// /// Gets and sets the property Trigger. /// /// The interaction or event that started a pipeline execution, such as automated change /// detection or a StartPipelineExecution API call. /// /// public ExecutionTrigger Trigger { get { return this._trigger; } set { this._trigger = value; } } // Check to see if Trigger property is set internal bool IsSetTrigger() { return this._trigger != null; } } }