generated/api/Models/GoogleCloudDestinationInfo.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>Destination information for the GCP VMs to restore</summary>
    public partial class GoogleCloudDestinationInfo :
        Commvault.Powershell.Models.IGoogleCloudDestinationInfo,
        Commvault.Powershell.Models.IGoogleCloudDestinationInfoInternal
    {

        /// <summary>Backing field for <see cref="GoogleCloudVMInfoList" /> property.</summary>
        private Commvault.Powershell.Models.IGoogleCloudVMInfo[] _googleCloudVMInfoList;

        /// <summary>List of Google Cloud VMs that are to be restored</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IGoogleCloudVMInfo[] GoogleCloudVMInfoList { get => this._googleCloudVMInfoList; set => this._googleCloudVMInfoList = value; }

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

        /// <summary>Adds prefix for VM display name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NamePrefix { get => this._namePrefix; set => this._namePrefix = value; }

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

        /// <summary>Adds suffix for VM display name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NameSuffix { get => this._nameSuffix; set => this._nameSuffix = value; }

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

        }
    }
    /// Destination information for the GCP VMs to restore
    public partial interface IGoogleCloudDestinationInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of Google Cloud VMs that are to be restored</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of Google Cloud VMs that are to be restored",
        SerializedName = @"googleCloudVMInfoList",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IGoogleCloudVMInfo) })]
        Commvault.Powershell.Models.IGoogleCloudVMInfo[] GoogleCloudVMInfoList { get; set; }
        /// <summary>Adds prefix for VM display name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Adds prefix for VM display name",
        SerializedName = @"namePrefix",
        PossibleTypes = new [] { typeof(string) })]
        string NamePrefix { get; set; }
        /// <summary>Adds suffix for VM display name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Adds suffix for VM display name",
        SerializedName = @"nameSuffix",
        PossibleTypes = new [] { typeof(string) })]
        string NameSuffix { get; set; }

    }
    /// Destination information for the GCP VMs to restore
    internal partial interface IGoogleCloudDestinationInfoInternal

    {
        /// <summary>List of Google Cloud VMs that are to be restored</summary>
        Commvault.Powershell.Models.IGoogleCloudVMInfo[] GoogleCloudVMInfoList { get; set; }
        /// <summary>Adds prefix for VM display name</summary>
        string NamePrefix { get; set; }
        /// <summary>Adds suffix for VM display name</summary>
        string NameSuffix { get; set; }

    }
}