generated/api/Models/CompanyInfo.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415) // 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>companyInfo</summary> public partial class CompanyInfo : Commvault.Powershell.Models.ICompanyInfo, Commvault.Powershell.Models.ICompanyInfoInternal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>Id of company</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="MultiCommcellId" /> property.</summary> private long? _multiCommcellId; /// <summary>Multi Commcell Id of company</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MultiCommcellId { get => this._multiCommcellId; set => this._multiCommcellId = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of company</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="CompanyInfo" /> instance.</summary> public CompanyInfo() { } } /// companyInfo public partial interface ICompanyInfo : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Id of company</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Id of company", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Multi Commcell Id of company</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Multi Commcell Id of company", SerializedName = @"multiCommcellId", PossibleTypes = new [] { typeof(long) })] long? MultiCommcellId { get; set; } /// <summary>Name of company</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Name of company", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } /// companyInfo internal partial interface ICompanyInfoInternal { /// <summary>Id of company</summary> long? Id { get; set; } /// <summary>Multi Commcell Id of company</summary> long? MultiCommcellId { get; set; } /// <summary>Name of company</summary> string Name { get; set; } } } |