/*
* 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
{
///
/// Information about an add-on version.
///
public partial class AddonVersionInfo
{
private string _addonVersion;
private List _architecture = new List();
private List _compatibilities = new List();
private bool? _requiresConfiguration;
///
/// Gets and sets the property AddonVersion.
///
/// The version of the add-on.
///
///
public string AddonVersion
{
get { return this._addonVersion; }
set { this._addonVersion = value; }
}
// Check to see if AddonVersion property is set
internal bool IsSetAddonVersion()
{
return this._addonVersion != null;
}
///
/// Gets and sets the property Architecture.
///
/// The architectures that the version supports.
///
///
public List Architecture
{
get { return this._architecture; }
set { this._architecture = value; }
}
// Check to see if Architecture property is set
internal bool IsSetArchitecture()
{
return this._architecture != null && this._architecture.Count > 0;
}
///
/// Gets and sets the property Compatibilities.
///
/// An object representing the compatibilities of a version.
///
///
public List Compatibilities
{
get { return this._compatibilities; }
set { this._compatibilities = value; }
}
// Check to see if Compatibilities property is set
internal bool IsSetCompatibilities()
{
return this._compatibilities != null && this._compatibilities.Count > 0;
}
///
/// Gets and sets the property RequiresConfiguration.
///
/// Whether the add-on requires configuration.
///
///
public bool RequiresConfiguration
{
get { return this._requiresConfiguration.GetValueOrDefault(); }
set { this._requiresConfiguration = value; }
}
// Check to see if RequiresConfiguration property is set
internal bool IsSetRequiresConfiguration()
{
return this._requiresConfiguration.HasValue;
}
}
}