generated/api/Models/ResourceTag.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>represents tag name and tag value of a resource</summary>
    public partial class ResourceTag :
        Commvault.Powershell.Models.IResourceTag,
        Commvault.Powershell.Models.IResourceTagInternal
    {

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

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

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

        /// <summary>represents value of the tag</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Value { get => this._value; set => this._value = value; }

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

        }
    }
    /// represents tag name and tag value of a resource
    public partial interface IResourceTag :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>represents name of the tag</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"represents name of the tag",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>represents value of the tag</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"represents value of the tag",
        SerializedName = @"value",
        PossibleTypes = new [] { typeof(string) })]
        string Value { get; set; }

    }
    /// represents tag name and tag value of a resource
    internal partial interface IResourceTagInternal

    {
        /// <summary>represents name of the tag</summary>
        string Name { get; set; }
        /// <summary>represents value of the tag</summary>
        string Value { get; set; }

    }
}