generated/api/Models/QueryParameter.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;

    public partial class QueryParameter :
        Commvault.Powershell.Models.IQueryParameter,
        Commvault.Powershell.Models.IQueryParameterInternal
    {

        /// <summary>Backing field for <see cref="ParamName" /> property.</summary>
        private string _paramName;

        /// <summary>Parameter name for the input field present in the SQL query</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ParamName { get => this._paramName; set => this._paramName = value; }

        /// <summary>Backing field for <see cref="Value" /> property.</summary>
        private string _value;

        /// <summary>Value of the query parameter (JSON text in string format)</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Value { get => this._value; set => this._value = value; }

        /// <summary>Creates an new <see cref="QueryParameter" /> instance.</summary>
        public QueryParameter()
        {

        }
    }
    public partial interface IQueryParameter :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Parameter name for the input field present in the SQL query</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Parameter name for the input field present in the SQL query",
        SerializedName = @"paramName",
        PossibleTypes = new [] { typeof(string) })]
        string ParamName { get; set; }
        /// <summary>Value of the query parameter (JSON text in string format)</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Value of the query parameter (JSON text in string format)",
        SerializedName = @"value",
        PossibleTypes = new [] { typeof(string) })]
        string Value { get; set; }

    }
    internal partial interface IQueryParameterInternal

    {
        /// <summary>Parameter name for the input field present in the SQL query</summary>
        string ParamName { get; set; }
        /// <summary>Value of the query parameter (JSON text in string format)</summary>
        string Value { get; set; }

    }
}