generated/api/Models/CompanyListResponse.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>List of existing companies</summary> public partial class CompanyListResponse : Commvault.Powershell.Models.ICompanyListResponse, Commvault.Powershell.Models.ICompanyListResponseInternal { /// <summary>Backing field for <see cref="Companies" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ICompanySummary> _companies; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.ICompanySummary> Companies { get => this._companies; set => this._companies = value; } /// <summary>Backing field for <see cref="CompanyCount" /> property.</summary> private long? _companyCount; /// <summary>Total number of companies</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? CompanyCount { get => this._companyCount; set => this._companyCount = value; } /// <summary>Creates an new <see cref="CompanyListResponse" /> instance.</summary> public CompanyListResponse() { } } /// List of existing companies public partial interface ICompanyListResponse : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"companies", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ICompanySummary) })] System.Collections.Generic.List<Commvault.Powershell.Models.ICompanySummary> Companies { get; set; } /// <summary>Total number of companies</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Total number of companies", SerializedName = @"companyCount", PossibleTypes = new [] { typeof(long) })] long? CompanyCount { get; set; } } /// List of existing companies internal partial interface ICompanyListResponseInternal { System.Collections.Generic.List<Commvault.Powershell.Models.ICompanySummary> Companies { get; set; } /// <summary>Total number of companies</summary> long? CompanyCount { get; set; } } } |