generated/api/Models/ArrayAccessNodes.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 for MAs that can access Arrays</summary>
    public partial class ArrayAccessNodes :
        Commvault.Powershell.Models.IArrayAccessNodes,
        Commvault.Powershell.Models.IArrayAccessNodesInternal
    {

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

        /// <summary>The display name of the corresponding Media Agent</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DisplayName { get => this._displayName; set => this._displayName = value; }

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

        /// <summary>Id of the MediaAgent</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Id { get => this._id; set => this._id = value; }

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

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

        /// <summary>Backing field for <see cref="Pruning" /> property.</summary>
        private bool? _pruning;

        /// <summary>Enable/Disable pruning of snapshots on the selected Media Agent</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Pruning { get => this._pruning; set => this._pruning = value; }

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

        }
    }
    /// Template for MAs that can access Arrays
    public partial interface IArrayAccessNodes :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>The display name of the corresponding Media Agent</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The display name of the corresponding Media Agent",
        SerializedName = @"displayName",
        PossibleTypes = new [] { typeof(string) })]
        string DisplayName { get; set; }
        /// <summary>Id of the MediaAgent</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Id of the MediaAgent",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>Name of the MediaAgent</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Name of the MediaAgent",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>Enable/Disable pruning of snapshots on the selected Media Agent</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Enable/Disable pruning of snapshots on the selected Media Agent",
        SerializedName = @"pruning",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Pruning { get; set; }

    }
    /// Template for MAs that can access Arrays
    internal partial interface IArrayAccessNodesInternal

    {
        /// <summary>The display name of the corresponding Media Agent</summary>
        string DisplayName { get; set; }
        /// <summary>Id of the MediaAgent</summary>
        long? Id { get; set; }
        /// <summary>Name of the MediaAgent</summary>
        string Name { get; set; }
        /// <summary>Enable/Disable pruning of snapshots on the selected Media Agent</summary>
        bool? Pruning { get; set; }

    }
}