generated/api/Models/HfsShareStatusResp.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>
    /// Some common status are 0 - All Okay, 2 - HFS File Server is not up, 11 - HFS not ready
    /// </summary>
    public partial class HfsShareStatusResp :
        Commvault.Powershell.Models.IHfsShareStatusResp,
        Commvault.Powershell.Models.IHfsShareStatusRespInternal
    {

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? StatusCode { get => this._statusCode; set => this._statusCode = value; }

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

        /// <summary>Status message telling information about HFS status</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string StatusMessage { get => this._statusMessage; set => this._statusMessage = value; }

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

        }
    }
    /// Some common status are 0 - All Okay, 2 - HFS File Server is not up, 11 - HFS not ready
    public partial interface IHfsShareStatusResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"statusCode",
        PossibleTypes = new [] { typeof(long) })]
        long? StatusCode { get; set; }
        /// <summary>Status message telling information about HFS status</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Status message telling information about HFS status",
        SerializedName = @"statusMessage",
        PossibleTypes = new [] { typeof(string) })]
        string StatusMessage { get; set; }

    }
    /// Some common status are 0 - All Okay, 2 - HFS File Server is not up, 11 - HFS not ready
    internal partial interface IHfsShareStatusRespInternal

    {
        long? StatusCode { get; set; }
        /// <summary>Status message telling information about HFS status</summary>
        string StatusMessage { get; set; }

    }
}