/* * 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 eks-2017-11-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.EKS.Model { /// /// An object representing an asynchronous update. /// public partial class Update { private DateTime? _createdAt; private List _errors = new List(); private string _id; private List _params = new List(); private UpdateStatus _status; private UpdateType _type; /// /// Gets and sets the property CreatedAt. /// /// The Unix epoch timestamp in seconds for when the update was created. /// /// 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 Errors. /// /// Any errors associated with a Failed update. /// /// public List Errors { get { return this._errors; } set { this._errors = value; } } // Check to see if Errors property is set internal bool IsSetErrors() { return this._errors != null && this._errors.Count > 0; } /// /// Gets and sets the property Id. /// /// A UUID that is used to track the update. /// /// public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property Params. /// /// A key-value map that contains the parameters associated with the update. /// /// public List Params { get { return this._params; } set { this._params = value; } } // Check to see if Params property is set internal bool IsSetParams() { return this._params != null && this._params.Count > 0; } /// /// Gets and sets the property Status. /// /// The current status of the update. /// /// public UpdateStatus 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 Type. /// /// The type of the update. /// /// public UpdateType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }