generated/api/Models/MeditechPropResp.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>meditechPropResp</summary>
    public partial class MeditechPropResp :
        Commvault.Powershell.Models.IMeditechPropResp,
        Commvault.Powershell.Models.IMeditechPropRespInternal
    {

        /// <summary>Internal Acessors for UserAccount</summary>
        Commvault.Powershell.Models.IUserNamePassword Commvault.Powershell.Models.IMeditechPropRespInternal.UserAccount { get => (this._userAccount = this._userAccount ?? new Commvault.Powershell.Models.UserNamePassword()); set { {_userAccount = value;} } }

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

        /// <summary>Meditech Listener IP of FQDN name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ListenerIP { get => this._listenerIP; set => this._listenerIP = value; }

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

        /// <summary>Meditech Listener Port</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ListenerPort { get => this._listenerPort; set => this._listenerPort = value; }

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

        /// <summary>MBF timeout (in seconds)</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? MbFtimeout { get => this._mbFtimeout; set => this._mbFtimeout = value; }

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

        /// <summary>Meditech system name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SystemName { get => this._systemName; set => this._systemName = value; }

        /// <summary>Backing field for <see cref="UserAccount" /> property.</summary>
        private Commvault.Powershell.Models.IUserNamePassword _userAccount;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IUserNamePassword UserAccount { get => (this._userAccount = this._userAccount ?? new Commvault.Powershell.Models.UserNamePassword()); set => this._userAccount = value; }

        /// <summary>username to access the network path</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string UserAccountName { get => ((Commvault.Powershell.Models.IUserNamePasswordInternal)UserAccount).Name; set => ((Commvault.Powershell.Models.IUserNamePasswordInternal)UserAccount).Name = value ?? null; }

        /// <summary>password to access the network path</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string UserAccountPassword { get => ((Commvault.Powershell.Models.IUserNamePasswordInternal)UserAccount).Password; set => ((Commvault.Powershell.Models.IUserNamePasswordInternal)UserAccount).Password = value ?? null; }

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

        }
    }
    /// meditechPropResp
    public partial interface IMeditechPropResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Meditech Listener IP of FQDN name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Meditech Listener IP of FQDN name",
        SerializedName = @"listenerIP",
        PossibleTypes = new [] { typeof(string) })]
        string ListenerIP { get; set; }
        /// <summary>Meditech Listener Port</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Meditech Listener Port",
        SerializedName = @"listenerPort",
        PossibleTypes = new [] { typeof(long) })]
        long? ListenerPort { get; set; }
        /// <summary>MBF timeout (in seconds)</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"MBF timeout (in seconds)",
        SerializedName = @"MBFtimeout",
        PossibleTypes = new [] { typeof(long) })]
        long? MbFtimeout { get; set; }
        /// <summary>Meditech system name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Meditech system name",
        SerializedName = @"systemName",
        PossibleTypes = new [] { typeof(string) })]
        string SystemName { get; set; }
        /// <summary>username to access the network path</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"username to access the network path",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string UserAccountName { get; set; }
        /// <summary>password to access the network path</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"password to access the network path",
        SerializedName = @"password",
        PossibleTypes = new [] { typeof(string) })]
        string UserAccountPassword { get; set; }

    }
    /// meditechPropResp
    internal partial interface IMeditechPropRespInternal

    {
        /// <summary>Meditech Listener IP of FQDN name</summary>
        string ListenerIP { get; set; }
        /// <summary>Meditech Listener Port</summary>
        long? ListenerPort { get; set; }
        /// <summary>MBF timeout (in seconds)</summary>
        long? MbFtimeout { get; set; }
        /// <summary>Meditech system name</summary>
        string SystemName { get; set; }

        Commvault.Powershell.Models.IUserNamePassword UserAccount { get; set; }
        /// <summary>username to access the network path</summary>
        string UserAccountName { get; set; }
        /// <summary>password to access the network path</summary>
        string UserAccountPassword { get; set; }

    }
}