generated/api/Models/NameGuid.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 NameGuid :
        Commvault.Powershell.Models.INameGuid,
        Commvault.Powershell.Models.INameGuidInternal
    {
 
        /// <summary>Backing field for <see cref="Guid" /> property.</summary>
        private string _guid;
 
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Guid { get => this._guid; set => this._guid = value; }
 
        /// <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>Creates an new <see cref="NameGuid" /> instance.</summary>
        public NameGuid()
        {
 
        }
    }
    public partial interface INameGuid :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"GUID",
        PossibleTypes = new [] { typeof(string) })]
        string Guid { get; set; }
 
        [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; }
 
    }
    internal partial interface INameGuidInternal
 
    {
        string Guid { get; set; }
 
        string Name { get; set; }
 
    }
}