/* * 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 es-2015-01-01.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.Elasticsearch.Model { /// /// Details of a package version. /// public partial class PackageVersionHistory { private string _commitMessage; private DateTime? _createdAt; private string _packageVersion; /// /// Gets and sets the property CommitMessage. /// /// A message associated with the version. /// /// [AWSProperty(Max=160)] public string CommitMessage { get { return this._commitMessage; } set { this._commitMessage = value; } } // Check to see if CommitMessage property is set internal bool IsSetCommitMessage() { return this._commitMessage != null; } /// /// Gets and sets the property CreatedAt. /// /// Timestamp which tells creation time of the package version. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property PackageVersion. /// /// Version of the package. /// /// public string PackageVersion { get { return this._packageVersion; } set { this._packageVersion = value; } } // Check to see if PackageVersion property is set internal bool IsSetPackageVersion() { return this._packageVersion != null; } } }