generated/api/Models/FailoverGroupHypervisor.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>The hypervisor client/client group information for failover groups</summary>
    public partial class FailoverGroupHypervisor :
        Commvault.Powershell.Models.IFailoverGroupHypervisor,
        Commvault.Powershell.Models.IFailoverGroupHypervisorInternal
    {

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

        /// <summary>The Id of client/client group</summary>
        [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;

        /// <summary>The name of the hypervisor client/client group</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

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

        /// <summary>The type of entity is used</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Type { get => this._type; set => this._type = value; }

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

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

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

        }
    }
    /// The hypervisor client/client group information for failover groups
    public partial interface IFailoverGroupHypervisor :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>The Id of client/client group</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The Id of client/client group",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>The name of the hypervisor client/client group</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The name of the hypervisor client/client group",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>The type of entity is used</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The type of entity is used",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string Type { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"vendor",
        PossibleTypes = new [] { typeof(string) })]
        string Vendor { get; set; }

    }
    /// The hypervisor client/client group information for failover groups
    internal partial interface IFailoverGroupHypervisorInternal

    {
        /// <summary>The Id of client/client group</summary>
        long? Id { get; set; }
        /// <summary>The name of the hypervisor client/client group</summary>
        string Name { get; set; }
        /// <summary>The type of entity is used</summary>
        string Type { get; set; }

        string Vendor { get; set; }

    }
}