generated/api/Models/RmProjectInfo.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>RMProjectInfo</summary>
    public partial class RmProjectInfo :
        Commvault.Powershell.Models.IRmProjectInfo,
        Commvault.Powershell.Models.IRmProjectInfoInternal
    {

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

        [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;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

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

        /// <summary>
        /// INVALID_PLAN_ENTITIES signifies the plan configuration associated to project does not contain at least one entity that
        /// is configured for the request in consideration. DATASOURCE_UNAVAILABLE signifies no data sources associated to the project.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Status { get => this._status; set => this._status = value; }

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

        }
    }
    /// RMProjectInfo
    public partial interface IRmProjectInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>
        /// INVALID_PLAN_ENTITIES signifies the plan configuration associated to project does not contain at least one entity that
        /// is configured for the request in consideration. DATASOURCE_UNAVAILABLE signifies no data sources associated to the project.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"INVALID_PLAN_ENTITIES signifies the plan configuration associated to project does not contain at least one entity that is configured for the request in consideration. DATASOURCE_UNAVAILABLE signifies no data sources associated to the project.",
        SerializedName = @"status",
        PossibleTypes = new [] { typeof(string) })]
        string Status { get; set; }

    }
    /// RMProjectInfo
    internal partial interface IRmProjectInfoInternal

    {
        long? Id { get; set; }

        string Name { get; set; }
        /// <summary>
        /// INVALID_PLAN_ENTITIES signifies the plan configuration associated to project does not contain at least one entity that
        /// is configured for the request in consideration. DATASOURCE_UNAVAILABLE signifies no data sources associated to the project.
        /// </summary>
        string Status { get; set; }

    }
}