generated/api/Models/ClientAssociationServerGroupContent.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>clientAssociationServerGroupContent</summary> public partial class ClientAssociationServerGroupContent : Commvault.Powershell.Models.IClientAssociationServerGroupContent, Commvault.Powershell.Models.IClientAssociationServerGroupContentInternal { /// <summary>Backing field for <see cref="AssociatedClient" /> property.</summary> private Commvault.Powershell.Models.IAssociatedClientId _associatedClient; /// <summary>associatedClientId</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IAssociatedClientId AssociatedClient { get => (this._associatedClient = this._associatedClient ?? new Commvault.Powershell.Models.AssociatedClientId()); set => this._associatedClient = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? AssociatedClientId { get => ((Commvault.Powershell.Models.IAssociatedClientIdInternal)AssociatedClient).ClientId; set => ((Commvault.Powershell.Models.IAssociatedClientIdInternal)AssociatedClient).ClientId = value ?? default(long); } /// <summary>Backing field for <see cref="AssociationRule" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> _associationRule; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> AssociationRule { get => this._associationRule; set => this._associationRule = value; } /// <summary>Internal Acessors for AssociatedClient</summary> Commvault.Powershell.Models.IAssociatedClientId Commvault.Powershell.Models.IClientAssociationServerGroupContentInternal.AssociatedClient { get => (this._associatedClient = this._associatedClient ?? new Commvault.Powershell.Models.AssociatedClientId()); set { {_associatedClient = value;} } } /// <summary>Creates an new <see cref="ClientAssociationServerGroupContent" /> instance.</summary> public ClientAssociationServerGroupContent() { } } /// clientAssociationServerGroupContent public partial interface IClientAssociationServerGroupContent : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"clientID", PossibleTypes = new [] { typeof(long) })] long? AssociatedClientId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"associationRule", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVirtualMachinecontent) })] System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> AssociationRule { get; set; } } /// clientAssociationServerGroupContent internal partial interface IClientAssociationServerGroupContentInternal { /// <summary>associatedClientId</summary> Commvault.Powershell.Models.IAssociatedClientId AssociatedClient { get; set; } long? AssociatedClientId { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IVirtualMachinecontent> AssociationRule { get; set; } } } |