generated/api/Models/TestFailoverVMInfo.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>Test failover virtual machine information</summary>
    public partial class TestFailoverVMInfo :
        Commvault.Powershell.Models.ITestFailoverVMInfo,
        Commvault.Powershell.Models.ITestFailoverVMInfoInternal
    {

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

        /// <summary>VM client</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ClientId { get => this._clientId; set => this._clientId = value; }

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

        /// <summary>clientname of clone VM</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ClientName { get => this._clientName; set => this._clientName = value; }

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

        /// <summary>hostname of clone VM</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string HostName { get => this._hostName; set => this._hostName = value; }

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

        /// <summary>Clone VM guid</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string VMGuid { get => this._vMGuid; set => this._vMGuid = value; }

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

        /// <summary>display name of clone VM</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string VMName { get => this._vMName; set => this._vMName = value; }

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

        }
    }
    /// Test failover virtual machine information
    public partial interface ITestFailoverVMInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>VM client</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"VM client",
        SerializedName = @"clientId",
        PossibleTypes = new [] { typeof(long) })]
        long? ClientId { get; set; }
        /// <summary>clientname of clone VM</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"clientname of clone VM",
        SerializedName = @"clientName",
        PossibleTypes = new [] { typeof(string) })]
        string ClientName { get; set; }
        /// <summary>hostname of clone VM</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"hostname of clone VM",
        SerializedName = @"hostName",
        PossibleTypes = new [] { typeof(string) })]
        string HostName { get; set; }
        /// <summary>Clone VM guid</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Clone VM guid",
        SerializedName = @"vmGUID",
        PossibleTypes = new [] { typeof(string) })]
        string VMGuid { get; set; }
        /// <summary>display name of clone VM</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"display name of clone VM",
        SerializedName = @"vmName",
        PossibleTypes = new [] { typeof(string) })]
        string VMName { get; set; }

    }
    /// Test failover virtual machine information
    internal partial interface ITestFailoverVMInfoInternal

    {
        /// <summary>VM client</summary>
        long? ClientId { get; set; }
        /// <summary>clientname of clone VM</summary>
        string ClientName { get; set; }
        /// <summary>hostname of clone VM</summary>
        string HostName { get; set; }
        /// <summary>Clone VM guid</summary>
        string VMGuid { get; set; }
        /// <summary>display name of clone VM</summary>
        string VMName { get; set; }

    }
}