generated/api/Models/SubclientAssociation.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>
    /// Parent entities must be specified for applications and lower entities. Hierarchy begins at the server or server group
    /// level(parentEntity1) and extends till backupset level when defining parent relationships for the associated entity.
    /// Example of parent hierarchy structure for subclient entity:
    /// 1. Server group - Server - Application - Instance - Backupset
    /// 2. Server - Application - Instance - Backupset
    /// </summary>
    public partial class SubclientAssociation :
        Commvault.Powershell.Models.ISubclientAssociation,
        Commvault.Powershell.Models.ISubclientAssociationInternal
    {

        /// <summary>Internal Acessors for Flags</summary>
        Commvault.Powershell.Models.ISubclientAssociationFlags Commvault.Powershell.Models.ISubclientAssociationInternal.Flags { get => (this._flags = this._flags ?? new Commvault.Powershell.Models.SubclientAssociationFlags()); set { {_flags = value;} } }

        /// <summary>Internal Acessors for ParentEntity1</summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity Commvault.Powershell.Models.ISubclientAssociationInternal.ParentEntity1 { get => (this._parentEntity1 = this._parentEntity1 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set { {_parentEntity1 = value;} } }

        /// <summary>Internal Acessors for ParentEntity2</summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity Commvault.Powershell.Models.ISubclientAssociationInternal.ParentEntity2 { get => (this._parentEntity2 = this._parentEntity2 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set { {_parentEntity2 = value;} } }

        /// <summary>Internal Acessors for ParentEntity3</summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity Commvault.Powershell.Models.ISubclientAssociationInternal.ParentEntity3 { get => (this._parentEntity3 = this._parentEntity3 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set { {_parentEntity3 = value;} } }

        /// <summary>Internal Acessors for ParentEntity4</summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity Commvault.Powershell.Models.ISubclientAssociationInternal.ParentEntity4 { get => (this._parentEntity4 = this._parentEntity4 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set { {_parentEntity4 = value;} } }

        /// <summary>Internal Acessors for ParentEntity5</summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity Commvault.Powershell.Models.ISubclientAssociationInternal.ParentEntity5 { get => (this._parentEntity5 = this._parentEntity5 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set { {_parentEntity5 = value;} } }

        /// <summary>If set to true, the entity is disabled for current user.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public bool? FlagDisabled { get => ((Commvault.Powershell.Models.ISubclientAssociationFlagsInternal)Flags).Disabled; set => ((Commvault.Powershell.Models.ISubclientAssociationFlagsInternal)Flags).Disabled = value ?? default(bool); }

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

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

        /// <summary>Backing field for <see cref="Flags" /> property.</summary>
        private Commvault.Powershell.Models.ISubclientAssociationFlags _flags;

        /// <summary>
        /// These flags are used to specify the type of association between the entity and the backupdestination.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.ISubclientAssociationFlags Flags { get => (this._flags = this._flags ?? new Commvault.Powershell.Models.SubclientAssociationFlags()); set => this._flags = value; }

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

        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Id { get => this._id; set => this._id = value; }

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

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

        /// <summary>Backing field for <see cref="ParentEntity1" /> property.</summary>
        private Commvault.Powershell.Models.ISubclientAssocParentEntity _parentEntity1;

        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity1 { get => (this._parentEntity1 = this._parentEntity1 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set => this._parentEntity1 = value; }

        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? ParentEntity1Id { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity1).Id; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity1).Id = value ?? default(long); }

        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity1Name { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity1).Name; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity1).Name = value ?? null; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity1Type { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity1).Type; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity1).Type = value ?? null; }

        /// <summary>Backing field for <see cref="ParentEntity2" /> property.</summary>
        private Commvault.Powershell.Models.ISubclientAssocParentEntity _parentEntity2;

        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity2 { get => (this._parentEntity2 = this._parentEntity2 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set => this._parentEntity2 = value; }

        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? ParentEntity2Id { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity2).Id; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity2).Id = value ?? default(long); }

        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity2Name { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity2).Name; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity2).Name = value ?? null; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity2Type { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity2).Type; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity2).Type = value ?? null; }

        /// <summary>Backing field for <see cref="ParentEntity3" /> property.</summary>
        private Commvault.Powershell.Models.ISubclientAssocParentEntity _parentEntity3;

        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity3 { get => (this._parentEntity3 = this._parentEntity3 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set => this._parentEntity3 = value; }

        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? ParentEntity3Id { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity3).Id; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity3).Id = value ?? default(long); }

        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity3Name { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity3).Name; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity3).Name = value ?? null; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity3Type { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity3).Type; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity3).Type = value ?? null; }

        /// <summary>Backing field for <see cref="ParentEntity4" /> property.</summary>
        private Commvault.Powershell.Models.ISubclientAssocParentEntity _parentEntity4;

        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity4 { get => (this._parentEntity4 = this._parentEntity4 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set => this._parentEntity4 = value; }

        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? ParentEntity4Id { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity4).Id; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity4).Id = value ?? default(long); }

        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity4Name { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity4).Name; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity4).Name = value ?? null; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity4Type { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity4).Type; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity4).Type = value ?? null; }

        /// <summary>Backing field for <see cref="ParentEntity5" /> property.</summary>
        private Commvault.Powershell.Models.ISubclientAssocParentEntity _parentEntity5;

        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity5 { get => (this._parentEntity5 = this._parentEntity5 ?? new Commvault.Powershell.Models.SubclientAssocParentEntity()); set => this._parentEntity5 = value; }

        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? ParentEntity5Id { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity5).Id; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity5).Id = value ?? default(long); }

        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity5Name { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity5).Name; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity5).Name = value ?? null; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ParentEntity5Type { get => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity5).Type; set => ((Commvault.Powershell.Models.ISubclientAssocParentEntityInternal)ParentEntity5).Type = value ?? null; }

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

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

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

        }
    }
    /// Parent entities must be specified for applications and lower entities. Hierarchy begins at the server or server group
    /// level(parentEntity1) and extends till backupset level when defining parent relationships for the associated entity.
    /// Example of parent hierarchy structure for subclient entity:
    /// 1. Server group - Server - Application - Instance - Backupset
    /// 2. Server - Application - Instance - Backupset
    public partial interface ISubclientAssociation :
        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? FlagDisabled { 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? FlagExclude { 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? FlagInclude { get; set; }
        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"id of the associated entity",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"name of the associated entity",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"id of the associated entity",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? ParentEntity1Id { get; set; }
        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"name of the associated entity",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity1Name { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity1Type { get; set; }
        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"id of the associated entity",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? ParentEntity2Id { get; set; }
        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"name of the associated entity",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity2Name { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity2Type { get; set; }
        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"id of the associated entity",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? ParentEntity3Id { get; set; }
        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"name of the associated entity",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity3Name { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity3Type { get; set; }
        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"id of the associated entity",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? ParentEntity4Id { get; set; }
        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"name of the associated entity",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity4Name { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity4Type { get; set; }
        /// <summary>id of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"id of the associated entity",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? ParentEntity5Id { get; set; }
        /// <summary>name of the associated entity</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"name of the associated entity",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity5Name { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string ParentEntity5Type { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string Type { get; set; }

    }
    /// Parent entities must be specified for applications and lower entities. Hierarchy begins at the server or server group
    /// level(parentEntity1) and extends till backupset level when defining parent relationships for the associated entity.
    /// Example of parent hierarchy structure for subclient entity:
    /// 1. Server group - Server - Application - Instance - Backupset
    /// 2. Server - Application - Instance - Backupset
    internal partial interface ISubclientAssociationInternal

    {
        /// <summary>If set to true, the entity is disabled for current user.</summary>
        bool? FlagDisabled { get; set; }
        /// <summary>If set to true, this entity and its child entities are excluded for auxcopy</summary>
        bool? FlagExclude { get; set; }
        /// <summary>If set to true, this entity and its child entities are included for auxcopy</summary>
        bool? FlagInclude { get; set; }
        /// <summary>
        /// These flags are used to specify the type of association between the entity and the backupdestination.
        /// </summary>
        Commvault.Powershell.Models.ISubclientAssociationFlags Flags { get; set; }
        /// <summary>id of the associated entity</summary>
        long? Id { get; set; }
        /// <summary>name of the associated entity</summary>
        string Name { get; set; }
        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity1 { get; set; }
        /// <summary>id of the associated entity</summary>
        long? ParentEntity1Id { get; set; }
        /// <summary>name of the associated entity</summary>
        string ParentEntity1Name { get; set; }

        string ParentEntity1Type { get; set; }
        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity2 { get; set; }
        /// <summary>id of the associated entity</summary>
        long? ParentEntity2Id { get; set; }
        /// <summary>name of the associated entity</summary>
        string ParentEntity2Name { get; set; }

        string ParentEntity2Type { get; set; }
        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity3 { get; set; }
        /// <summary>id of the associated entity</summary>
        long? ParentEntity3Id { get; set; }
        /// <summary>name of the associated entity</summary>
        string ParentEntity3Name { get; set; }

        string ParentEntity3Type { get; set; }
        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity4 { get; set; }
        /// <summary>id of the associated entity</summary>
        long? ParentEntity4Id { get; set; }
        /// <summary>name of the associated entity</summary>
        string ParentEntity4Name { get; set; }

        string ParentEntity4Type { get; set; }
        /// <summary>
        /// parentEntity1 can start from SERVER_ENTITY or SERVER_GROUP_ENTITY and subsequentily ending up at parentEntity4 or parentEntity5
        /// with Backupset.
        /// </summary>
        Commvault.Powershell.Models.ISubclientAssocParentEntity ParentEntity5 { get; set; }
        /// <summary>id of the associated entity</summary>
        long? ParentEntity5Id { get; set; }
        /// <summary>name of the associated entity</summary>
        string ParentEntity5Name { get; set; }

        string ParentEntity5Type { get; set; }

        string Type { get; set; }

    }
}