// // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // namespace k8s.Models { using Newtonsoft.Json; using System.Linq; /// /// ConfigMapEnvSource selects a ConfigMap to populate the environment /// variables with. /// /// The contents of the target ConfigMap's Data field will represent the /// key-value pairs as environment variables. /// public partial class Corev1ConfigMapEnvSource { /// /// Initializes a new instance of the Corev1ConfigMapEnvSource class. /// public Corev1ConfigMapEnvSource() { CustomInit(); } /// /// Initializes a new instance of the Corev1ConfigMapEnvSource class. /// /// Name of the referent. More info: /// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names /// Specify whether the ConfigMap must be /// defined public Corev1ConfigMapEnvSource(string name = default(string), bool? optional = default(bool?)) { Name = name; Optional = optional; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets name of the referent. More info: /// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// Gets or sets specify whether the ConfigMap must be defined /// [JsonProperty(PropertyName = "optional")] public bool? Optional { get; set; } } }