generated/api/Models/UpdateTagValueRequest.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>Request body to update tag values</summary>
    public partial class UpdateTagValueRequest :
        Commvault.Powershell.Models.IUpdateTagValueRequest,
        Commvault.Powershell.Models.IUpdateTagValueRequestInternal
    {

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

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

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

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

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

        }
    }
    /// Request body to update tag values
    public partial interface IUpdateTagValueRequest :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"newValue",
        PossibleTypes = new [] { typeof(string) })]
        string NewValue { get; set; }

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

    }
    /// Request body to update tag values
    internal partial interface IUpdateTagValueRequestInternal

    {
        string NewValue { get; set; }

        string OldValue { get; set; }

    }
}