generated/api/Models/UpdateReplicationGroup.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>UpdateReplicationGroupReq</summary>
    public partial class UpdateReplicationGroup :
        Commvault.Powershell.Models.IUpdateReplicationGroup,
        Commvault.Powershell.Models.IUpdateReplicationGroupInternal
    {

        /// <summary>Backing field for <see cref="Enable" /> property.</summary>
        private bool? _enable;

        /// <summary>Used to enable or disable a replication group</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Enable { get => this._enable; set => this._enable = value; }

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

        /// <summary>Used to change the name of a replication group</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NewName { get => this._newName; set => this._newName = value; }

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

        }
    }
    /// UpdateReplicationGroupReq
    public partial interface IUpdateReplicationGroup :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Used to enable or disable a replication group</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Used to enable or disable a replication group",
        SerializedName = @"enable",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Enable { get; set; }
        /// <summary>Used to change the name of a replication group</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Used to change the name of a replication group",
        SerializedName = @"newName",
        PossibleTypes = new [] { typeof(string) })]
        string NewName { get; set; }

    }
    /// UpdateReplicationGroupReq
    internal partial interface IUpdateReplicationGroupInternal

    {
        /// <summary>Used to enable or disable a replication group</summary>
        bool? Enable { get; set; }
        /// <summary>Used to change the name of a replication group</summary>
        string NewName { get; set; }

    }
}