/* * 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 codebuild-2016-10-06.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.CodeBuild.Model { /// /// Contains summary information about a batch build group. /// public partial class BuildSummary { private string _arn; private StatusType _buildStatus; private ResolvedArtifact _primaryArtifact; private DateTime? _requestedOn; private List _secondaryArtifacts = new List(); /// /// Gets and sets the property Arn. /// /// The batch build ARN. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property BuildStatus. /// /// The status of the build group. /// ///
FAILED
/// /// The build group failed. /// ///
FAULT
/// /// The build group faulted. /// ///
IN_PROGRESS
/// /// The build group is still in progress. /// ///
STOPPED
/// /// The build group stopped. /// ///
SUCCEEDED
/// /// The build group succeeded. /// ///
TIMED_OUT
/// /// The build group timed out. /// ///
///
public StatusType BuildStatus { get { return this._buildStatus; } set { this._buildStatus = value; } } // Check to see if BuildStatus property is set internal bool IsSetBuildStatus() { return this._buildStatus != null; } /// /// Gets and sets the property PrimaryArtifact. /// /// A ResolvedArtifact object that represents the primary build artifacts /// for the build group. /// /// public ResolvedArtifact PrimaryArtifact { get { return this._primaryArtifact; } set { this._primaryArtifact = value; } } // Check to see if PrimaryArtifact property is set internal bool IsSetPrimaryArtifact() { return this._primaryArtifact != null; } /// /// Gets and sets the property RequestedOn. /// /// When the build was started, expressed in Unix time format. /// /// public DateTime RequestedOn { get { return this._requestedOn.GetValueOrDefault(); } set { this._requestedOn = value; } } // Check to see if RequestedOn property is set internal bool IsSetRequestedOn() { return this._requestedOn.HasValue; } /// /// Gets and sets the property SecondaryArtifacts. /// /// An array of ResolvedArtifact objects that represents the secondary build /// artifacts for the build group. /// /// public List SecondaryArtifacts { get { return this._secondaryArtifacts; } set { this._secondaryArtifacts = value; } } // Check to see if SecondaryArtifacts property is set internal bool IsSetSecondaryArtifacts() { return this._secondaryArtifacts != null && this._secondaryArtifacts.Count > 0; } } }