generated/api/Models/Template.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// 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>Template</summary>
    public partial class Template :
        Commvault.Powershell.Models.ITemplate,
        Commvault.Powershell.Models.ITemplateInternal
    {

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

        /// <summary>VM guid of template</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string VMGuid { get => this._vMGuid; set => this._vMGuid = value; }

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

        /// <summary>VM name of template</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string VMName { get => this._vMName; set => this._vMName = value; }

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

        }
    }
    /// Template
    public partial interface ITemplate :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>VM guid of template</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"VM guid of template",
        SerializedName = @"vmGUID",
        PossibleTypes = new [] { typeof(string) })]
        string VMGuid { get; set; }
        /// <summary>VM name of template</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"VM name of template",
        SerializedName = @"vmName",
        PossibleTypes = new [] { typeof(string) })]
        string VMName { get; set; }

    }
    /// Template
    internal partial interface ITemplateInternal

    {
        /// <summary>VM guid of template</summary>
        string VMGuid { get; set; }
        /// <summary>VM name of template</summary>
        string VMName { get; set; }

    }
}