generated/api/Models/ScriptDescriptionDetails.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>contains script details</summary>
    public partial class ScriptDescriptionDetails :
        Commvault.Powershell.Models.IScriptDescriptionDetails,
        Commvault.Powershell.Models.IScriptDescriptionDetailsInternal
    {

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Description { get => this._description; set => this._description = value; }

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

        /// <summary>unique identifier for the script</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Guid { get => this._guid; set => this._guid = value; }

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

        /// <summary>name of the report</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ReportName { get => this._reportName; set => this._reportName = value; }

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

        }
    }
    /// contains script details
    public partial interface IScriptDescriptionDetails :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"description",
        PossibleTypes = new [] { typeof(string) })]
        string Description { get; set; }
        /// <summary>unique identifier for the script</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"unique identifier for the script",
        SerializedName = @"guid",
        PossibleTypes = new [] { typeof(string) })]
        string Guid { get; set; }
        /// <summary>name of the report</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"name of the report",
        SerializedName = @"reportName",
        PossibleTypes = new [] { typeof(string) })]
        string ReportName { get; set; }

    }
    /// contains script details
    internal partial interface IScriptDescriptionDetailsInternal

    {
        string Description { get; set; }
        /// <summary>unique identifier for the script</summary>
        string Guid { get; set; }
        /// <summary>name of the report</summary>
        string ReportName { get; set; }

    }
}