generated/api/Models/Region.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>Region</summary>
    public partial class Region :
        Commvault.Powershell.Models.IRegion,
        Commvault.Powershell.Models.IRegionInternal
    {

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

        /// <summary>GUID of the destination region.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Id { get => this._id; set => this._id = value; }

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

        /// <summary>
        /// Region name of destination. In-case of VMWare, region name refers to the destination host cluster name.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

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

        }
    }
    /// Region
    public partial interface IRegion :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>GUID of the destination region.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"GUID of the destination region.",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(string) })]
        string Id { get; set; }
        /// <summary>
        /// Region name of destination. In-case of VMWare, region name refers to the destination host cluster name.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Region name of destination. In-case of VMWare, region name refers to the destination host cluster name.",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }

    }
    /// Region
    internal partial interface IRegionInternal

    {
        /// <summary>GUID of the destination region.</summary>
        string Id { get; set; }
        /// <summary>
        /// Region name of destination. In-case of VMWare, region name refers to the destination host cluster name.
        /// </summary>
        string Name { get; set; }

    }
}