generated/api/Models/SecurityGroup.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>The id and the name of the security group</summary>
    public partial class SecurityGroup :
        Commvault.Powershell.Models.ISecurityGroup,
        Commvault.Powershell.Models.ISecurityGroupInternal
    {

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

        /// <summary>Security group id</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Id { get => this._id; set => this._id = value; }

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

        /// <summary>security group name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

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

        }
    }
    /// The id and the name of the security group
    public partial interface ISecurityGroup :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Security group id</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Security group id",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(string) })]
        string Id { get; set; }
        /// <summary>security group name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"security group name",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }

    }
    /// The id and the name of the security group
    internal partial interface ISecurityGroupInternal

    {
        /// <summary>Security group id</summary>
        string Id { get; set; }
        /// <summary>security group name</summary>
        string Name { get; set; }

    }
}