/* * 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 { /// /// Represents information about the version (or revision) of an action. /// public partial class ActionRevision { private DateTime? _created; private string _revisionChangeId; private string _revisionId; /// /// Gets and sets the property Created. /// /// The date and time when the most recent version of the action was created, in timestamp /// format. /// /// [AWSProperty(Required=true)] 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 RevisionChangeId. /// /// The unique identifier of the change that set the state to this revision (for example, /// a deployment ID or timestamp). /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string RevisionChangeId { get { return this._revisionChangeId; } set { this._revisionChangeId = value; } } // Check to see if RevisionChangeId property is set internal bool IsSetRevisionChangeId() { return this._revisionChangeId != null; } /// /// Gets and sets the property RevisionId. /// /// The system-generated unique ID that identifies the revision number of the action. /// /// [AWSProperty(Required=true, Min=1, Max=1500)] public string RevisionId { get { return this._revisionId; } set { this._revisionId = value; } } // Check to see if RevisionId property is set internal bool IsSetRevisionId() { return this._revisionId != null; } } }