generated/api/Models/NameValues.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
namespace Commvault.Powershell.Models
{
    using static Commvault.Powershell.Runtime.Extensions;
 
    /// <summary>NameValues</summary>
    public partial class NameValues :
        Commvault.Powershell.Models.INameValues,
        Commvault.Powershell.Models.INameValuesInternal
    {
 
        /// <summary>Backing field for <see cref="Name" /> property.</summary>
        private string _name;
 
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }
 
        /// <summary>Backing field for <see cref="Value" /> property.</summary>
        private string _value;
 
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Value { get => this._value; set => this._value = value; }
 
        /// <summary>Backing field for <see cref="Values" /> property.</summary>
        private System.Collections.Generic.List<string> _values;
 
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<string> Values { get => this._values; set => this._values = value; }
 
        /// <summary>Creates an new <see cref="NameValues" /> instance.</summary>
        public NameValues()
        {
 
        }
    }
    /// NameValues
    public partial interface INameValues :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
 
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"value",
        PossibleTypes = new [] { typeof(string) })]
        string Value { get; set; }
 
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"values",
        PossibleTypes = new [] { typeof(string) })]
        System.Collections.Generic.List<string> Values { get; set; }
 
    }
    /// NameValues
    internal partial interface INameValuesInternal
 
    {
        string Name { get; set; }
 
        string Value { get; set; }
 
        System.Collections.Generic.List<string> Values { get; set; }
 
    }
}