generated/api/Models/SubclientAssociationFlags.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708)
// 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>
    /// These flags are used to specify the type of association between the entity and the backupdestination.
    /// </summary>
    public partial class SubclientAssociationFlags :
        Commvault.Powershell.Models.ISubclientAssociationFlags,
        Commvault.Powershell.Models.ISubclientAssociationFlagsInternal
    {

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

        /// <summary>If set to true, the entity is disabled for current user.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Disabled { get => this._disabled; set => this._disabled = value; }

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

        /// <summary>If set to true, this entity and its child entities are excluded for auxcopy</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Exclude { get => this._exclude; set => this._exclude = value; }

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

        /// <summary>If set to true, this entity and its child entities are included for auxcopy</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Include { get => this._include; set => this._include = value; }

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

        }
    }
    /// These flags are used to specify the type of association between the entity and the backupdestination.
    public partial interface ISubclientAssociationFlags :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>If set to true, the entity is disabled for current user.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"If set to true, the entity is disabled for current user.",
        SerializedName = @"disabled",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Disabled { get; set; }
        /// <summary>If set to true, this entity and its child entities are excluded for auxcopy</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"If set to true, this entity and its child entities are excluded for auxcopy",
        SerializedName = @"exclude",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Exclude { get; set; }
        /// <summary>If set to true, this entity and its child entities are included for auxcopy</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"If set to true, this entity and its child entities are included for auxcopy",
        SerializedName = @"include",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Include { get; set; }

    }
    /// These flags are used to specify the type of association between the entity and the backupdestination.
    internal partial interface ISubclientAssociationFlagsInternal

    {
        /// <summary>If set to true, the entity is disabled for current user.</summary>
        bool? Disabled { get; set; }
        /// <summary>If set to true, this entity and its child entities are excluded for auxcopy</summary>
        bool? Exclude { get; set; }
        /// <summary>If set to true, this entity and its child entities are included for auxcopy</summary>
        bool? Include { get; set; }

    }
}