generated/api/Models/VMDisplayName.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.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>Prefix or Suffix appended to create display name for destination instance</summary>
    public partial class VMDisplayName :
        Commvault.Powershell.Models.IVMDisplayName,
        Commvault.Powershell.Models.IVMDisplayNameInternal
    {

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

        /// <summary>
        /// A prefix string that will be appended to source instances to create the display name for each destination instance.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Prefix { get => this._prefix; set => this._prefix = value; }

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

        /// <summary>
        /// A suffix string that will be appended to source instances to create the display name for each destination instance.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Suffix { get => this._suffix; set => this._suffix = value; }

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

        }
    }
    /// Prefix or Suffix appended to create display name for destination instance
    public partial interface IVMDisplayName :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// A prefix string that will be appended to source instances to create the display name for each destination instance.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"A prefix string that will be appended to source instances to create the display name for each destination instance.",
        SerializedName = @"prefix",
        PossibleTypes = new [] { typeof(string) })]
        string Prefix { get; set; }
        /// <summary>
        /// A suffix string that will be appended to source instances to create the display name for each destination instance.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"A suffix string that will be appended to source instances to create the display name for each destination instance.",
        SerializedName = @"suffix",
        PossibleTypes = new [] { typeof(string) })]
        string Suffix { get; set; }

    }
    /// Prefix or Suffix appended to create display name for destination instance
    internal partial interface IVMDisplayNameInternal

    {
        /// <summary>
        /// A prefix string that will be appended to source instances to create the display name for each destination instance.
        /// </summary>
        string Prefix { get; set; }
        /// <summary>
        /// A suffix string that will be appended to source instances to create the display name for each destination instance.
        /// </summary>
        string Suffix { get; set; }

    }
}