generated/api/Models/MediaAgentDetailsForPlan.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>Media agent details associated to a Plan</summary>
    public partial class MediaAgentDetailsForPlan :
        Commvault.Powershell.Models.IMediaAgentDetailsForPlan,
        Commvault.Powershell.Models.IMediaAgentDetailsForPlanInternal
    {

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

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

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

        /// <summary>
        /// Indicates if packageName sent in query parameter is installed on the Media agent
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsPackageInstalled { get => this._isPackageInstalled; set => this._isPackageInstalled = value; }

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

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

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

        /// <summary>Name of the region where Media agent belongs to within the Plan</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string RegionName { get => this._regionName; set => this._regionName = value; }

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

        }
    }
    /// Media agent details associated to a Plan
    public partial interface IMediaAgentDetailsForPlan :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Id of the Media agent</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Id of the Media agent",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>
        /// Indicates if packageName sent in query parameter is installed on the Media agent
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Indicates if packageName sent in query parameter is installed on the Media agent",
        SerializedName = @"isPackageInstalled",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsPackageInstalled { get; set; }
        /// <summary>Name of the Media agent</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Name of the Media agent",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>Name of the region where Media agent belongs to within the Plan</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Name of the region where Media agent belongs to within the Plan",
        SerializedName = @"regionName",
        PossibleTypes = new [] { typeof(string) })]
        string RegionName { get; set; }

    }
    /// Media agent details associated to a Plan
    internal partial interface IMediaAgentDetailsForPlanInternal

    {
        /// <summary>Id of the Media agent</summary>
        long? Id { get; set; }
        /// <summary>
        /// Indicates if packageName sent in query parameter is installed on the Media agent
        /// </summary>
        bool? IsPackageInstalled { get; set; }
        /// <summary>Name of the Media agent</summary>
        string Name { get; set; }
        /// <summary>Name of the region where Media agent belongs to within the Plan</summary>
        string RegionName { get; set; }

    }
}