using System;
using System.Collections.Generic;
using YamlDotNet.Serialization;
namespace k8s.KubeConfigModels
{
///
/// Relates nicknames to context information.
///
public class Context
{
///
/// Gets or sets the context information.
///
[YamlMember(Alias = "context")]
public ContextDetails ContextDetails { get; set; }
///
/// Gets or sets the nickname for this context.
///
[YamlMember(Alias = "name")]
public string Name { get; set; }
///
/// Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields.
///
[YamlMember(Alias = "extensions")]
public IEnumerable Extensions { get; set; }
[Obsolete("This property is not set by the YAML config. Use ContextDetails.Namespace instead.")]
[YamlMember(Alias = "namespace")]
public string Namespace { get; set; }
}
}