// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace k8s.Models
{
    using Newtonsoft.Json;
    using System.Collections;
    using System.Collections.Generic;
    using System.Linq;

    /// <summary>
    /// Adds and removes POSIX capabilities from running containers.
    /// </summary>
    public partial class V1Capabilities
    {
        /// <summary>
        /// Initializes a new instance of the V1Capabilities class.
        /// </summary>
        public V1Capabilities()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the V1Capabilities class.
        /// </summary>
        /// <param name="add">Added capabilities</param>
        /// <param name="drop">Removed capabilities</param>
        public V1Capabilities(IList<string> add = default(IList<string>), IList<string> drop = default(IList<string>))
        {
            Add = add;
            Drop = drop;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets or sets added capabilities
        /// </summary>
        [JsonProperty(PropertyName = "add")]
        public IList<string> Add { get; set; }

        /// <summary>
        /// Gets or sets removed capabilities
        /// </summary>
        [JsonProperty(PropertyName = "drop")]
        public IList<string> Drop { get; set; }

    }
}
