generated/api/Models/SlaDetailsWithReasonEntity.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;

    public partial class SlaDetailsWithReasonEntity :
        Commvault.Powershell.Models.ISlaDetailsWithReasonEntity,
        Commvault.Powershell.Models.ISlaDetailsWithReasonEntityInternal
    {

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

        /// <summary>Provides a reason on why the SLA might not be met.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Reason { get => this._reason; set => this._reason = value; }

        /// <summary>Backing field for <see cref="ReasonList" /> property.</summary>
        private Commvault.Powershell.Models.IReasonDetails[] _reasonList;

        /// <summary>Provides a reason on why the SLA might not be met.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IReasonDetails[] ReasonList { get => this._reasonList; set => this._reasonList = value; }

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

        /// <summary>Provides the SLA status.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Status { get => this._status; set => this._status = value; }

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

        }
    }
    public partial interface ISlaDetailsWithReasonEntity :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Provides a reason on why the SLA might not be met.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Provides a reason on why the SLA might not be met.",
        SerializedName = @"reason",
        PossibleTypes = new [] { typeof(string) })]
        string Reason { get; set; }
        /// <summary>Provides a reason on why the SLA might not be met.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Provides a reason on why the SLA might not be met.",
        SerializedName = @"reasonList",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IReasonDetails) })]
        Commvault.Powershell.Models.IReasonDetails[] ReasonList { get; set; }
        /// <summary>Provides the SLA status.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Provides the SLA status.",
        SerializedName = @"status",
        PossibleTypes = new [] { typeof(string) })]
        string Status { get; set; }

    }
    internal partial interface ISlaDetailsWithReasonEntityInternal

    {
        /// <summary>Provides a reason on why the SLA might not be met.</summary>
        string Reason { get; set; }
        /// <summary>Provides a reason on why the SLA might not be met.</summary>
        Commvault.Powershell.Models.IReasonDetails[] ReasonList { get; set; }
        /// <summary>Provides the SLA status.</summary>
        string Status { get; set; }

    }
}