generated/api/Models/DistributedSystemSummary.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>This returns the distributed system summary.</summary> public partial class DistributedSystemSummary : Commvault.Powershell.Models.IDistributedSystemSummary, Commvault.Powershell.Models.IDistributedSystemSummaryInternal { /// <summary>Backing field for <see cref="Components" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IDistributedSystemComponent> _components; /// <summary>Provides a list of components of a distributed system.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IDistributedSystemComponent> Components { get => this._components; set => this._components = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>This gives the id of the distributed system.</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>This give the name of the distributed system.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="DistributedSystemSummary" /> instance.</summary> public DistributedSystemSummary() { } } /// This returns the distributed system summary. public partial interface IDistributedSystemSummary : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Provides a list of components of a distributed system.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Provides a list of components of a distributed system.", SerializedName = @"components", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDistributedSystemComponent) })] System.Collections.Generic.List<Commvault.Powershell.Models.IDistributedSystemComponent> Components { get; set; } /// <summary>This gives the id of the distributed system.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This gives the id of the distributed system.", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>This give the name of the distributed system.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This give the name of the distributed system.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } /// This returns the distributed system summary. internal partial interface IDistributedSystemSummaryInternal { /// <summary>Provides a list of components of a distributed system.</summary> System.Collections.Generic.List<Commvault.Powershell.Models.IDistributedSystemComponent> Components { get; set; } /// <summary>This gives the id of the distributed system.</summary> long? Id { get; set; } /// <summary>This give the name of the distributed system.</summary> string Name { get; set; } } } |