/* * 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 { /// /// Information about a pipeline. /// public partial class PipelineMetadata { private DateTime? _created; private string _pipelineArn; private DateTime? _pollingDisabledAt; private DateTime? _updated; /// /// Gets and sets the property Created. /// /// The date and time the pipeline was created, in timestamp format. /// /// public DateTime Created { get { return this._created.GetValueOrDefault(); } set { this._created = value; } } // Check to see if Created property is set internal bool IsSetCreated() { return this._created.HasValue; } /// /// Gets and sets the property PipelineArn. /// /// The Amazon Resource Name (ARN) of the pipeline. /// /// public string PipelineArn { get { return this._pipelineArn; } set { this._pipelineArn = value; } } // Check to see if PipelineArn property is set internal bool IsSetPipelineArn() { return this._pipelineArn != null; } /// /// Gets and sets the property PollingDisabledAt. /// /// The date and time that polling for source changes (periodic checks) was stopped for /// the pipeline, in timestamp format. You can migrate (update) a polling pipeline to /// use event-based change detection. For example, for a pipeline with a CodeCommit source, /// we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn /// more, see Migrate /// polling pipelines to use event-based change detection in the CodePipeline User /// Guide. /// /// public DateTime PollingDisabledAt { get { return this._pollingDisabledAt.GetValueOrDefault(); } set { this._pollingDisabledAt = value; } } // Check to see if PollingDisabledAt property is set internal bool IsSetPollingDisabledAt() { return this._pollingDisabledAt.HasValue; } /// /// Gets and sets the property Updated. /// /// The date and time the pipeline was last updated, in timestamp format. /// /// public DateTime Updated { get { return this._updated.GetValueOrDefault(); } set { this._updated = value; } } // Check to see if Updated property is set internal bool IsSetUpdated() { return this._updated.HasValue; } } }